readligo#
Back to API tree index
Purpose#
LIGO frame/HDF5 loading and segment-manipulation helpers.
Module summary#
readligo.py
Function |
Summary |
|---|---|
This function takes a DQ CHANNEL (as returned by loaddata or getstrain) and the GPS_START time of the channel and returns a segment list. The DQ Channel is assumed to be a 1 Hz channel. |
|
WARNING: This function is designed to work the output of the low level function LOADDATA, not the output from the main data loading function GETSTRAIN. |
|
Method for constructing a segment list from LOSC data files. By default, the method uses files in the current working directory to construct a segment list. |
|
START should be the starting gps time of the data to be loaded. STOP should be the end gps time of the data to be loaded. IFO should be ‘H1’, ‘H2’, or ‘L1’. FILELIST is an optional argument that is a FileList() instance. STRAIN_CHAN is the channel name of the strain vector in GWF files. DQ_CHAN is the channel name of the data quality vector in GWF files. INJ_CHAN is the channel name of the injection vector in GWF files. |
|
The input filename should be a LOSC .hdf5 file or a LOSC .gwf file. The file type will be determined from the extenstion. The detector should be H1, H2, or L1. |
|
Helper function to read frame files |
|
Helper function to read HDF5 files |
Class |
Summary |
|---|---|
Class for lists of LIGO data files. |
|
No class docstring summary available. |