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
whuie2
experiment-control
Commits
f178cb3c
Commit
f178cb3c
authored
Mar 21, 2022
by
camera computer
Browse files
vary parameters based on most recent free-space measurements
parent
0d5d14a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
daily_camera.py
View file @
f178cb3c
...
...
@@ -18,7 +18,7 @@ falc_config = dict(
# FLIR OPTIONS
flir_config
=
dict
(
exposure_time
=
5
00
,
# us
exposure_time
=
3
00
,
# us
gain
=
47.99
,
# dB
)
...
...
@@ -33,7 +33,7 @@ flir_config = dict(
# add a comment for any literal numbers used
## GLOBAL PARAMETERS
reps
=
1
# repeat shots for statistics
reps
=
5
# repeat shots for statistics
take_background
=
True
# include a background shot in frame capture
flir_prerelease
=
True
# use the Flir to take a pre-release image
probe_image
=
True
# use the probe beams for recapture imaging, else CMOT beams
...
...
@@ -41,24 +41,26 @@ probe_image = True # use the probe beams for recapture imaging, else CMOT beams
# CMOT AOM settings
f_freqpow
=
90.0
# start of frequency ramp; MHz
p_freqpow_end
=
0.0
# end of power ramp; dBm
p_image
=
2
0
.0
# power for imaging; dBm
p_image
=
2
3
.0
# power for imaging; dBm
# SCANNING PARAMETERS
NU_FREQPOW
=
3.75
+
np
.
arange
(
-
250e-3
,
+
251e-3
,
25e-3
)
# ^
NU_FREQPOW
=
np
.
linspace
(
3.3
,
3.775
,
20
)
# ^
DET_IMAGE
=
0.57
+
np
.
arange
(
-
2.0
,
+
2.0
,
150e-3
)
# ^
TAU_TOF
=
np
.
array
([
0.1e-3
,
0.5e-3
,
1.0e-3
,
2.0e-3
,
3.0e-3
,
4.0e-3
])
# ^
# TAU_TOF = np.array([0.1e-3])
# PARAMETERS
freespace_res
=
93.
95
# AOM RF equivalent to free-space resonance; MHz
nu_freqpow0
=
3.8
# extent of CMOT frequency ramp; MHz
det_image0
=
0.5
7
# detuning for imaging rel. to AOM-fiber optimal 93.5; MHz
freespace_res
=
93.
68
# AOM RF equivalent to free-space resonance; MHz
nu_freqpow0
=
3.
5
8
# extent of CMOT frequency ramp; MHz
det_image0
=
0.
4
5
# detuning for imaging rel. to AOM-fiber optimal 93.5; MHz
tau_tof0
=
1.5e-3
# time of flight; s
aom_fiber_optim
=
93.5
# RF frequency used for AOM+fiber optimization
f_image0
=
f_freqpow
+
nu_freqpow0
# (nominal) CMOT final AOM frequency; MHz
f_image0
=
f_freqpow
+
nu_freqpow0
# (nominal) CMOT beam imaging frequency; MHz
# f_image0 = aom_fiber_optim + det_image0 # (nominal) probe beam imaging frequency; MHz
dailies_config
=
dict
(
cavity_rf
=
73.10
,
probe_image
=
probe_image
,
f_image
=
f_image0
,
CMOT_freq
=
f_image0
,
CMOT_pow
=
p_freqpow_end
,
nu_freqpow
=
nu_freqpow0
,
...
...
@@ -142,7 +144,7 @@ class DailyMeasurement(Controller):
+
int
(
take_background
)
),
timeout
=
10
,
# s
roi
=
[
83
4
,
64
6
,
40
,
40
]
# [826, 590, 340, 340]
roi
=
[
83
5
,
64
7
,
40
,
40
]
# [826, 590, 340, 340]
)
self
.
cam
.
disconnect
()
...
...
@@ -224,10 +226,10 @@ class DailyMeasurement(Controller):
size_fit
=
True
,
subtract_bkgd
=
take_background
,
debug
=
True
,
mot_number_params
=
{
# for p
re
-release image
# from measurement on 0
2
.21.22
"intensity_parameter"
:
2.0
*
3.5
5
*
10
**
(
p_freqpow_end
/
10.0
),
#
from measurement on 02.15.22
mot_number_params
=
{
# for p
ost
-release image
# from measurement on 0
3
.21.22
"intensity_parameter"
:
2.0
*
17.2
5
*
10
**
(
p_freqpow_end
/
10.0
),
# CMOT beams
#
"intensity_parameter": 2.0 * 129.14 * 10**((p_image - 23.0) / 10.0), # probe beams
"detuning"
:
abs
(
f_image0
-
freespace_res
)
*
1e6
*
2.0
*
np
.
pi
,
},
N_det_peaks
=
4
,
...
...
narrow_cooling_tweezer_align_camera.py
View file @
f178cb3c
...
...
@@ -39,15 +39,19 @@ camera_config = {
reps
=
10
# repeat shots for statistics
take_background
=
True
# include a background image
flir_two_shots
=
True
# use the Flir to take two shots
cmot_aom_freq
=
93.
6
# MHz
cmot_aom_freq
=
93.
58
# MHz
p_probe
=
0.0
# power in probe beam AOMs; dBm
## SCANNING PARAMETERS
SHIMS_FB
=
np
.
linspace
(
1.210
,
1.210
,
1
)
# Front/Back shim scans: 1.22; +1.2 for 174
SHIMS_LR
=
np
.
linspace
(
-
0.18
,
-
0.18
,
1
)
# Left/Right shim scans: 0.20; -0.2 for 174
SHIMS_UD
=
np
.
linspace
(
0.560
,
0.560
,
1
)
# Up/Down shim scans: 0.57; +0.4 for 174
SHIMS_FB
=
np
.
linspace
(
1.275
,
1.275
,
1
)
# Front/Back shim scans: 1.22; +1.2 for 174
SHIMS_LR
=
np
.
linspace
(
-
0.22
,
-
0.22
,
1
)
# Left/Right shim scans: 0.20; -0.2 for 174
# SHIMS_LR = np.append(
# np.linspace(-0.30, -0.12, 5),
# np.linspace(+0.12, +0.30, 5),
# )
SHIMS_UD
=
np
.
linspace
(
0.565
,
0.565
,
1
)
# Up/Down shim scans: 0.57; +0.4 for 174
DET_MOT
=
np
.
linspace
(
0e-3
,
0e-3
,
1
)
# green MOT detuning for tweezer loading (rel. to CMOT); MHz
DET_PROBE
=
4.07
+
np
.
linspace
(
-
0.
1
,
-
0.
1
,
1
)
# probe beam or detuning for imaging (rel. to AOM 90.0); MHz
DET_PROBE
=
3.58
+
np
.
linspace
(
0.
0
,
0.
0
,
1
)
# probe beam or detuning for imaging (rel. to AOM 90.0); MHz
# SCRIPT CONTROLLER
class
NarrowCoolingTweezerAlignmentCamera
(
Controller
):
...
...
@@ -76,7 +80,7 @@ class NarrowCoolingTweezerAlignmentCamera(Controller):
+
int
(
take_background
)
),
timeout
=
10
,
# s
roi
=
[
83
4
,
64
6
,
40
,
40
]
#[968, 737, 40, 40]
roi
=
[
83
5
,
64
7
,
40
,
40
]
#[968, 737, 40, 40]
)
# might be important to disconnect in the action rather than postcmd
# due to possible bad sharing of resources between threads
...
...
@@ -128,12 +132,12 @@ class NarrowCoolingTweezerAlignmentCamera(Controller):
size_fit
=
False
,
subtract_bkgd
=
True
,
debug
=
False
,
mot_number_params
=
{
# from measurement on 0
2
.21.22
"intensity_parameter"
:
2
*
3.5
5
*
10
**
(
p_
probe
/
10
),
#
from measurement on 02.15.22
"detuning"
:
abs
(
cmot_aom_freq
-
94.07
)
*
1e6
*
2
*
np
.
pi
,
}
mot_number_params
=
{
# for post-release image
# from measurement on 0
3
.21.22
"intensity_parameter"
:
2
.0
*
17.2
5
*
10
**
(
p_
freqpow_end
/
10.0
),
# CMOT beams
#
"intensity_parameter": 2.0 * 129.14 * 10**((p_image - 23.0) / 10.0), # probe beams
"detuning"
:
abs
(
f_image0
-
freespace_res
)
*
1e6
*
2
.0
*
np
.
pi
,
}
,
)
data
.
save
(
arrays
=
True
)
# data.render_arrays()
...
...
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