Skip to content

Commit

Permalink
fix missing peak_parameters groups
Browse files Browse the repository at this point in the history
  • Loading branch information
woutdenolf committed May 15, 2024
1 parent 8e54403 commit 2f3744c
Showing 1 changed file with 66 additions and 3 deletions.
69 changes: 66 additions & 3 deletions contributed_definitions/NXstress.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,7 @@
<item value="pearson VII" />
</enumeration>
</field>

<field name="area" type="NX_NUMBER" units="NX_ANY" optional="true">
<doc>Diffraction peak area (not including the background) in *yUnit* units.</doc>
<dimensions rank="1">
Expand All @@ -591,6 +592,32 @@
<doc>Specify the *yUnit* units</doc>
</attribute>
</field>
<field name="area_errors" type="NX_NUMBER" optional="true" units="NX_DIMENSIONLESS">
<doc>
Error value(s) asscociated with :ref:`area &lt;/NXstress/ENTRY/fit/peak_parameters/area-field&gt;`
</doc>
<dimensions rank="1">
<dim index="1" value="nPeaks" />
</dimensions>
</field>

<field name="center" type="NX_NUMBER" units="NX_ANY" optional="false">
<doc>Diffraction peak position in *xUnit* units.</doc>
<dimensions rank="1">
<dim index="1" value="nPeaks" />
</dimensions>
<attribute name="units" type="NX_CHAR">
<doc>Specify the *xUnit* units</doc>
</attribute>
</field>
<field name="center_errors" type="NX_NUMBER" optional="true" units="NX_DIMENSIONLESS">
<doc>
Error value(s) asscociated with :ref:`center &lt;/NXstress/ENTRY/fit/peak_parameters/center-field&gt;`
</doc>
<dimensions rank="1">
<dim index="1" value="nPeaks" />
</dimensions>
</field>

<field name="height" type="NX_NUMBER" optional="true" units="NX_ANY">
<doc>Diffraction peak height (not including the background) in *yUnit* units.</doc>
Expand All @@ -601,6 +628,15 @@
<doc>Specify the *yUnit* units</doc>
</attribute>
</field>
<field name="height_errors" type="NX_NUMBER" optional="true" units="NX_DIMENSIONLESS">
<doc>
Error value(s) asscociated with :ref:`height &lt;/NXstress/ENTRY/fit/peak_parameters/height-field&gt;`
</doc>
<dimensions rank="1">
<dim index="1" value="nPeaks" />
</dimensions>
</field>

<field name="fwhm" type="NX_NUMBER" units="NX_ANY" optional="true">
<doc>Diffraction peak full width at half maximum in *xUnit* units.</doc>
<dimensions rank="1">
Expand All @@ -610,6 +646,14 @@
<doc>Specify the *xUnit* units</doc>
</attribute>
</field>
<field name="fwhm_errors" type="NX_NUMBER" optional="true" units="NX_DIMENSIONLESS">
<doc>
Error value(s) asscociated with :ref:`fwhm &lt;/NXstress/ENTRY/fit/peak_parameters/fwhm-field&gt;`
</doc>
<dimensions rank="1">
<dim index="1" value="nPeaks" />
</dimensions>
</field>

<field name="fwhm_left" type="NX_NUMBER" optional="true" units="NX_ANY">
<doc>Left-side FWHM for split profiles in *xUnit* units.</doc>
Expand All @@ -620,6 +664,15 @@
<doc>Specify the *xUnit* units</doc>
</attribute>
</field>
<field name="fwhm_left_errors" type="NX_NUMBER" optional="true" units="NX_DIMENSIONLESS">
<doc>
Error value(s) asscociated with :ref:`fwhm_left &lt;/NXstress/ENTRY/fit/peak_parameters/fwhm_left-field&gt;`
</doc>
<dimensions rank="1">
<dim index="1" value="nPeaks" />
</dimensions>
</field>

<field name="fwhm_right" type="NX_NUMBER" optional="true" units="NX_ANY">
<doc>Right-side FWHM for split profiles in *xUnit* units.</doc>
<dimensions rank="1">
Expand All @@ -629,6 +682,15 @@
<doc>Specify the *xUnit* units</doc>
</attribute>
</field>
<field name="fwhm_right_errors" type="NX_NUMBER" optional="true" units="NX_DIMENSIONLESS">
<doc>
Error value(s) asscociated with :ref:`fwhm_right &lt;/NXstress/ENTRY/fit/peak_parameters/fwhm_right-field&gt;`
</doc>
<dimensions rank="1">
<dim index="1" value="nPeaks" />
</dimensions>
</field>

<field name="form_factor" type="NX_NUMBER" optional="true" units="NX_DIMENSIONLESS">
<doc>
- Voigt or Pseudo-Voigt: Lorentzian fraction
Expand All @@ -639,17 +701,18 @@
<dim index="1" value="nPeaks" />
</dimensions>
</field>
<field name="form_errors" type="NX_NUMBER" optional="true" units="NX_DIMENSIONLESS">
<field name="form_factor_errors" type="NX_NUMBER" optional="true" units="NX_DIMENSIONLESS">
<doc>
Error value(s) asscociated with the form_factor.
Error value(s) asscociated with :ref:`form_factor &lt;/NXstress/ENTRY/fit/peak_parameters/form_factor-field&gt;`
</doc>
<dimensions rank="1">
<dim index="1" value="nPeaks" />
</dimensions>
</field>

<field name="azimuth" type="NX_NUMBER" optional="true" units="NX_ANGLE">
<doc>
Angle that define the position of the integrated sector in the diffraction cone
Angle that defines the position of the integrated sector in the diffraction cone
for angular-dispersive diffraction or the position of the detector for energy-dispersive
diffraction.
</doc>
Expand Down

0 comments on commit 2f3744c

Please sign in to comment.