reader_legacy
Legacy reader helpers for BrightEyes MCS HDF5 files.
- class MCSMetadata(h5_file)[source]
Bases:
objectMetadata read from a BrightEyes MCS HDF5 file.
- property dfd_freq
DFD laser cycle frequency in MHz when it can be inferred.
- property dfd_nbins
DFD histogram bin count when it can be inferred.
- property duration
Measurement duration in seconds.
- property dx
Pixel size along x in micrometers.
- property dy
Pixel size along y in micrometers.
- property dz
Pixel size along z in micrometers.
- property framerate
Frame rate in hertz.
- property frametime
Frame duration in seconds.
- property ndatapoints
Total number of transferred words.
- property nmicroim
Total number of microimages read during the measurement.
- static parse_dfd_metadata_from_bitfile_name(bitfile='', default_cycle_mhz=40)[source]
Infer DFD metadata from a bitfile name token like
40M91.
- property pxdwelltime
Pixel dwell time in microseconds.
- property pxsizes
Pixel sizes in z, y, x order.
- property pxszizes
Pixel sizes in z, y, x order, preserving the legacy attribute name.
- load(fname, key='data', data_format='numpy')[source]
Load a dataset and metadata from a BrightEyes MCS HDF5 file.
- metadata
alias of
MCSMetadata