read_array

method of dascore.io.prodml.core.ProdMLV2_0 source

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

Slice one acquisition node’s data array directly.

source_patch_key is the node name scan reports (for example Raw[0] or FbeData[0]); a file holding several nodes needs one.