scippneutron.conversion.beamline.straight_incident_beam#
- scippneutron.conversion.beamline.straight_incident_beam(*, source_position, sample_position)#
Compute the length of the beam from source to sample.
Assumes a straight beam. The result is
\[\mathtt{incident\_beam} = \mathtt{sample\_position} - \mathtt{source\_position}\]