scippneutron.conversion.beamline.L2#
- scippneutron.conversion.beamline.L2(*, scattered_beam)[source]#
Compute the length of the scattered beam.
The result is the secondary beam length
\[L_2 = | \mathtt{incident\_beam} |\]- Parameters:
scattered_beam (
Variable|DataArray|Dataset|DataGroup[Any]) – Beam from sample to detector. Expectsdtype=vector3.- Returns:
See also
straight_scattered_beamCompute the scattered beam for a straight beamline.