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
Merge requests
!24
Use `transformed()` method to timestamp data
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Use `transformed()` method to timestamp data
rationalize-logging-in-simulate
into
master
Overview
0
Commits
1
Pipelines
5
Changes
1
Merged
Jean-Baptiste Bayle
requested to merge
rationalize-logging-in-simulate
into
master
4 years ago
Overview
0
Commits
1
Pipelines
5
Changes
1
Expand
0
0
Merge request reports
Compare
master
version 4
14e0bfa2
4 years ago
version 3
8f7f06da
4 years ago
version 2
6739f74b
4 years ago
version 1
c413d298
4 years ago
master (base)
and
latest version
latest version
b68f64f5
1 commit,
4 years ago
version 4
14e0bfa2
1 commit,
4 years ago
version 3
8f7f06da
1 commit,
4 years ago
version 2
6739f74b
1 commit,
4 years ago
version 1
c413d298
1 commit,
4 years ago
1 file
+
34
−
33
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
lisainstrument/instrument.py
+
34
−
33
Options
@@ -702,90 +702,91 @@ class Instrument:
@@ -702,90 +702,91 @@ class Instrument:
self
.
invert_timer_deviations
(
self
.
local_timer_deviations
[
sc
],
sc
)
self
.
invert_timer_deviations
(
self
.
local_timer_deviations
[
sc
],
sc
)
)
)
timestamp
=
lambda
x
,
sc
:
self
.
interpolate
(
x
,
-
self
.
inverse_timer_deviations
[
sc
]
*
self
.
physics_fs
)
self
.
timestamped
=
lambda
mosa
,
x
:
self
.
interpolate
(
x
,
-
self
.
inverse_timer_deviations
[
ForEachMOSA
.
sc
(
mosa
)]
*
self
.
physics_fs
)
logger
.
info
(
"
Sampling inter-spacecraft beatnotes to THE grid
"
)
logger
.
info
(
"
Sampling inter-spacecraft beatnotes to THE grid
"
)
logger
.
debug
(
"
Sampling inter-spacecraft carrier beatnote fluctuations to THE grid
"
)
logger
.
debug
(
"
Sampling inter-spacecraft carrier beatnote fluctuations to THE grid
"
)
self
.
the_isc_carrier_offsets
=
ForEachMOSA
(
lambda
mosa
:
self
.
the_isc_carrier_offsets
=
ForEachMOSA
(
lambda
mosa
:
timestamp
(
self
.
tps_isc_carrier_offsets
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
,
mosa
[
0
])
self
.
tps_isc_carrier_offsets
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
)
)
.
transformed
(
self
.
timestamped
)
logger
.
debug
(
"
Sampling inter-spacecraft carrier beatnote fluctuations to THE grid
"
)
logger
.
debug
(
"
Sampling inter-spacecraft carrier beatnote fluctuations to THE grid
"
)
self
.
the_isc_carrier_fluctuations
=
ForEachMOSA
(
lambda
mosa
:
self
.
the_isc_carrier_fluctuations
=
ForEachMOSA
(
lambda
mosa
:
timestamp
(
self
.
tps_isc_carrier_fluctuations
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
self
.
tps_isc_carrier_fluctuations
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
-
self
.
tps_isc_carrier_offsets
[
mosa
]
*
self
.
clock_noise_fluctuations
[
mosa
[
0
]]
-
self
.
tps_isc_carrier_offsets
[
mosa
]
*
self
.
clock_noise_fluctuations
[
mosa
[
0
]]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
**
2
,
mosa
[
0
])
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
**
2
)
)
.
transformed
(
self
.
timestamped
)
logging
.
debug
(
"
Sampling inter-spacecraft upper sideband beatnote offsets to THE grid
"
)
logging
.
debug
(
"
Sampling inter-spacecraft upper sideband beatnote offsets to THE grid
"
)
self
.
the_isc_usb_offsets
=
ForEachMOSA
(
lambda
mosa
:
self
.
the_isc_usb_offsets
=
ForEachMOSA
(
lambda
mosa
:
timestamp
(
self
.
tps_isc_usb_offsets
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
,
mosa
[
0
])
self
.
tps_isc_usb_offsets
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
)
)
.
transformed
(
self
.
timestamped
)
logger
.
debug
(
"
Sampling inter-spacecraft upper sideband beatnote fluctuations to THE grid
"
)
logger
.
debug
(
"
Sampling inter-spacecraft upper sideband beatnote fluctuations to THE grid
"
)
self
.
the_isc_usb_fluctuations
=
ForEachMOSA
(
lambda
mosa
:
self
.
the_isc_usb_fluctuations
=
ForEachMOSA
(
lambda
mosa
:
timestamp
(
self
.
tps_isc_usb_fluctuations
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
self
.
tps_isc_usb_fluctuations
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
-
self
.
tps_isc_usb_offsets
[
mosa
]
*
self
.
clock_noise_fluctuations
[
mosa
[
0
]]
-
self
.
tps_isc_usb_offsets
[
mosa
]
*
self
.
clock_noise_fluctuations
[
mosa
[
0
]]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
**
2
,
mosa
[
0
])
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
**
2
)
)
.
transformed
(
self
.
timestamped
)
logger
.
info
(
"
Sampling measured pseudo-ranges to THE grid
"
)
logger
.
info
(
"
Sampling measured pseudo-ranges to THE grid
"
)
self
.
the_mprs
=
ForEachMOSA
(
lambda
mosa
:
self
.
the_mprs
=
ForEachMOSA
(
lambda
mosa
:
timestamp
(
self
.
tps_mprs
[
mosa
]
,
mosa
[
0
])
self
.
tps_mprs
[
mosa
]
)
)
.
transformed
(
self
.
timestamped
)
logger
.
info
(
"
Sampling test-mass beatnotes to THE grid
"
)
logger
.
info
(
"
Sampling test-mass beatnotes to THE grid
"
)
logger
.
debug
(
"
Sampling test-mass carrier beatnote offsets to THE grid
"
)
logger
.
debug
(
"
Sampling test-mass carrier beatnote offsets to THE grid
"
)
self
.
the_tm_carrier_offsets
=
ForEachMOSA
(
lambda
mosa
:
self
.
the_tm_carrier_offsets
=
ForEachMOSA
(
lambda
mosa
:
timestamp
(
self
.
tps_tm_carrier_offsets
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
,
mosa
[
0
])
self
.
tps_tm_carrier_offsets
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
)
)
.
transformed
(
self
.
timestamped
)
logger
.
debug
(
"
Sampling test-mass carrier beatnote fluctuations to THE grid
"
)
logger
.
debug
(
"
Sampling test-mass carrier beatnote fluctuations to THE grid
"
)
self
.
the_tm_carrier_fluctuations
=
ForEachMOSA
(
lambda
mosa
:
self
.
the_tm_carrier_fluctuations
=
ForEachMOSA
(
lambda
mosa
:
timestamp
(
self
.
tps_tm_carrier_fluctuations
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
self
.
tps_tm_carrier_fluctuations
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
-
self
.
tps_tm_carrier_offsets
[
mosa
]
*
self
.
clock_noise_fluctuations
[
mosa
[
0
]]
-
self
.
tps_tm_carrier_offsets
[
mosa
]
*
self
.
clock_noise_fluctuations
[
mosa
[
0
]]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
**
2
,
mosa
[
0
])
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
**
2
)
)
.
transformed
(
self
.
timestamped
)
logger
.
debug
(
"
Sampling test-mass upper sideband beatnote offsets to THE grid
"
)
logger
.
debug
(
"
Sampling test-mass upper sideband beatnote offsets to THE grid
"
)
self
.
the_tm_usb_offsets
=
ForEachMOSA
(
lambda
mosa
:
self
.
the_tm_usb_offsets
=
ForEachMOSA
(
lambda
mosa
:
timestamp
(
self
.
tps_tm_usb_offsets
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
,
mosa
[
0
])
self
.
tps_tm_usb_offsets
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
)
)
.
transformed
(
self
.
timestamped
)
logging
.
debug
(
"
Sampling test-mass upper sideband beatnote fluctuations to THE grid
"
)
logging
.
debug
(
"
Sampling test-mass upper sideband beatnote fluctuations to THE grid
"
)
self
.
the_tm_usb_fluctuations
=
ForEachMOSA
(
lambda
mosa
:
self
.
the_tm_usb_fluctuations
=
ForEachMOSA
(
lambda
mosa
:
timestamp
(
self
.
tps_tm_usb_fluctuations
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
self
.
tps_tm_usb_fluctuations
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
-
self
.
tps_tm_usb_offsets
[
mosa
]
*
self
.
clock_noise_fluctuations
[
mosa
[
0
]]
-
self
.
tps_tm_usb_offsets
[
mosa
]
*
self
.
clock_noise_fluctuations
[
mosa
[
0
]]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
**
2
,
mosa
[
0
])
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
**
2
)
)
.
transformed
(
self
.
timestamped
)
logger
.
info
(
"
Sampling reference beatnotes to THE grid
"
)
logger
.
info
(
"
Sampling reference beatnotes to THE grid
"
)
logger
.
debug
(
"
Sampling reference carrier beatnote offsets to THE grid
"
)
logger
.
debug
(
"
Sampling reference carrier beatnote offsets to THE grid
"
)
self
.
the_ref_carrier_offsets
=
ForEachMOSA
(
lambda
mosa
:
self
.
the_ref_carrier_offsets
=
ForEachMOSA
(
lambda
mosa
:
timestamp
(
self
.
tps_ref_carrier_offsets
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
,
mosa
[
0
])
self
.
tps_ref_carrier_offsets
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
)
)
.
transformed
(
self
.
timestamped
)
logger
.
debug
(
"
Sampling reference carrier beatnote fluctuations to THE grid
"
)
logger
.
debug
(
"
Sampling reference carrier beatnote fluctuations to THE grid
"
)
self
.
the_ref_carrier_fluctuations
=
ForEachMOSA
(
lambda
mosa
:
self
.
the_ref_carrier_fluctuations
=
ForEachMOSA
(
lambda
mosa
:
timestamp
(
self
.
tps_ref_carrier_fluctuations
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
self
.
tps_ref_carrier_fluctuations
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
-
self
.
tps_ref_carrier_offsets
[
mosa
]
*
self
.
clock_noise_fluctuations
[
mosa
[
0
]]
-
self
.
tps_ref_carrier_offsets
[
mosa
]
*
self
.
clock_noise_fluctuations
[
mosa
[
0
]]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
**
2
,
mosa
[
0
])
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
**
2
)
)
.
transformed
(
self
.
timestamped
)
logger
.
debug
(
"
Sampling reference upper sideband beatnote offsets to THE grid
"
)
logger
.
debug
(
"
Sampling reference upper sideband beatnote offsets to THE grid
"
)
self
.
the_ref_usb_offsets
=
ForEachMOSA
(
lambda
mosa
:
self
.
the_ref_usb_offsets
=
ForEachMOSA
(
lambda
mosa
:
timestamp
(
self
.
tps_ref_usb_offsets
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
,
mosa
[
0
])
self
.
tps_ref_usb_offsets
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
)
)
.
transformed
(
self
.
timestamped
)
logger
.
debug
(
"
Sampling reference upper sideband beatnote fluctuations to THE grid
"
)
logger
.
debug
(
"
Sampling reference upper sideband beatnote fluctuations to THE grid
"
)
self
.
the_ref_usb_fluctuations
=
ForEachMOSA
(
lambda
mosa
:
self
.
the_ref_usb_fluctuations
=
ForEachMOSA
(
lambda
mosa
:
timestamp
(
self
.
tps_ref_usb_fluctuations
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
self
.
tps_ref_usb_fluctuations
[
mosa
]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
-
self
.
tps_ref_usb_offsets
[
mosa
]
*
self
.
clock_noise_fluctuations
[
mosa
[
0
]]
-
self
.
tps_ref_usb_offsets
[
mosa
]
*
self
.
clock_noise_fluctuations
[
mosa
[
0
]]
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
**
2
,
mosa
[
0
])
/
(
1
+
self
.
clock_noise_offsets
[
mosa
[
0
]])
**
2
)
)
.
transformed
(
self
.
timestamped
)
## Total frequencies
## Total frequencies
Loading