reader_legacy

Legacy reader helpers for BrightEyes MCS HDF5 files.

class MCSMetadata(h5_file)[source]

Bases: object

Metadata read from a BrightEyes MCS HDF5 file.

Print()[source]

Print metadata fields using the legacy method name.

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

metadata_load(fname)[source]

Load metadata from a BrightEyes MCS HDF5 file.

metadata_print(fname)[source]

Print metadata from a BrightEyes MCS HDF5 file.