Skip to content

Commit

Permalink
add sin2psi diffraction type and qmagnitude in case cUnits is not eno…
Browse files Browse the repository at this point in the history
…ugh (like sin2pi)
  • Loading branch information
woutdenolf committed Feb 15, 2024
1 parent 4fbac06 commit 3aab412
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions contributed_definitions/NXstress.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
* ``two-theta``
* ``energy``
* ``d-spacing``
* ``sin2psi``
</doc>
</field>
<field name="measurement_direction" type="NX_CHAR" optional="true">
Expand Down Expand Up @@ -905,6 +906,18 @@
<dim index="1" value="nPeaks" />
</dimensions>
</field>
<field name="qmagnitude" type="NX_NUMBER" units="NX_PER_LENGTH" optional="true">
<doc>
The magnitude of the scattering vector *Q*. This is provided in case having the data in *cUnits* units is not enough for stress/strain calculations.
</doc>
<dimensions rank="1">
<dim index="1" value="nPeaks" />
</dimensions>
<enumeration>
<item value="1/angstrom" />
<item value="1/nm" />
</enumeration>
</field>
<field name="center" type="NX_NUMBER" units="NX_ANY" optional="false">
<doc>Diffraction peak position in *cUnit* units.</doc>
<dimensions rank="1">
Expand Down

0 comments on commit 3aab412

Please sign in to comment.