nxtomo.utils.transformation#

module to provide helper classes to define transformations contained in NXtransformations

Functions

build_matrix(transformations)

Build a matrix from a set of Transformations.

deprecated_warning(type_, name[, reason, ...])

Function to log a deprecation warning

get_lr_flip(transformations)

Check among all transformations for those matching a left-right detector flip.

get_ud_flip(transformations)

Check among all transformations for those matching an up-down detector flip.

Classes

DetYFlipTransformation(flip[, axis_name, ...])

Convenient class to define a detector up-down flip (assuming the detector center is at (0, 0)).

DetZFlipTransformation(flip[, axis_name, ...])

Convenient class to define a detector left-right flip.

GravityTransformation()

Gravity is used to solve the transformation chain (acting as the chain endpoint).

LRDetTransformation([axis_name, depends_on, ...])

Transformation(axis_name, value, ...[, ...])

Define a Transformation done on an axis.

TransformationAxis()

Some predefined axis for tomography acquisition done at esrf.

TransformationType(value)

possible NXtransformations types

UDDetTransformation([axis_name, depends_on, ...])