Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALFrame 3.0.7.1-5e288d3
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
lalframe.utils.frtools Namespace Reference

Functions

def get_channels (framefile)
 Return a list of all channels written into the given GWF-format framefile. More...
 
def iter_channels (framefile)
 Yield channels from the table-of-contents of the given GWF file. More...
 

Function Documentation

◆ get_channels()

def lalframe.utils.frtools.get_channels (   framefile)

Return a list of all channels written into the given GWF-format framefile.

Parameters
framefilestring path to input frame file
Returns
A list of channel names

Example:

>>> get_channels('H-H1_LDAS_C02_L2-9668/H-H1_LDAS_C02_L2-966802176-128.gwf')
['H1:LSC-DATA_QUALITY_VECTOR', 'H1:IFO-SV_STATE_VECTOR', 'H1:LDAS-STRAIN']
def get_channels(framefile)
Return a list of all channels written into the given GWF-format framefile.
Definition: frtools.py:42

Definition at line 42 of file frtools.py.

◆ iter_channels()

def lalframe.utils.frtools.iter_channels (   framefile)

Yield channels from the table-of-contents of the given GWF file.

Parameters
framefilestr path to input frame file
Returns
An iterator of channel names

Definition at line 52 of file frtools.py.