scippneutron.L2#

scippneutron.L2(da)[source]#

Extract the length of the secondary flight path from a data array or dataset.

This is the distance between sample and detector.

Parameters:

da (DataArray | Dataset) – Get or compute the secondary flight path length from coords and attrs of this.

Returns:

Variable – The length of the secondary flight path.