nxtomo.utils.utils#

general utils

Functions

cast_and_check_array_1D(array, array_name)

cast provided array to 1D

create_detector_dataset_from_tiff(...[, ...])

create a series of externals datasets to tiff file (one per file) inside the 'external_dataset_group'

get_data(file_path, data_path)

proxy to h5py_read_dataset, handling use case 'data_path' not present in the file.

get_data_and_unit(file_path, data_path, ...)

return for an HDF5 dataset his value and his unit.

h5py_read_dataset(dset[, index, decode_ascii])

Read data from dataset object.

hdf5_open(filename)

Open a file as an h5py-like object.

to_target_rel_path(file_path, target_path)

cast file_path to a relative path according to target_path.

Classes

TiffFile(file, /, *[, mode, name, offset, ...])

Read image and metadata from TIFF file.