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_segs
SegmentList Segments from data quality flags
- site
str single-character name of site to match
- frametype
str name of dataset to match
- dq_segs
- Returns:
- intersection
SegmentList Segments from the intersection of data quality flags and data availability
- intersection