ess.powder.conversion.powder_monitor_coordinate_transformation_graph#

ess.powder.conversion.powder_monitor_coordinate_transformation_graph(source_position, sample_position, gravity)[source]#

Generate a coordinate transformation graph for monitors,

Parameters:
  • source_position (Position[NXsource, TypeVar(RunType, ess.reduce.nexus.types.SampleRun (int), ess.reduce.nexus.types.VanadiumRun (int), ess.powder.types.EmptyCanRun (int))]) – Position of the neutron source.

  • sample_position (Position[NXsample, TypeVar(RunType, ess.reduce.nexus.types.SampleRun (int), ess.reduce.nexus.types.VanadiumRun (int), ess.powder.types.EmptyCanRun (int))]) – Position of the sample.

  • gravity (ess.reduce.nexus.types.GravityVector (scipp.Variable)) – Gravity vector.

Returns:

MonitorCoordTransformGraph[TypeVar(RunType, ess.reduce.nexus.types.SampleRun (int), ess.reduce.nexus.types.VanadiumRun (int), ess.powder.types.EmptyCanRun (int))] – A dictionary with the graph for the transformation.