scippneutron.position#

scippneutron.position(da)#

Extract the detector pixel positions from a data array or dataset.

Parameters:

da (Union[DataArray, Dataset]) – Get or compute the positions from coords and attrs of this.

Returns:

Variable – The detector pixel positions.