darfix.core.datapathfinder#

Functions

get_first_group(h5f[, filter_keys, as_hdf5_item])

param h5f:

get_last_group(h5f[, filter_keys, as_hdf5_item])

param h5f:

sort_bliss_scan_entries(entries)

Sort Bliss scans (x.y) according to their scan numbers and processed entries (entry_xxxx) according to their entry number.

Classes

DataPathFinder(file_, pattern[, ...])

Util class to format path from a provided pattern At the moment it allows the following keywords: * {scan}: will replace the '{scan}' by an HDF5 first level group name * {first_scan}: will replace the '{first_scan}' by the first HDF5 group of the list * {last_scan}: will replace the '{last_scan}' by the first HDF5 group of the list * {detector}: will try to detect automatically the dataset to be used as detector

Exceptions

UnsolvablePatternError

Exception raised when a pattern cannot be solved by the DataPathFinder