num_channels# gwpy.io.gwf.num_channels( gwf: str | Path | IO, type: str | None = None, backend: str | None = None, ) → int[source]# Find the total number of channels in this GWF file. Requires a GWF backend library. Parameters: gwfstrGWF file to read. typestrThe Fr structure type to match (one of ‘adc’, ‘sim’, or ‘proc’). Default is to match all types. backendstr, optionalThe GWF backend to use. Default is ‘any’. Returns: nintThe total number of channels found in the table of contents.