list_tables#
- gwpy.io.ligolw.list_tables(source: FileLike | str | Document | list) list[str][source]#
List the names of all tables in this file(s).
- Parameters:
- source
file,str,Document,list One or more open files, file paths, or
LIGO_LW documents.
- source
Examples
>>> from gwpy.io.ligolw import list_tables >>> print(list_tables('H1-LDAS_STRAIN-968654552-10.xml.gz')) ['process', 'process_params', 'sngl_burst', 'search_summary', 'segment_definer', 'segment_summary', 'segment']