ess.reduce.polarization.he3.compute_transmission_fraction_from_direct_beam#

ess.reduce.polarization.he3.compute_transmission_fraction_from_direct_beam(direct_beam_no_cell, direct_beam_polarized)[source]#

Compute the transmission fraction for a given cell and polarization state.

This is defined as the ratio of the direct beam with the cell to the direct beam without the cell. The result is a function of wavelength and time.

Note that this is possible only if the main detector is used to measure direct beam data. If direct beam is computed from monitors then, e.g., the SANS transmission fraction (as computed by a regular SANS workflow) should be used directly. Note that the regular SANS workflow also normalized to an empty beam run, make sure to not perform the division twice.

Return type:

He3CellTransmissionFractionIncomingUnpolarized[TypeVar(PolarizingElement, polarization.types.Analyzer (str), polarization.types.Polarizer (str)), TypeVar(PolarizationState, polarization.he3.Polarized (int), polarization.he3.Depolarized (int))]