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 (DataArray) – The DataArray that contains the positions for the detector pixels and the sample.

  • pixel_width (Variable) – The width of the rectangular pixels.

  • pixel_height (Variable) – The height of the rectangular pixels.

Return type

Variable