Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
lhc-sm-api
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LHCData
lhc-sm-api
Commits
48c49526
Commit
48c49526
authored
3 years ago
by
Michal Maciejewski
Browse files
Options
Downloads
Patches
Plain Diff
Changed the axis limit for plot_leads_voltage_zoom
parent
7656113f
No related branches found
Branches containing commit
Tags
1.4.105
Tags containing commit
No related merge requests found
Pipeline
#2353287
passed with warnings
3 years ago
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lhcsmapi/__init__.py
+1
-1
1 addition, 1 deletion
lhcsmapi/__init__.py
lhcsmapi/analysis/dfb/DfbAnalysis.py
+3
-2
3 additions, 2 deletions
lhcsmapi/analysis/dfb/DfbAnalysis.py
with
4 additions
and
3 deletions
lhcsmapi/__init__.py
+
1
−
1
View file @
48c49526
name
=
"
lhcsmapi
"
__version__
=
"
1.4.10
4
"
__version__
=
"
1.4.10
5
"
def
get_lhcsmapi_version
()
->
None
:
...
...
This diff is collapsed.
Click to expand it.
lhcsmapi/analysis/dfb/DfbAnalysis.py
+
3
−
2
View file @
48c49526
...
...
@@ -211,8 +211,8 @@ class DfbAnalysis(CircuitAnalysis):
@staticmethod
def
plot_leads_voltage_zoom
(
u_hts_dfs
:
List
[
pd
.
DataFrame
],
circuit_name
:
str
,
timestamp_fgc
:
int
,
timestamp_qps
:
int
,
timestamp_ee_odd
:
int
,
timestamp_ee_even
:
int
,
*
,
signal
=
'
U_HTS
'
)
->
None
:
timestamp_qps
:
int
,
timestamp_ee_odd
:
int
,
timestamp_ee_even
:
int
,
*
,
signal
=
'
U_HTS
'
,
value_range
=
(
-
0.001
,
0.001
)
)
->
None
:
"""
Method plotting a DFB voltage. In addition, the first QPS trigger, both EE triggers are indicated.
:param u_hts_dfs: list of DFB voltages
...
...
@@ -228,6 +228,7 @@ class DfbAnalysis(CircuitAnalysis):
title
=
'
%s, %s: %s(t)
'
%
(
Time
.
to_string_short
(
timestamp_fgc
),
circuit_name
,
signal
)
ax
=
PlotBuilder
().
with_signal
(
u_hts_dfs
,
grid
=
True
,
title
=
title
,
style
=
'
x-
'
)
\
.
with_xlim
((
-
1
,
2
)).
with_ylabel
(
ylabel
=
'
%s, [V]
'
%
signal
)
\
.
with_ylim
(
value_range
)
\
.
plot
(
show_plot
=
False
)
\
.
get_axes
()[
0
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment