Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jan Zelenka
prasopes
Commits
4e944fed
Commit
4e944fed
authored
Jul 17, 2019
by
Yan
Browse files
Fixed zcetools
* zcetools got broken by previous commits to graphtools, fixed it.
parent
25b3c1ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
prasopes/zcetools.py
View file @
4e944fed
...
...
@@ -33,7 +33,7 @@ def pop_dial(zcespec, gradspect, data_set, coff_d, grad_d,
zcespec
.
axhline
(
0
,
color
=
"#0000FF88"
,
linestyle
=
":"
)
gt
.
pop_plot
(
zcespec
,
coff_d
)
gt
.
pop_plot
(
gradspect
,
grad_d
)
grad
_d
[
'line'
][
0
].
set_color
(
"red"
)
grad
spect
.
lines
[
-
1
].
set_color
(
"red"
)
gradspect
.
set_ylim
(
bottom
=
gradspect
.
get_ylim
()[
1
]
*
-
0.1
)
zcespec
.
set_title
(
"COFF"
,
loc
=
"center"
)
...
...
@@ -117,9 +117,9 @@ def print_graph(ds, coff, coffgrad, filename):
def
dialog
(
parent
,
ds
,
filename
,
update_signal
):
coff
=
dict
(
x
=
[
0
],
y
=
[
0
],
line
=
None
,
name
=
""
,
coff
=
dict
(
x
=
[
0
],
y
=
[
0
],
name
=
""
,
xlabel
=
"Voltage (V)"
,
ylabel
=
"ion count"
)
coffgrad
=
dict
(
x
=
[
0
],
y
=
[
0
],
c_ymin
=-
0.1
,
line
=
None
,
name
=
""
,
coffgrad
=
dict
(
x
=
[
0
],
y
=
[
0
],
c_ymin
=-
0.1
,
name
=
""
,
xlabel
=
""
,
ylabel
=
"ion count gradient"
,
gmax
=
None
,
fwhm_x
=
None
,
fwhm_y
=
None
,
fwhm
=
None
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment