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
9fced6ce
Commit
9fced6ce
authored
Sep 03, 2018
by
Yan
Browse files
Mass selector does not perform indefinite zoom
parent
2b8cfd90
Changes
1
Hide whitespace changes
Inline
Side-by-side
prasopes/__main__.py
View file @
9fced6ce
...
...
@@ -57,9 +57,9 @@ def main():
gt
.
zoom_factory
(
spectrum
,
1.15
,
ms
)
mass_selector
=
SpanSelector
(
spectrum
,
lambda
x_min
,
x_max
:
gt
.
pick_masses
(
x_min
,
x_max
,
spectrum
,
ms
),
'horizontal'
,
useblit
=
True
,
rectprops
=
dict
(
alpha
=
0.15
,
facecolor
=
'purple'
),
button
=
3
)
x_min
,
x_max
,
spectrum
,
ms
),
'horizontal'
,
minspan
=
0.01
,
useblit
=
True
,
rectprops
=
dict
(
alpha
=
0.15
,
facecolor
=
'purple'
),
button
=
3
)
time_selector
=
SpanSelector
(
chromatogram
,
lambda
x_min
,
x_max
:
gt
.
pick_times
(
x_min
,
x_max
,
spectrum
,
ds
,
chromatogram
,
ms
,
chrom
),
...
...
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