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_name

x_pixel_size

y_pixel_size

origin

Center of the detector panel.

fast_axis

Inner most dimension if the data is sorted by detector number.

fast_axis_dim

slow_axis

Outer most dimension if the data is sorted by detector number.

slow_axis_dim

distance

first_pixel_position

First pixel position with respect to the sample.

polar_angle

azimuthal_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 is 3, 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.

origin: Variable#

Center of the detector panel.

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 is 3, the slow axis index will be: 0, 0, 0, 1, 1, 1, 2, ... for each detector number.