nxtomomill.utils.utils#

An Enum class with additional features.

Functions

add_dark_flat_nx_file(file_path, entry[, ...])

This will get all data from entry@input_file and patch them with provided dark and / or flat(s).

change_image_key_control(file_path, entry, ...)

Will modify image_key and image_key_control values for the requested frames.

embed_url(url, output_file)

Create a dataset under duplicate_data and with a random name to store it

get_file_name(file_name, extension[, check])

set the given extension

get_tuple_of_keys_from_cmd(cmd_value)

Return a tuple

is_nx_tomo_entry(file_path, entry)

param file_path

hdf5 file path

str_datetime_to_numpy_datetime64(my_datetime)

strip_extension(filename[, logger])

Classes

FileExtension(value)

An enumeration.