Skip to content

Commit

Permalink
Add NXoff_geometry to the base classes it was missing from
Browse files Browse the repository at this point in the history
  • Loading branch information
phyy-nx committed Jun 15, 2022
1 parent 13bafd9 commit be57833
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions base_classes/NXdisk_chopper.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@
</field>
<group type="NXgeometry" deprecated="Use the field `depends_on` and :ref:`NXtransformations` to position the chopper and NXoff_geometry to describe its shape instead">
</group>
<group type="NXoff_geometry" minOccurs="0">
<doc>
This group describes the shape of the beam line component
</doc>
</group>
<attribute name="default">
<doc>
.. index:: plotting
Expand Down
5 changes: 5 additions & 0 deletions base_classes/NXinsertion_device.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@
<group type="NXgeometry" deprecated="Use the field `depends_on` and :ref:`NXtransformations` to position the device and NXoff_geometry to describe its shape instead">
<doc>"Engineering" position of insertion device</doc>
</group>
<group type="NXoff_geometry" minOccurs="0">
<doc>
This group describes the shape of the beam line component
</doc>
</group>
<attribute name="default">
<doc>
.. index:: plotting
Expand Down
5 changes: 5 additions & 0 deletions base_classes/NXmonochromator.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@
</field>
<group type="NXdata" name="distribution"/>
<group type="NXgeometry" name="geometry" deprecated="Use the field `depends_on` and :ref:`NXtransformations` to position the monochromator and NXoff_geometry to describe its shape instead"/>
<group type="NXoff_geometry" minOccurs="0">
<doc>
This group describes the shape of the beam line component
</doc>
</group>
<group type="NXcrystal"><doc>Use as many crystals as necessary to describe</doc></group>
<group type="NXvelocity_selector"/>
<group type="NXgrating"><doc>For diffraction grating based monochromators</doc></group>
Expand Down
5 changes: 5 additions & 0 deletions base_classes/NXsource.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,11 @@
"Engineering" location of source.
</doc>
</group>
<group type="NXoff_geometry" minOccurs="0">
<doc>
This group describes the shape of the beam line component
</doc>
</group>
<group type="NXdata" name="distribution">
<doc>The wavelength or energy distribution of the source</doc>
</group>
Expand Down
5 changes: 5 additions & 0 deletions base_classes/NXvelocity_selector.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@
<doc>deviation FWHM /Wavelength</doc>
</field>
<group type="NXgeometry" name="geometry" deprecated="Use the field `depends_on` and :ref:`NXtransformations` to position the velocity selector and NXoff_geometry to describe its shape instead"/>
<group type="NXoff_geometry" minOccurs="0">
<doc>
This group describes the shape of the beam line component
</doc>
</group>
<attribute name="default">
<doc>
.. index:: plotting
Expand Down

0 comments on commit be57833

Please sign in to comment.