cache_segments#

gwpy.io.cache.cache_segments(*caches: Iterable[CacheEntry | FileSystemPath]) SegmentList[source]#

Return the segments of data covered by entries in the cache(s).

Parameters:
cacheslist

One or more lists of file paths (str or CacheEntry).

Returns:
segmentsSegmentList

A list of segments for when data should be available.