nxtomo.utils.transformation#

module to provide helper classes to define transformations contained in NXtransformations

Functions

build_matrix(transformations)

build a matrice from a set of Transformation

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

Function to log a deprecation warning

get_lr_flip(transformations)

check along all transformations if find Transformation matching 'LRTransformation'

get_ud_flip(transformations)

check along all transformations if find Transformation matching 'UDTransformation'

Classes

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

convenient class to define a detector up-down flip if we consider the center of the detector to be at (0, 0)

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

convenient class to define a detector up-down flip if we consider the center of the detector to be at (0, 0)

GravityTransformation()

Gravity is used to solve transformation chain (as chain 'endpoint')

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

MetricSystem(value)

Util enum to retrieve metric.

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, ...])