ess.sans.normalization.solid_angle_of_rectangular_pixels
ess.sans.normalization.solid_angle_of_rectangular_pixels¶
- ess.sans.normalization.solid_angle_of_rectangular_pixels(data, pixel_width, pixel_height)¶
Solid angle computed from rectangular pixels with a ‘width’ and a ‘height’.
Note that this is an approximation which is only valid for small angles between the line of sight and the rectangle normal.
- Parameters
data (scipp._scipp.core.DataArray) – The DataArray that contains the positions for the detector pixels and the sample.
pixel_width (scipp._scipp.core.Variable) – The width of the rectangular pixels.
pixel_height (scipp._scipp.core.Variable) – The height of the rectangular pixels.
- Return type