ess.sans.normalization.transmission_fraction#
- ess.sans.normalization.transmission_fraction(sample_incident_monitor, sample_transmission_monitor, direct_incident_monitor, direct_transmission_monitor)[source]#
Approximation based on equations in CalculateTransmission documentation:
(sample_transmission_monitor / direct_transmission_monitor) * (direct_incident_monitor / sample_incident_monitor)
This is equivalent to
mantid.CalculateTransmission
without fitting. Inputs should be wavelength-dependent.- Parameters:
sample_incident_monitor (
CleanMonitor
[TransmissionRun
[TypeVar
(ScatteringRunType
,ess.reduce.nexus.types.BackgroundRun
(int
),ess.reduce.nexus.types.SampleRun
(int
),ess.reduce.nexus.types.VanadiumRun
(int
))],ess.reduce.nexus.types.IncidentMonitor
(int
)]) – The incident monitor data for the sample (transmission) run.sample_transmission_monitor (
CleanMonitor
[TransmissionRun
[TypeVar
(ScatteringRunType
,ess.reduce.nexus.types.BackgroundRun
(int
),ess.reduce.nexus.types.SampleRun
(int
),ess.reduce.nexus.types.VanadiumRun
(int
))],ess.reduce.nexus.types.TransmissionMonitor
(int
)]) – The transmission monitor data for the sample (transmission) run.direct_incident_monitor (
CleanMonitor
[ess.reduce.nexus.types.EmptyBeamRun
(int
),ess.reduce.nexus.types.IncidentMonitor
(int
)]) – The incident monitor data for the direct beam run.direct_transmission_monitor (
CleanMonitor
[ess.reduce.nexus.types.EmptyBeamRun
(int
),ess.reduce.nexus.types.TransmissionMonitor
(int
)]) – The transmission monitor data for the direct beam run.
- Returns:
TransmissionFraction
[TypeVar
(ScatteringRunType
,ess.reduce.nexus.types.BackgroundRun
(int
),ess.reduce.nexus.types.SampleRun
(int
),ess.reduce.nexus.types.VanadiumRun
(int
))] – The transmission fraction computed from the monitor counts.