iter_channel_names#

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

Iterate over the names of channels found in a GWF file.

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:
channelsgenerator

an iterator that will loop over the names of channels as read from the table of contents of the given GWF file