Skip to content

nabu.thirdparty.tomwer_load_flats_darks

source module nabu.thirdparty.tomwer_load_flats_darks

script embedding all function needed to read flats and darks.

For information calculation method is stored in the results/configuration dictionary

Functions

source get_process_entries(root_node: h5py.Group, depth: int)tuple

return the list of 'Nxtomo' entries at the root level

:param str file_path: :return: list of valid Nxtomo node (ordered alphabetically) :rtype: tuple

..note: entries are sorted to insure consistency

source is_process_node(node)

source get_darks_frm_process_file(process_file, entry)None | dict

:param process_file: :return:

Raises

  • ValueError

source get_flats_frm_process_file(process_file, entry)None | dict

:param process_file: :return:

Raises

  • ValueError