Skip to content

Commit

Permalink
fix misconception about energy/wavelength
Browse files Browse the repository at this point in the history
  • Loading branch information
woutdenolf committed May 15, 2024
1 parent 4bd7821 commit 155b371
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions contributed_definitions/NXstress.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@
<doc>Date calibration was created/added</doc>
</field>
</group>

<group name="source" type="NXsource" optional="false">
<field name="type" type="NX_CHAR" optional="false">
<doc>
Expand All @@ -237,18 +236,6 @@
<item value="X-ray"/>
</enumeration>
</field>
<field name="energy" type="NX_FLOAT" units="NX_ENERGY" optional="true">
<doc>
Source energy. The energy should be provided in keV, but if chosen otherwise, the units must be clearly specified. For storage rings, this would be the particle beam energy.
For X-ray tubes, this would be the excitation voltage.

</doc>
</field>
<field name="wavelength" type="NX_FLOAT" optional="true">
<doc>
In case of monochromatic radiation, the wavelength used during the experiment. The wavelength should be provided in \ :math:`Å`, but if chosen otherwise, the units must be clearly specified.
</doc>
</field>
</group>
<group name="DETECTOR" type="NXdetector" minOccurs="1" maxOccurs="unbounded">
<doc>Zero or more of these groups describe the detectors used in the experiment.</doc>
Expand Down Expand Up @@ -290,7 +277,6 @@
In this use case, the efficiency and wavelength arrays must
have the same dimensionality.
</doc>

<dimensions rank="2">
<dim index="1" value="i" />
<dim index="2" value="j" />
Expand Down Expand Up @@ -411,6 +397,12 @@
Describes how the beam intensity profile in the secondary horizontal direction was determined. Examples of valid entries are: ``measured``, ``theoretical``, ``estimated``, ...
</doc>
</field>
<field name="incident_energy" type="NX_FLOAT" units="NX_ENERGY" optional="true">
<doc>Incident energy mostly useful for monochromatic beams.</doc>
</field>
<field name="incident_wavelength" type="NX_FLOAT" units="NX_WAVELENGTH" optional="true">
<doc>Incident wavelength mostly useful for monochromatic beams.</doc>
</field>
</group>
</group>

Expand Down

0 comments on commit 155b371

Please sign in to comment.