nxtomomill.converter.hdf5.acquisition.utils#

Utils related to bliss-HDF5

Functions

deduce_machine_electric_current(timestamps, ...)

param dict knowned_machine_electric_current

keys are electric timestamp. Value is electric current

get_entry_type(url, configuration)

param DataUrl url

bliss scan url to type

get_nx_detectors(node)

param h5py.Group node

node to inspect

guess_nx_detector(node)

Try to guess what can be an nx_detector without using the "NXdetector" NX_class attribute.

has_valid_detector(node, detectors_names)

:return True if the node looks like a valid nx detector

split_timestamps(my_array, n_part)

split given array into n_part (as equal as possible) :param Iterable my_array: