Time-series of input laser powerΒΆ

This example shows the input laser power (W) for each LIGO Detector for three hours around GW170817 (data taken from the Auxiliary Channel Three Hour Release).

gwpy-plot timeseries \
    --chan H1:IMC-PWR_IN_OUT_DQ \
    --chan L1:IMC-PWR_IN_OUT_DQ \
    --start 1186736512 \
    --duration 3hour \
    --ylabel 'Interferometer input power (W)' \
    --suptitle 'LIGO input laser power' \
    --interactive

The same command can be executed directly in Python as:

from gwpy.cli.gwpy_plot import main
main([
    'timeseries',
    '--chan', 'H1:IMC-PWR_IN_OUT_DQ',
    '--chan', 'L1:IMC-PWR_IN_OUT_DQ',
    '--start', '1186736512',
    '--duration', '3hour',
    '--ylabel', 'Interferometer input power (W)',
    '--suptitle', 'LIGO input laser power',
    '--interactive',
])
LIGO input laser power, Fs: (2048.0 Hz), duration: 10800.0
/home/duncan.macleod/gwpy-nightly-build/gwpy/gwpy/types/series.py:933: UserWarning: TimeSeries.crop given end larger than current end, crop will begin when the Series actually ends.
  warn(
Program run time: 42.0

Total running time of the script: (0 minutes 41.178 seconds)

Gallery generated by Sphinx-Gallery