Note
Go to the end to download the full example code.
Simple timeseriesΒΆ
This example shows the strain timeseries for the LIGO-Hanford detector around GW150914.
gwpy-plot timeseries \
--gwosc \
--ifo H1 \
--start 1126259457 \
--suptitle 'LIGO-Hanford strain around GW150914' \
--interactive
The same command can be executed directly in Python as:
from gwpy.cli.gwpy_plot import main
main([
'timeseries',
'--gwosc',
'--ifo', 'H1',
'--start', '1126259457',
'--suptitle', 'LIGO-Hanford strain around GW150914',
'--interactive',
])

Program run time: 16.2
Total running time of the script: (0 minutes 0.176 seconds)