gwsumm.io module

Input/output utilities

gwsumm.io.read_frequencyseries(filename)[source]

Read a ~gwpy.frequencyseries.FrequencySeries from a file

IF using HDF5, the filename can be given as a combined filename/path, i.e. test.hdf5/path/to/dataset.

Parameters:
filenamestr

path of file to read

Returns:
series~gwpy.frequencyseries.FrequencySeries

the data as read

Raises:
astropy.io.registry.IORegistryError

if the input format cannot be identified or is not registered