# 3.3.1.44. NXreflectionsΒΆ

**Status**:

base class, extends NXobject

**Description**:

This is a definition for reflection data from diffraction experiments

**Symbols**:

n: number of reflections

m: number of experiments

**Groups cited**:- NXentry

**Structure**:

(entry): (required) NXentry

@description: (optional) NX_CHARDescribes the dataset

definition: (optional) NX_CHARNeXus NXDL schema to which this file conforms

Obligatory value:

`NXreflections`

experiments[m]: (required) NX_CHARThe experiments from which the reflection data derives

h[n]: (required) NX_NUMBER

k[n]: (required) NX_NUMBER

l[n]: (required) NX_NUMBER

id[n]: (required) NX_INTThe id of the experiment which resulted in the reflection. If the value is greater than 0, the experiments must link to a multi-experiment NXmx group

@description: (optional) NX_CHARDescribes the dataset

reflection_id[n]: (required) NX_INTThe id of the reflection. Multiple partials from the same reflection should all have the same id

@description: (optional) NX_CHARDescribes the dataset

entering[n]: (required) NX_BOOLEANIs the reflection entering or exiting the Ewald sphere

@description: (optional) NX_CHARDescribes the dataset

det_module[n]: (required) NX_INTThe detector module on which the reflection was recorded

@description: (optional) NX_CHARDescribes the dataset

flags[n]: (required) NX_INTStatus flags describing the reflection.

This is a bit mask. The bits in the mask follow the convention used by DIALS, and have the following names:

bit name 0 `predicted`

1 `observed`

2 `indexed`

3 `used_in_refinement`

4 `strong`

5 `reference_spot`

6 `dont_integrate`

7 `integrated_sum`

8 `integrated_prf`

9 `integrated`

10 `overloaded`

11 `overlapped`

12 `overlapped_fg`

13 `in_powder_ring`

14 `foreground_includes_bad_pixels`

15 `background_includes_bad_pixels`

16 `includes_bad_pixels`

17 `bad_shoebox`

18 `bad_spot`

19 `used_in_modelling`

20 `centroid_outlier`

21 `failed_during_background_modelling`

22 `failed_during_summation`

23 `failed_during_profile_fitting`

24 `bad_reference`

@description: (optional) NX_CHARDescribes the dataset

d[n]: (required) NX_FLOAT

partiality[n]: (required) NX_FLOATThe partiality of the reflection. Dividing by this number will inflate the measured intensity to the full reflection equivalent.

@description: (optional) NX_CHARDescribes the dataset

predicted_frame[n]: (required) NX_FLOAT {units=NX_UNITLESS}The frame on which the bragg peak of the reflection is predicted

@description: (optional) NX_CHARDescribes the dataset

predicted_x[n]: (required) NX_FLOAT {units=NX_LENGTH}The x position at which the bragg peak of the reflection is predicted

@description: (optional) NX_CHARDescribes the dataset

predicted_y[n]: (required) NX_FLOAT {units=NX_LENGTH}The y position at which the bragg peak of the reflection is predicted

@description: (optional) NX_CHARDescribes the dataset

predicted_phi[n]: (required) NX_FLOAT {units=NX_ANGLE}The phi angle at which the bragg peak of the reflection is predicted

@description: (optional) NX_CHARDescribes the dataset

predicted_px_x[n]: (required) NX_FLOAT {units=NX_UNITLESS}The x pixel position at which the bragg peak of the reflection is predicted

@description: (optional) NX_CHARDescribes the dataset

predicted_px_y[n]: (required) NX_FLOAT {units=NX_UNITLESS}The y pixel position at which the bragg peak of the reflection is predicted

@description: (optional) NX_CHARDescribes the dataset

observed_frame[n]: (required) NX_FLOAT {units=NX_UNITLESS}The estimate of the frame at which the central impact of the reflection was recorded

@description: (optional) NX_CHARDescribes the dataset

observed_frame_var[n]: (required) NX_FLOAT {units=NX_UNITLESS}The variance on the estimate of the frame at which the central impact of the reflection was recorded

@description: (optional) NX_CHARDescribes the dataset

observed_px_x[n]: (required) NX_FLOAT {units=NX_UNITLESS}The estimate of the pixel x position at which the central impact of the reflection was recorded

@description: (optional) NX_CHARDescribes the dataset

observed_px_x_var[n]: (required) NX_FLOAT {units=NX_UNITLESS}The variance on the estimate of the pixel x position at which the central impact of the reflection was recorded

@description: (optional) NX_CHARDescribes the dataset

observed_px_y[n]: (required) NX_FLOAT {units=NX_UNITLESS}The estimate of the pixel y position at which the central impact of the reflection was recorded

@description: (optional) NX_CHARDescribes the dataset

observed_px_y_var[n]: (required) NX_FLOAT {units=NX_UNITLESS}The variance on the estimate of the pixel y position at which the central impact of the reflection was recorded

@description: (optional) NX_CHARDescribes the dataset

observed_phi[n]: (required) NX_FLOAT {units=NX_ANGLE}The estimate of the phi angle at which the central impact of the reflection was recorded

@description: (optional) NX_CHARDescribes the dataset

observed_phi_var[n]: (required) NX_FLOAT {units=NX_ANGLE}The variance on the estimate of the phi angle at which the central impact of the reflection was recorded

@description: (optional) NX_CHARDescribes the dataset

observed_x[n]: (required) NX_FLOAT {units=NX_LENGTH}The estimate of the x position at which the central impact of the reflection was recorded

@description: (optional) NX_CHARDescribes the dataset

observed_x_var[n]: (required) NX_FLOAT {units=NX_LENGTH}The variance on the estimate of the x position at which the central impact of the reflection was recorded

@description: (optional) NX_CHARDescribes the dataset

observed_y[n]: (required) NX_FLOAT {units=NX_LENGTH}The estimate of the y position at which the central impact of the reflection was recorded

@description: (optional) NX_CHARDescribes the dataset

observed_y_var[n]: (required) NX_FLOAT {units=NX_LENGTH}The variance on the estimate of the y position at which the central impact of the reflection was recorded

@description: (optional) NX_CHARDescribes the dataset

bounding_box[n, 6]: (required) NX_INT {units=NX_UNITLESS}The bounding box around the recorded recorded reflection. Should be an integer array of length 6, where the 6 values are pixel positions or frame numbers, as follows:

index meaning 0 The lower pixel x position 1 The upper pixel x position 2 The lower pixel y position 3 The upper pixel y position 4 The lower frame number 5 The upper frame number

@description: (optional) NX_CHARDescribes the dataset

background_mean[n]: (required) NX_FLOATThe mean background under the reflection peak

@description: (optional) NX_CHARDescribes the dataset

int_prf[n]: (optional) NX_FLOATThe estimate of the reflection intensity by profile fitting

@description: (optional) NX_CHARDescribes the dataset

int_prf_var[n]: (optional) NX_FLOATThe variance on the estimate of the reflection intensity by profile fitting

@description: (optional) NX_CHARDescribes the dataset

int_sum[n]: (required) NX_FLOATThe estimate of the reflection intensity by summation

@description: (optional) NX_CHARDescribes the dataset

int_sum_var[n]: (required) NX_FLOATThe variance on the estimate of the reflection intensity by summation

@description: (optional) NX_CHARDescribes the dataset

lp[n]: (required) NX_FLOATThe LP correction factor to be applied to the reflection intensities

@description: (optional) NX_CHARDescribes the dataset

prf_cc[n]: (optional) NX_FLOATThe correlation of the reflection profile with the reference profile used in profile fitting

@description: (optional) NX_CHARDescribes the dataset

overlaps: (optional) NX_INTAn adjacency list specifying the spatial overlaps of reflections. The adjacency list is specified using an array data type where the elements of the array are the indices of the adjacent overlapped reflection

@description: (optional) NX_CHARDescribes the dataset

polar_angle[n]: (optional) NX_FLOAT {units=NX_ANGLE}Polar angle of reflection centroid, following the NeXus simple (spherical polar) coordinate system

@description: (optional) NX_CHARDescribes the dataset

azimuthal_angle[n]: (optional) NX_FLOAT {units=NX_ANGLE}Azimuthal angle of reflection centroid, following the NeXus simple (spherical polar) coordinate system