scippneutron.source_position# scippneutron.source_position(da)[source]# Extract the position of the neutron source from a data array or dataset. Parameters: da (DataArray | Dataset) – Get or compute the source position from coords and attrs of this. Returns: Variable – The source position.