Extract the length of the primary flight path from a data array or dataset.
This is the distance between neutron source and sample.
- Parameters:
da (DataArray
| Dataset
) – Get or compute the primary flight path length from coords and attrs of this.
- Returns:
Variable
– The length of the primary flight path.