Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cs
ds
felmaster
Commits
06987379
Commit
06987379
authored
Feb 25, 2021
by
Claudio Scafuri
💬
Browse files
#13746 : new OPA2 delay calibration table
parent
457c725c
Changes
2
Hide whitespace changes
Inline
Side-by-side
etc/fel02/Relative_delay_240-265nm-OPA2-v2.txt
0 → 100644
View file @
06987379
240 0.001
241 0.022
242 0.046
243 0.075
244 0.107
245 0.147
246 0.189
247 0.236
248 0.287
249 0.343
250 0.404
251 0.470
252 0.540
253 0.615
254 0.694
255 0.779
256 0.868
257 0.962
258 1.061
259 1.165
260 1.274
261 1.388
262 1.507
263 1.631
264 1.760
265 1.894
test/testdelaycomp.py
View file @
06987379
...
...
@@ -10,7 +10,7 @@ import delay_shifter_calc
class
Test
(
unittest
.
TestCase
):
def
setUp
(
self
):
self
.
opa
=
delay_shifter_calc
.
delay_shifter_calc
(
'../etc/fel0
1
/Relative_delay_
300_365-FEL01
.txt'
)
self
.
opa
=
delay_shifter_calc
.
delay_shifter_calc
(
'../etc/fel0
2
/Relative_delay_
240-265nm-OPA2-v2
.txt'
)
def
tearDown
(
self
):
pass
...
...
@@ -19,14 +19,14 @@ class Test(unittest.TestCase):
pass
def
test_value
(
self
):
l1
=
31
0
l2
=
35
0
l1
=
25
0
l2
=
26
0
print
(
'delta ps:'
,
self
.
opa
.
get_compensation_delay
(
l1
,
l2
))
print
(
'delta ps:'
,
self
.
opa
.
get_compensation_delay
(
l2
,
l1
))
def
testFwl
(
self
):
l1
=
30
0.1
l2
=
310
.0
l1
=
26
0.1
l2
=
255
.0
print
(
'Fwl delta ps:'
,
self
.
opa
.
get_compensation_delay
(
l1
,
l2
))
print
(
'Fwl delta ps:'
,
self
.
opa
.
get_compensation_delay
(
l2
,
l1
))
...
...
Write
Preview
Markdown
is supported
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