ess.sans.normalization.compute_denominator
ess.sans.normalization.compute_denominator#
- ess.sans.normalization.compute_denominator(direct_beam, data_incident_monitor, transmission_fraction, solid_angle)#
Compute the denominator term. Because we are histogramming the Q values of the denominator further down in the workflow, we convert the wavelength coordinate of the denominator from bin edges to bin centers.
- Parameters
direct_beam (
DataArray
) – The DataArray containing the direct beam function (depends on wavelength).data_incident_monitor (
DataArray
) – The DataArray containing the incident monitor counts from the measurement run (depends on wavelength).transmission_fraction (
DataArray
) – The DataArray containing the transmission fraction (depends on wavelength).solid_angle (
Variable
) – The solid angle of the detector pixels (depends on detector position).
- Return type