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
Michael Wedel
wfm_stitching
Commits
c959b978
Commit
c959b978
authored
Jan 31, 2019
by
Neil Vaytet
Browse files
Missing negative sign in relative shifts!
parent
9e71964b
Changes
1
Hide whitespace changes
Inline
Side-by-side
wfm_stitching/wfm_processing.py
View file @
c959b978
...
...
@@ -62,9 +62,9 @@ def get_frame_shifts(frequency_wfm_psc=None):
relative_shifts
=
(
_tof_shifts
(
_wfm_psc_1
(),
psc_frequency
=
frequ1
)
+
\
_tof_shifts
(
_wfm_psc_2
(),
psc_frequency
=
frequ2
))
*
\
5.0e+05
5.0e+05
# factor of 0.5 * 1.0e6 (taking mean and converting to microseconds)
return
relative_shifts
return
-
relative_shifts
def
make_frame_shifts
(
initial_shift
,
other_shifts
=
(
-
2420
,
-
2253
,
-
2095
,
-
1946
,
-
1810
)):
"""
...
...
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