Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LISA Instrument
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LISA Simulation
LISA Instrument
Commits
d162498d
Commit
d162498d
authored
2 years ago
by
Jan Niklas Reinhardt
Committed by
Jean-Baptiste Bayle
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Correct TDIR tone and tps_mprs and adjust namings
parent
1390b1fe
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!141
Resolve "Missing TPS deviations from TPS in the TCB timer deviations"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lisainstrument/instrument.py
+12
-17
12 additions, 17 deletions
lisainstrument/instrument.py
with
12 additions
and
17 deletions
lisainstrument/instrument.py
+
12
−
17
View file @
d162498d
...
...
@@ -919,7 +919,7 @@ class Instrument:
)
t
=
self
.
physics_et
self
.
the_wrt_tps
=
\
self
.
the_wrt_tps
_local
=
\
self
.
clock_offsets
\
+
self
.
clock_freqoffsets
*
t
\
+
self
.
clock_freqlindrifts
*
t
**
2
/
2
\
...
...
@@ -927,7 +927,7 @@ class Instrument:
+
self
.
integrated_clock_noise_fluctuations
t
=
self
.
physics_et_withinitial
self
.
the_wrt_tcb_
local_
withinitial
=
\
self
.
the_wrt_tcb_withinitial
=
\
self
.
tps_wrt_tcb
\
+
self
.
clock_offsets
\
+
ForEachSC
(
lambda
sc
:
...
...
@@ -938,14 +938,10 @@ class Instrument:
+
self
.
tps_wrt_tcb
*
self
.
clock_noise_fluctuations_withinitial
\
+
self
.
integrated_clock_noise_fluctuations_withinitial
self
.
the_wrt_tcb_local
=
self
.
the_wrt_tcb_local_withinitial
.
transformed
(
lambda
_
,
x
:
x
if
np
.
isscalar
(
x
)
else
x
[
self
.
initial_telemetry_physics_size
:]
)
logger
.
debug
(
"
Computing MOC time correlations
"
)
physics_to_telemetry
=
lambda
_
,
x
:
x
[::
self
.
physics_upsampling
*
self
.
telemetry_downsampling
]
self
.
moc_time_correlations
=
self
.
tcb_sync_noises
\
+
self
.
the_wrt_tcb_
local_
withinitial
.
transformed
(
physics_to_telemetry
)
+
self
.
the_wrt_tcb_withinitial
.
transformed
(
physics_to_telemetry
)
## TDIR tone
...
...
@@ -953,7 +949,7 @@ class Instrument:
0
if
self
.
tdir_tone_amplitudes
[
mosa
]
==
0
\
else
self
.
tdir_tone_amplitudes
[
mosa
]
*
np
.
sin
(
2
*
np
.
pi
*
self
.
tdir_tone_frequencies
[
mosa
]
*
(
self
.
physics_et
+
self
.
the_wrt_t
cb
_local
[
mosa
[
0
]])
*
(
self
.
physics_et
+
self
.
the_wrt_t
ps
_local
[
mosa
[
0
]])
+
self
.
tdir_tone_initial_phases
[
mosa
]
)
)
...
...
@@ -1014,9 +1010,9 @@ class Instrument:
-
(
self
.
central_freq
+
self
.
local_usb_offsets
)
*
self
.
gws
\
-
(
self
.
central_freq
+
self
.
local_usb_offsets
)
*
self
.
local_ttls
/
c
logger
.
debug
(
"
Propagating local THEs with respect to T
CB
to distant MOSAs
"
)
self
.
the_wrt_t
cb
_distant
=
\
self
.
the_wrt_t
cb
_local
.
for_each_mosa
().
distant
()
\
logger
.
debug
(
"
Propagating local THEs with respect to T
PS
to distant MOSAs
"
)
self
.
the_wrt_t
ps
_distant
=
\
self
.
the_wrt_t
ps
_local
.
for_each_mosa
().
distant
()
\
.
transformed
(
lambda
mosa
,
x
:
self
.
interpolate
(
x
,
-
self
.
pprs
[
mosa
])
-
self
.
pprs
[
mosa
]
)
...
...
@@ -1104,7 +1100,7 @@ class Instrument:
## Measured pseudo-ranging on TPS grid (high-frequency)
logger
.
info
(
"
Computing measured pseudo-ranges on TPS
"
)
self
.
tps_mprs
=
self
.
the_wrt_t
cb
_local
-
self
.
the_wrt_t
cb
_distant
\
self
.
tps_mprs
=
self
.
the_wrt_t
ps
_local
-
self
.
the_wrt_t
ps
_distant
\
+
self
.
ranging_noises
...
...
@@ -1225,7 +1221,7 @@ class Instrument:
## Sampling beatnotes, DWS measurements, and measured pseudo-ranges to THE grid
logger
.
info
(
"
Inverting THEs with respect to TPS
"
)
self
.
inverse_the_wrt_tps
=
self
.
the_wrt_tps
\
self
.
inverse_the_wrt_tps
=
self
.
the_wrt_tps
_local
\
.
transformed
(
lambda
sc
,
x
:
self
.
invert_timer_deviations
(
x
,
sc
))
self
.
timestamped
=
\
...
...
@@ -1928,8 +1924,7 @@ class Instrument:
self
.
local_usb_fluctuations
.
write
(
hdf5
,
'
local_usb_fluctuations
'
)
logger
.
debug
(
"
Writing local timer deviations to
'
%s
'"
,
output
)
self
.
the_wrt_tcb_local
.
write
(
hdf5
,
'
the_wrt_tcb_local
'
)
self
.
the_wrt_tcb_local_withinitial
.
write
(
hdf5
,
'
the_wrt_tcb_local_withinitial
'
)
self
.
the_wrt_tcb_withinitial
.
write
(
hdf5
,
'
the_wrt_tcb_withinitial
'
)
logger
.
debug
(
"
Writing tilt-to-length couplings to
'
%s
'"
,
output
)
self
.
local_ttls
.
write
(
hdf5
,
'
local_ttls
'
)
...
...
@@ -1941,8 +1936,8 @@ class Instrument:
self
.
distant_usb_offsets
.
write
(
hdf5
,
'
distant_usb_offsets
'
)
self
.
distant_usb_fluctuations
.
write
(
hdf5
,
'
distant_usb_fluctuations
'
)
logger
.
debug
(
"
Writing propagated
timer deviations
to
'
%s
'"
,
output
)
self
.
the_wrt_t
cb
_distant
.
write
(
hdf5
,
'
the_wrt_tcb_distant
'
)
logger
.
debug
(
"
Writing propagated
THEs with respect to TCB
to
'
%s
'"
,
output
)
self
.
the_wrt_t
ps
_distant
.
write
(
hdf5
,
'
the_wrt_tcb_distant
'
)
logger
.
debug
(
"
Writing propagated adjacent beams to
'
%s
'"
,
output
)
self
.
adjacent_carrier_offsets
.
write
(
hdf5
,
'
adjacent_carrier_offsets
'
)
...
...
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