gwdetchar.utils.segments module

gwdetchar.utils.segments.intersection_data_segs(dq_segs, site, frametype, **kwargs)[source]

Get segment list containing the intersection of some segment list, typically the data quality segments, with segment list of available data; avoids problems of data availability

Parameters:
dq_segsSegmentList

Segments from data quality flags

sitestr

single-character name of site to match

frametypestr

name of dataset to match

Returns:
intersectionSegmentList

Segments from the intersection of data quality flags and data availability