ess.sans.normalization.transmission_fraction#

ess.sans.normalization.transmission_fraction(data_monitors, direct_monitors)#

Approximation based on equations in [CalculateTransmission](https://docs.mantidproject.org/v4.0.0/algorithms/CalculateTransmission-v1.html) documentation: (Sample_T_monitor / Direct_T_monitor) * (Direct_I_monitor / Sample_I_monitor)

This is equivalent to mantid.CalculateTransmission without fitting. Inputs should be wavelength-dependent.

TODO: It seems we are always multiplying this by data_monitors[‘incident’] to compute the normalization term. We could consider just returning (Sample_T_monitor / Direct_T_monitor) * Direct_I_monitor

Parameters
  • data_monitors (Dict[str, DataArray]) – The data arrays for the incident and transmission monitors for the measurement run (monitor data should depend on wavelength).

  • direct_monitors (Dict[str, DataArray]) – The data arrays for the incident and transmission monitors for the direct run (monitor data should depend on wavelength).

Returns

DataArray – The transmission fraction computed from the monitor counts.