Extract the scattered beam vector from a data array or dataset.
This is the direction and length of the secondary flight path,
i.e. from sample to detector.
- Parameters:
da (DataArray
| Dataset
) – Get or compute the scattered beam from coords and attrs of this.
- Returns:
Variable
– The scattered beam.