igwn_segments.utils¶
This module provides additional utilities for use with igwn_segments.
Functions¶
|
An iterator that generates the results of taking the intersection of seglist1 with each segment in seglist2 in turn. |
|
Return a segmentlist identifying the S2 playground times within the interval defined by the segment extent. |
|
Convert consecutive True values in a bit stream (boolean-castable iterable) to a stream of segments. |
|
Parse a list of ranges expressed as strings in the form "value" or "first:last" into an equivalent igwn_segments.segmentlist. |
|
Return a segmentlist describing the intervals spanned by the files whose names are given in the list filenames. |
|
Construct a segmentlist representing the times spanned by the files named in the LAL cache contained in the file object cachefile. |
|
Read a segmentlist from the file object fileobj containing a segwizard compatible segment list. |
|
Read a segmentlist from the file object fileobj containing TAMA locked-segments data. |
|
Analogous to Python's range() builtin, this generator yields a sequence of continuous adjacent segments each of length "period" with the first starting at "start" and the last ending not after "stop". |
|
Parse a string representation of a set of named segmentlists into a segmentlistdict object. |
|
Return a string representation of a segmentlistdict object. |
|
Turn a segment list into a list of range strings as could be parsed by from_range_strings(). |
|
Write the segmentlist seglist to the file object fileobj in a segwizard compatible format. |
|
Given a sequence of segmentlists, returns the intervals during which at least n of them intersect. |