HDFMapControls

class bapsflib._hdf.maps.controls.map_controls.HDFMapControls(data_group: h5py._hl.group.Group)

Bases: dict

A dictionary that contains mapping objects for all the discovered control devices in the HDF5 data group. The dictionary keys are the names of the discovered control devices.

Example
>>> from bapsflib import lapd
>>> from bapsflib._hdf.maps import HDFMapControls
>>> f = lapd.File('sample.hdf5')
>>> # 'Raw data + config' is the LaPD HDF5 group name for the
... # group housing digitizer and control devices
... control_map = HDFMapControls(f['Raw data + config'])
>>> control_map['6K Compumotor']
<bapsflib._hdf.maps.controls.sixk.HDFMapControl6K>
Parameters

data_group – HDF5 group object

Attributes Summary

mappable_devices

tuple of the mappable control devices (i.e.

Attributes Documentation

mappable_devices

tuple of the mappable control devices (i.e. their HDF5 group names)