Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Jun 30, 2017
1 parent bcc37a5 commit d1ac987
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
12 changes: 6 additions & 6 deletions base_classes/NXdata.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<attribute name="AXISNAME_indices">
<!--
nxdl.xsd rules do not allow us to show this as a variable name
- we'll use ALL CAPS
- we'll use ALL CAPS (see #562)
-->
<!-- AXISNAME_indices documentation copied from datarules.rst -->
<doc>
Expand Down Expand Up @@ -231,7 +231,7 @@
*dimension scale* to identify
with an integer the axis whose value is the number of the dimension.
</doc>
<field name="variable" type="NX_NUMBER">
<field name="VARIABLE" type="NX_NUMBER" nameType="any">
<doc>
Dimension scale defining an axis of the data.
Client is responsible for defining the dimensions of the data.
Expand Down Expand Up @@ -265,12 +265,12 @@
</doc>
</attribute>
</field>
<field name="variable_errors" type="NX_NUMBER">
<field name="VARIABLE_errors" type="NX_NUMBER" nameType="any">
<doc>
Errors (uncertainties) associated with axis ``variable``.
Errors (uncertainties) associated with axis ``VARIABLE``.
Client is responsible for defining the dimensions of the data.
The name of this field may be changed to fit the circumstances
but is matched with the *variable*
but is matched with the *VARIABLE*
field with ``_errors`` appended.
</doc>
<dimensions rank="1">
Expand All @@ -281,7 +281,7 @@
<dim index="1" value="n"/>
</dimensions>
</field>
<field name="data" type="NX_NUMBER">
<field name="DATA" type="NX_NUMBER" nameType="any">
<doc>
.. index:: plotting

Expand Down
9 changes: 9 additions & 0 deletions manual/source/defs_intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,15 @@ In such instances, the *value shown in parentheses* in the
group by removing the "NX" prefix.
See :ref:`NXentry` for examples.

.. index:: flexible name

When the name is allowed to be *flexible* (the exact name given
by this NXDL specification is not required but is set
at the time the HDF file is written), the flexible
part of the name will be written in all capital letters.
For example, in the :ref:`NXdata` group, the ``DATA``,
``VARIABLE``, and ``VARIABLE_errors`` fields are *flexible*.

NeXus data type
===============

Expand Down

0 comments on commit d1ac987

Please sign in to comment.