ess.reduce.nexus.workflow.to_transformation#

ess.reduce.nexus.workflow.to_transformation(chain, interval, time_filter=<function reject_time_dependent_transform>)[source]#

Convert a transformation chain into a single transformation matrix.

If one or more transformations in the chain are time-dependent, the time interval is used to select a specific time point. If the interval is not a single time point, time_filter is applied to the transformation. By default, this will raise an exception. Provide a different filter to customize how time-dependence is handled.

Parameters:
Return type:

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