scippneutron.conversion.beamline.total_straight_beam_length_no_scatter#
- scippneutron.conversion.beamline.total_straight_beam_length_no_scatter(*, source_position, position)[source]#
Compute the length of the beam from source to given position.
Assumes a straight beam. The result is
\[L_\mathsf{total} = | \mathtt{position} - \mathtt{{source\_position}} |\]