This module contains utility functions for setUpJobs

xpipeline.setuputils.utils.filter_for_cat_type(vdf, ifo, cat)[source]
xpipeline.setuputils.utils.make_chunks(segment, length, overlap=0)[source]

Divides the science segment into chunks of length seconds overlapped by overlap seconds. when generating chunks

xpipeline.setuputils.utils.query_veto_definer_file(ifo, start, end, cp)[source]
xpipeline.setuputils.utils.validate_network()[source]
xpipeline.setuputils.utils.validate_segments(ifos, start, end, cp, trigger_time=None)[source]

determine analysis ready segments during requested analysis time Parameters ———- ifos : str

list of ifos used in X-Pipeline analysis

start : float, LIGOTimeGPS

end : float, ~gwpy.time.LIGOTimeGPS

cp : object ConfigParser object

trigger_time

Returns
DataQualityDict~gwpy.segments.DataQualityDict`
xpipeline.setuputils.utils.validate_vetos(ifos, start, end, cp)[source]

determine vetos during requested analysis time Parameters ———- ifos : str

list of ifos used in X-Pipeline analysis

start : float, LIGOTimeGPS

end : float, ~gwpy.time.LIGOTimeGPS

cp : object ConfigParser object

Returns
DataQualityDict~gwpy.segments.DataQualityDict`