ess.freia.workflow.FreiaWorkflow#

ess.freia.workflow.FreiaWorkflow(*, run_norm=RunNormalization.proton_charge, wavelength_from='file', **kwargs)[source]#

Workflow for reduction of data for the Freia instrument.

The coordinate transformation graph computes the signed, gravity-corrected scattering angle above the laboratory x-z plane for both runs, with reflection angle and Q for the sample. The direct beam is mapped to Q when building Reference. Reflectivity requires separate sample/direct-beam ROIs, wavelength and Q bins, and beam and sample sizes for the footprint correction. The reference run must be a measurement without a sample, taken with matching slit and chopper settings. Set its SampleSurfaceNormal to the sample run’s orientation.

To skip footprint correction, set workflow[Sample] = workflow[ReducibleData[SampleRun]].

Monitor normalization requires an incident monitor selected through NeXusName[NormalizationMonitor], or supplied as WavelengthMonitor[RunType].

Parameters:
  • run_norm (RunNormalization, default: <RunNormalization.proton_charge: 4>) – Normalization procedure to be used. See RunNormalization.

  • wavelength_from (WavelengthLutMode, default: 'file') – Mode for creating the wavelength lookup table. Possible values are ‘analytical’, ‘simulation’, and ‘file’. See https://scipp.github.io/ess/reduce/user-guide/unwrap/lut-building-methods.html

Return type:

Pipeline