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}\]
- Parameters:
-
- Returns:
Variable | DataArray | Dataset | DataGroup[Any] – incident_beam