ess.reduce.nexus.types.NeXusTransformation#

class ess.reduce.nexus.types.NeXusTransformation(value)[source]#

A NeXus transformation computed from a transformation chain.

If the transformation is time-dependent, it is stored as a data array with a ‘time’ coordinate. Otherwise, the transformation is stored as a variable.

__init__(value)#

Methods

__init__(value)

from_chain(chain)

Convert a transformation chain to a single transformation.

Attributes

value

static from_chain(chain)[source]#

Convert a transformation chain to a single transformation.

Return type:

NeXusTransformation[TypeVar(Component), TypeVar(RunType)]