Package pylal :: Module hacrutils
[hide private]
[frames] | no frames]

Module hacrutils

source code

Auxiliary functions for running and postprocessing HACR pipeline code.


Version: 8cbd1b7187ce3ed9a825d6ed11cc432f3cfde9a5

Date: 2017-12-05 15:29:36 +0000

Author: Duncan Macleod <duncan.macleod@ligo.org>

Functions [hide private]
 
trigger(line, columns=lsctables.SnglBurst.__slots__)
Convert a line from an Omega-format ASCII file into a SnglBurst object.
source code
 
find_databases(host, user="reader", passwd="readonly", match=None)
Query for all databases on the given host
source code
 
find_geo_databases(start_time, end_time, host, user="reader", passwd="readonly")
Query for all databases named geoYYYYMM whose year and month match the given [start_time, end_time) interval.
source code
 
find_channels(host, database=None, user="reader", passwd="readonly", match=None)
Query for all channels in the given HACR database on the given host
source code
 
get_triggers(start_time, end_time, channel, host, columns=None, pid=None, user="reader", passwd="readonly", verbose=False)
Query the given HACR MySQL host for HACR triggers in a given [start_time, stop_time) semi-open interval.
source code
Variables [hide private]
  _comment = re.compile('[#%]')
  _delim = re.compile('[\t\,\s]+')
Function Details [hide private]

get_triggers(start_time, end_time, channel, host, columns=None, pid=None, user="reader", passwd="readonly", verbose=False)

source code 

Query the given HACR MySQL host for HACR triggers in a given [start_time, stop_time) semi-open interval. Returns a LIGOLw SnglBurstTable.