query_names

dqsegdb2.query.query_names(ifo, host='https://segments.ligo.org')

Query for all defined flags for the given ifo

Parameters:
ifo : str

the interferometer prefix for which to query

host : str, optional

the URL of the database, defaults to DEFAULT_SEGMENT_SERVER

Returns:
flags : set

the set of all define flag names in the format {ifo}:{name}

Examples

>>> from dqsegdb2.query import query_names
>>> query_names('G1')