nabu.thirdparty.tomwer_load_flats_darks module

script embedding all function needed to read flats and darks.

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

nabu.thirdparty.tomwer_load_flats_darks.get_process_entries(root_node: Group, depth: int) tuple[source]

return the list of ‘Nxtomo’ entries at the root level

Parameters:

file_path (str) –

Returns:

list of valid Nxtomo node (ordered alphabetically)

Return type:

tuple

..note: entries are sorted to insure consistency

nabu.thirdparty.tomwer_load_flats_darks.is_process_node(node)[source]
nabu.thirdparty.tomwer_load_flats_darks.get_darks_frm_process_file(process_file, entry) None | dict[source]
Parameters:

process_file

Returns:

nabu.thirdparty.tomwer_load_flats_darks.get_flats_frm_process_file(process_file, entry) None | dict[source]
Parameters:

process_file

Returns: