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
Tammo Jan Dijkema
HPIB
Commits
2cf6d04e
Commit
2cf6d04e
authored
Apr 25, 2018
by
Tammo Jan Dijkema
Browse files
Set LO to 1GHz upon stopping doppler correction
parent
0e987af7
Changes
1
Hide whitespace changes
Inline
Side-by-side
track_doppler.py
View file @
2cf6d04e
...
...
@@ -43,7 +43,8 @@ def track_doppler(lo=None, dt=None,
doppler_function
=
doppler_harm_bl
,
exit_event
=
None
,
timeout
=
0.5
):
"""Sets the Local Oscillator to a frequency to correct for Doppler shift
"""Sets the Local Oscillator to a frequency to correct for Doppler shift. When exit event is
set, return the LO frequency to 1GHz.
Args:
lo (LocalOscillator): the local oscillator of which the frequency will be set.
...
...
@@ -73,3 +74,4 @@ def track_doppler(lo=None, dt=None,
dfreq
=
1
*
u
.
GHz
+
tracking_frequency
-
freq_doppler
lo
.
frequency
=
dfreq
exit_event
.
wait
(
timeout
=
timeout
)
lo
.
frequency
=
1
*
u
.
GHz
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