bilby.gw.detector.load_data_by_channel_name
- bilby.gw.detector.load_data_by_channel_name(channel_name, start_time, segment_duration, psd_duration, psd_start_time, sampling_frequency=4096, roll_off=0.2, overlap=0, outdir=None)[source]
Helper routine to generate an interferometer from a channel name This function creates an empty interferometer specified in the name of the channel. It calls ifo.set_strain_data_from_channel_name to set the data and PSD in the interferometer using data retrieved from the specified channel using gwpy.TimeSeries.get()
- Parameters:
- channel_name: str
Channel name with the format IFO:Channel
- start_time, psd_start_time: float
GPS start time of the segment and data stretch used for the PSD
- segment_duration, psd_duration: float
Segment duration and duration of data to use to generate the PSD (in seconds).
- roll_off: float, optional
Rise time in seconds of tukey window.
- overlap: float,
Number of seconds of overlap between FFTs.
- sampling_frequency: int
Sampling frequency
- outdir: str, optional
The output directory in which the data is saved
- Returns:
- ifo: bilby.gw.detector.Interferometer
An initialised interferometer object with strain data set to the appropriate data fetched from the specified channel and a PSD.