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