read_array

method of dascore.io.dasvader.core.DASVaderV1 source

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

Slice the data reference’s dataset directly.

Only the dDAS record, which names the reference, is read besides the requested block. A file holds one patch, so the key scan reports is empty; any other is refused.