Note
Go to the end to download the full example code.
Simple coherenceΒΆ
This example shows the estimated coherence between the differential-arm
length servo control loop error signal for LIGO-Hanford
(H1:LSC-DARM_IN1_DQ
) and the motion of an optical periscope used to
direct the main laser beam into the Hanford interferometer, around the
time of GW170814.
gwpy-plot coherence \
--chan H1:LSC-DARM_IN1_DQ H1:PEM-CS_ACC_PSL_PERISCOPE_X_DQ \
--start 1186741560 \
--duration 600 \
--nds2-server nds.gwosc.org \
--interactive
The same command can be executed directly in Python as:
from gwpy.cli.gwpy_plot import main
main([
'coherence',
'--chan', 'H1:LSC-DARM_IN1_DQ', 'H1:PEM-CS_ACC_PSL_PERISCOPE_X_DQ',
'--start', '1186741560',
'--duration', '600',
'--nds2-server', 'nds.gwosc.org',
'--interactive',
])

Program run time: 9.9
Total running time of the script: (0 minutes 4.104 seconds)