Default units for Data Exchange entries¶
The default units for Data Exchange entries follow the CXI entries definition, i.e. are SI based units unless the “units” attribute is specified. Data Exchange prefers to use the default SI based units whenever possible.
|amount of substance||mole||mol|
Table: SI (and common derived) base units for different quantities
Angles are always defined in degrees not in radians and use the abbreviation “degree”.
The Data Exchange uses the same CXI coordinate system. This is a right handed system with the z axis parallel to the X-ray beam, with the positive z direction pointing away from the light source, in the downstream direction. The y axis is vertical with the positive direction pointing up, while the x axis is horizontal completing the right handed system (see Fig. [fig:CoordSystem]). The origin of the coordinate system is defined by the point where the X-ray beam meets the sample.
The local coordinate system of objects¶
For many detectors their location and orientation is crucial to interpret results. Translations and rotations are used to define the absolute position of each object. But to be able to apply these transformations we need to know what is the origin of the local coordinate system of each object. Unless otherwise specified the origin should be assumed to be the geometrical center of the object in question. The default orientation of the object should have the longest axis of the object aligned with the x axis, the second longest with the y axis and the shortest with the z axis.