ess.nmx.types.NMXDetectorMetadata#
- class ess.nmx.types.NMXDetectorMetadata(*, detector_name, x_pixel_size, y_pixel_size, origin, fast_axis, fast_axis_dim, slow_axis, slow_axis_dim, distance, first_pixel_position, polar_angle=<factory>, azimuthal_angle=<factory>)[source]#
- __init__(*, detector_name, x_pixel_size, y_pixel_size, origin, fast_axis, fast_axis_dim, slow_axis, slow_axis_dim, distance, first_pixel_position, polar_angle=<factory>, azimuthal_angle=<factory>)#
Methods
__init__(*, detector_name, x_pixel_size, ...)Attributes
detector_namex_pixel_sizey_pixel_sizeCenter of the detector panel.
Inner most dimension if the data is sorted by detector number.
fast_axis_dimOuter most dimension if the data is sorted by detector number.
slow_axis_dimdistanceFirst pixel position with respect to the sample.
polar_angleazimuthal_angle-
fast_axis:
Variable# Inner most dimension if the data is sorted by detector number.
The index of the fast axis changes fast along the detector number.
i.e. When detector numbers grows:
0, 1, 2, 3, 4, 5, 6, ...and the size of the fast axis is3, the fast axis index will be:0, 1, 2, 0, 1, 2, 0 ...for each detector number.
-
first_pixel_position:
Variable# First pixel position with respect to the sample.
Additional field for DIALS. It should be a 3D vector.
-
slow_axis:
Variable# Outer most dimension if the data is sorted by detector number.
The index of the slow axis changes slowly along the detector number.
i.e. When detector numbers grows:
0, 1, 2, 3, 4, 5, 6, ...and the size of the fast axis is3, the slow axis index will be:0, 0, 0, 1, 1, 1, 2, ...for each detector number.