read_array

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

read_array(
    self ,
    resource: LocalBinaryReader ,
    windows: dict[str, tuple[int, int]] ,
    **kwargs ,
)-> ‘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.