nxtomo.utils#

general utils along the project

Functions

cast_and_check_array_1D(array, array_name)

Cast the provided array to 1D and handle pint quantities.

get_data(file_path, data_path)

Proxy to h5py_read_dataset, handling the case where data_path is not present in the file.

get_quantity(file_path, data_path, default_unit)

Return the value and unit of an HDF5 dataset.

Modules

NXtomoSplitter

Utilities to split an NXtomo into several parts.

detectorsplitter

frameappender

Utilities to append frames to an HDF5 dataset (including virtual datasets).

io

I/O utilities.

transformation

Helper classes to define transformations contained in NXtransformations.

utils

General utility helpers.