scippneutron.L2#

scippneutron.L2(da)#

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

This is the distance between sample and detector.

Parameters:

da (Union[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.