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/conda/envs/gwpy-nightly-3.11/lib/python3.11/site-packages/igwn_auth_utils/requests.py:46: DeprecationWarning: Support for identity-based X.509 credentials for LIGO.ORG is being dropped.
Calls to this utility will stop working on/around 20 May 2025.

For details on this change please see

https://computing.docs.ligo.org/guide/compsoft/roadmap/LVK/x509_retirement/

If you have questions about this message, or its implications, please
consider opening an IGWN Computing Help Desk ticket:

https://git.ligo.org/computing/helpdesk/-/issues/new
  return func(*args, **kwargs)
/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: 36.0

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

Gallery generated by Sphinx-Gallery