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
- Returns
DataArray
– The solid angle of the detector pixels, as viewed from the sample position. Any masks that have a dimension common to the dimensions of the position coordinate are retained to the output.