read_array

method of dascore.io.tdms.core.TDMSFormatterV4713 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’

Decode only the segments a time window touches.

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