nxtomo.nxobject.nxsample#

module for handling a nxsample

Functions

check_dimensionality(expected_dimension[, ...])

Decorator to check the dimensionality of a pint.Quantity parameter.

concatenate_pint_quantities(quantities)

Helper function to concatenate pint quantities while ensuring unit consistency

docstring(origin)

Decorator to initialize the docstring from another source.

get_data(file_path, data_path)

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

get_nexus_paths(version)

rtype:

NXtomo_PATH

get_quantity(file_path, data_path, default_unit)

Return the value and unit of an HDF5 dataset.

is_not(a, b, /)

Same as a is not b.

Classes

NXobject(node_name[, parent])

NXsample([node_name, parent])

NXtransformations([node_name, parent])

partial

partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.