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