read_array

method of dascore.io.tdms.core.TDMSFormatterV4713 source

read_array(
    self ,
    resource: LocalBinaryReader ,
    windows: dict[str, tuple[int, int]] ,
    **kwargs ,
)-> ‘np.ndarray’

Decode only the segments a time window touches.

The distance window is applied after decoding, since a segment interleaves its channels.