Reader-only utilities for BrightEyes MCS HDF5 files.
This package contains the current schema reader in
brighteyes_mcs_reader.readerfor the h5 scheme > 0.0.6- the legacy compatibility helpers in
brighteyes_mcs_reader.reader_legacyfor the pure raw output of BrightEyes-MCS (h5 scheme == 0.0.2).
pip install brighteyes-mcs-readerfrom brighteyes_mcs_reader import list_datasets, read_signal
for info in list_datasets("measurement.h5"):
print(info.path, info.kind, info.shape)
signal = read_signal("measurement.h5", time=0, depth=0, channel="sum")
print(signal.data.shape, signal.dims)Legacy files can be loaded with:
from brighteyes_mcs_reader import reader_legacy
data, metadata = reader_legacy.load("legacy_measurement.h5")Calibration, output building, conversion, alignment, and plotting helpers have
moved to BrightEyes-MCS-DataPrep.