file_segment#
- gwpy.io.cache.file_segment(filename: CacheEntry | FileSystemPath) Segment[source]#
Return the data segment for a filename following LIGO-T010150.
- Parameters:
- Returns:
- segment
Segment the
[start, stop)GPS segment covered by the given file
- segment
Notes
LIGO-T010150 declares a filenaming convention that includes documenting the GPS start integer and integer duration of a file, see that document for more details.