find_contiguous#

gwpy.io.cache.find_contiguous(*caches: list[CacheEntryType]) Iterator[list[CacheEntryType]][source]#

Separate one or more cache entry lists into time-contiguous sub-lists.

Parameters:
cacheslist

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

Returns:
cachesiter of list

An interable yielding each contiguous cache.