Skip to content

Commit

Permalink
add comment and signal vs. coordinates to the third example
Browse files Browse the repository at this point in the history
  • Loading branch information
woutdenolf committed Jun 20, 2023
1 parent e905a32 commit 83d4b43
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion base_classes/NXdata.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@
y: float[10,20] --> coordinates along the first two dimensions
z: float[30] --> coordinates along the last dimension

Note that each signal value ``data1[i,j,k]`` has axis coordinates ``[x[i,j], y[i,j], z[k]]``.
The same goes for the auxiliary signals ``data2`` and ``data3``.

4. An example without :ref:`AXISNAME_indices </NXdata@AXISNAME_indices-attribute>` attributes::

data:NXdata
Expand All @@ -162,7 +165,7 @@
x: float[10] --> coordinates along the first dimension
z: float[30] --> coordinates along the last dimension

This implicitely defines `@x_indices = 0` and `@z_indices = 2`. Note that the second data dimension has no coordinates.
This implicitely defines ``@x_indices = 0`` and ``@z_indices = 2``. Note that the second data dimension has no coordinates.

</doc>

Expand Down

0 comments on commit 83d4b43

Please sign in to comment.