read_array

method of dascore.io.sintela.core.SintelaBinaryV3 source

read_array(
    self ,
    resource: LocalBinaryReader ,
    windows: collections.abc.Sequence[tuple[tuple[int | None[int, None], int | None[int, None]], <class ’slice, None]] = (),
    key: str = ““,
)-> ‘np.ndarray’

Slice the memory-mapped packet payloads.

Only the header and the requested block leave the file; the map skips each packet’s header, so the window indexes samples.