get_channel_names#

gwpy.io.gwf.get_channel_names(
gwf: str | Path | IO,
type: str | None = None,
backend: str | None = None,
) list[str][source]#

Return a list of all channel names found in a GWF file.

This method just returns

>>> list(iter_channel_names(gwf))

Requires a GWF backend library.

Parameters:
gwfstr

GWF file to read.

typestr

The Fr structure type to match (one of ‘adc’, ‘sim’, or ‘proc’). Default is to match all types.

backendstr, optional

The GWF backend to use. Default is ‘any’.

Returns:
channelslist of str

a list of channel names as read from the table of contents of the given GWF file