ess.sans.normalization.solid_angle#
- ess.sans.normalization.solid_angle(data, pixel_shape, transform)[source]#
Solid angle for cylindrical pixels.
Note that the approximation is valid when the distance from sample to pixel is much larger than the length or the radius of the pixels.
- Parameters:
data (
CalibratedDetector
[TypeVar
(ScatteringRunType
,types.SampleRun
(int
),types.BackgroundRun
(int
))]) – The DataArray that contains the positions of the detector pixels and the position of the sample in the coords.pixel_shape (
DetectorPixelShape
[TypeVar
(ScatteringRunType
,types.SampleRun
(int
),types.BackgroundRun
(int
))]) – Contains the description of the detector pixel shape.transform (
LabFrameTransform
[TypeVar
(ScatteringRunType
,types.SampleRun
(int
),types.BackgroundRun
(int
))]) – Transformation from the local coordinate system of the detector to the coordinate system of the sample.
- Returns:
SolidAngle
[TypeVar
(ScatteringRunType
,types.SampleRun
(int
),types.BackgroundRun
(int
))] – The solid angle of the detector pixels, as viewed from the sample position.