Skip to content
74 changes: 74 additions & 0 deletions base_classes/NXgoniometer.nxdl.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="nxdlformat.xsl" ?>
<!--
# NeXus - Neutron and X-ray Common Data Format
#
# Copyright (C) 2008-2025 NeXus International Advisory Committee (NIAC)
Comment thread
PeterC-DLS marked this conversation as resolved.
Outdated
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 3 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# For further information, see http://www.nexusformat.org
-->
<definition xmlns="http://definition.nexusformat.org/nxdl/3.1" category="base"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://definition.nexusformat.org/nxdl/3.1 ../nxdl.xsd"
name="NXgoniometer"
type="group" extends="NXobject"
Comment thread
PeterC-DLS marked this conversation as resolved.
Outdated
>

<doc>
Goniometer rotation angles and sample translations used during a
measurement. The goniometers used at neutron and x-ray
facilities are typically four-circle or six-circle goniometers,
or variants of either one. There is no universally recognized
naming convention for angles and translations, so the group
should contain a :ref:`NXcite` group, which describes how the
angles are defined.
</doc>

<group name="convention" type="NXcite">
<doc>
A reference to a publication or online documentation that
describe the convention used in this group to define the
names of angles and sample translations.
</doc>
</group>
<group type="NXcoordinate_system">
Comment thread
PeterC-DLS marked this conversation as resolved.
Outdated
<doc>
The coordinate system used by the translation fields. This
group should be present if these fields do not use the
default NeXus Coordinate System.
</doc>
</group>
<field name="goniometer">
<doc>
The common name for the type of goniometer used in these
measurements.
</doc>
</field>
Comment thread
PeterC-DLS marked this conversation as resolved.
<field name="ROTATION_ANGLE" type="NX_FLOAT" units="NX_ANGLE" nameType="any">
<doc>
One of the goniometer rotation angles defined by the
specified convention.
</doc>
</field>
Comment thread
rayosborn marked this conversation as resolved.
<field name="SAMPLE_TRANSLATION" type="NX_FLOAT" units="NX_LENGTH" nameType="any">
Comment thread
PeterC-DLS marked this conversation as resolved.
<doc>
The translation of the sample from the centre of rotation of the
goniometer angles along one of the coordinate axes.
</doc>
</field>

</definition>
Loading