.. algorithm:: .. summary:: .. relatedalgorithms:: .. properties:: Description ----------- Worfklow algorithm used to compute and apply the sample transmission correction using the direct beam method. The transmission is calculated by the :ref:`CalculateTransmission ` as follows: :math:`T=\frac{\sum_{i;\ d(i,j)` as follows: :math:`I'(x,y)=\frac{I(x,y)}{T^{[1+\sec(2\theta)]/2}} \sigma_{I'(x,y)}=[[{\frac{\sigma_I}{{T^{[1+\sec(2\theta)]/2}}}}]^2 + [{\frac{I(x,y)\sigma_T(\frac{1+\sec(2\theta)}{2})}{{T^{[\sec(2\theta)-1]/2}}}}]^2]^{1/2}` This algorithm is rarely called directly. It is called by :ref:`HFIRSANSReduction ` or :ref:`EQSANSDirectBeamTransmission `. .. categories:: .. sourcelink::