ess.estia.load.load_sample_rotation#

ess.estia.load.load_sample_rotation(transform)[source]#

Compute the sample mount angle from its NeXus transformations.

Project the mount’s transformed local +x axis onto the laboratory x-z plane and measure its angle from +x towards -z. The sample may be tilted within its mount. SampleRotationOffset calibrates the resulting angle.

Return type:

RawSampleRotation[TypeVar(RunType)]