scippneutron.position#

scippneutron.position(da)[source]#

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

Parameters:

da (DataArray | Dataset) – Get or compute the positions from coords and attrs of this.

Returns:

Variable – The detector pixel positions.