Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
experiment-control
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
whuie2
experiment-control
Commits
1c3836a2
Commit
1c3836a2
authored
1 year ago
by
Yb Tweezer
Committed by
whooie
10 months ago
Browse files
Options
Downloads
Patches
Plain Diff
add axial cooling via kill block
parent
47340d1a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/system.py
+18
-6
18 additions, 6 deletions
lib/system.py
main.py
+283
-52
283 additions, 52 deletions
main.py
with
301 additions
and
58 deletions
lib/system.py
+
18
−
6
View file @
1c3836a2
...
...
@@ -124,11 +124,11 @@ CONNECTIONS = ConnectionLayout(
# qinit_green_aom_fm = Analog(11, +1.0, delay=0.0),
# probe double pass
probe_green_aom
=
Digital
(
0
,
11
,
1
,
delay_up
=
0.0
,
delay_down
=
0.0
),
probe_green_aom_am
=
Analog
(
5
,
0.125
,
delay
=
0.0
),
probe_green_aom_fm
=
Analog
(
6
,
0.0
2
,
delay
=
0.0
),
probe_green_servo
=
Digital
(
0
,
22
,
0
,
delay_up
=
0.0
,
delay_down
=
0.0
),
probe_green_sh_2
=
Digital
(
1
,
0
,
0
,
delay_up
=
5e-3
,
delay_down
=
1.5e-3
),
probe_green_aom
=
Digital
(
0
,
11
,
1
,
delay_up
=
0.0
,
delay_down
=
0.0
),
probe_green_aom_am
=
Analog
(
5
,
0.125
,
delay
=
0.0
),
probe_green_aom_fm
=
Analog
(
14
,
0.0
00
,
delay
=
0.0
),
probe_green_servo
=
Digital
(
0
,
22
,
0
,
delay_up
=
0.0
,
delay_down
=
0.0
),
probe_green_sh_2
=
Digital
(
1
,
0
,
0
,
delay_up
=
5e-3
,
delay_down
=
1.5e-3
),
# moglabs OP AOM #1
qinit_green_aom_0
=
Digital
(
1
,
2
,
0
,
delay_up
=
0.0
,
delay_down
=
0.0
),
...
...
@@ -147,7 +147,7 @@ CONNECTIONS = ConnectionLayout(
clock_aom_fm
=
Analog
(
13
,
0.0
,
delay
=
0.0
),
# tweezer_aod_am = Analog(9, +1.19, delay=0.0), # for 7x magnification
tweezer_aod_am
=
Analog
(
9
,
+
4.465
,
delay
=
0.0
),
# for 4x magnification
tweezer_aod_am
=
Analog
(
9
,
+
3.931
,
delay
=
0.0
),
# for 4x magnification
tweezer_aod_switch
=
Digital
(
1
,
6
,
1
,
delay_up
=
25e-9
,
delay_down
=
25e-9
),
# tweezer_aod_am = Analog(9, +3.795, delay=0.0), # for 2x magnification
# tweezer_aod_am = Analog(9, +2.004, delay=0.0), # for [100, 102.5, 105, 107.5, 110] MHz array (7x mag)
...
...
@@ -462,6 +462,18 @@ def PROBE_GREEN_AOM_AM(s: float, warn_only: bool=False) -> float:
# raise Exception(f"PROBE_GREEN_AOM_AM: saturation parameter {s:g} too high at frequency {f:g}")
return
v
def
PROBE_GREEN_AOM_FM
(
f
:
float
)
->
float
:
f0
=
80.0
order
=
-
1
fp
=
order
*
f
/
2
-
f0
if
abs
(
fp
>
6.0
):
raise
Exception
(
f
"
PROBE_GREEN_AOM_FM: frequency
{
f
:
g
}
out of range
"
)
# measured on 2023.09.22
a
=
0.75820
b
=
-
0.08133
v
=
(
fp
-
b
)
/
a
return
v
def
AXIAL_GREEN_AOM_AMP_FREQ
(
f
:
float
)
->
float
:
# returns max optical power achievable at `f` in nW
A
=
67.0259184
# last measured 09.13.2022
...
...
This diff is collapsed.
Click to expand it.
main.py
+
283
−
52
View file @
1c3836a2
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment