Skip to content

Commit

Permalink
change text style
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspie committed Jul 3, 2024
1 parent 15b6dd5 commit 4c2b54b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
11 changes: 6 additions & 5 deletions contributed_definitions/NXmpes_arpes.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -357,12 +357,12 @@ with higher granularity in the data description.
<attribute name="angular1_indices"/>
<field name="energy" type="NX_NUMBER" units="NX_ENERGY">
<doc>
Trace of the energy axis. Could be linked from the respective '@reference'
Trace of the energy axis. Could be linked from the respective ``@reference``
field.
</doc>
<attribute name="reference" recommended="true">
<doc>
Points to the path of a field defining the calibrated axis which the ``energy`` axis refers.
Points to the path of a field defining the calibrated axis which the energy axis refers.

For example:
@reference: '/entry/instrument/detector/sensor_y' for a 2D detector
Expand All @@ -374,7 +374,7 @@ with higher granularity in the data description.
<field name="angular0" type="NX_NUMBER" units="NX_ANGLE">
<doc>
Trace of the first angular axis. Could be linked from the respective
'@reference' field.
``@reference`` field.
</doc>
<attribute name="reference" recommended="true">
<doc>
Expand All @@ -390,12 +390,13 @@ with higher granularity in the data description.
</field>
<field name="angular1" type="NX_NUMBER" units="NX_ANGLE">
<doc>
Trace of the second axis. Could be linked from the respective '@reference'
Trace of the second axis. Could be linked from the respective ``@reference``
field.
</doc>
<attribute name="reference" recommended="true">
<doc>
Points to the path to a field defining the axis which the ``angular1`` axis refers.
Points to the path of a field defining the calibrated axis which the ``angular1`` axis refers.

For example:
@reference: '/entry/sample/transformations/sample_polar' for a manipulator angular scan
@reference: '/entry/instrument/detector/sensor_y' for a 2D detector
Expand Down
24 changes: 13 additions & 11 deletions contributed_definitions/nyaml/NXmpes_arpes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,12 @@ NXmpes_arpes(NXmpes):
energy(NX_NUMBER):
unit: NX_ENERGY
doc: |
Trace of the energy axis. Could be linked from the respective '@reference'
Trace of the energy axis. Could be linked from the respective ``@reference``
field.
\@reference:
exists: recommended
doc: |
Points to the path of a field defining the calibrated axis which the ``energy`` axis refers.
Points to the path of a field defining the calibrated axis which the energy axis refers.
For example:
@reference: '/entry/instrument/detector/sensor_y' for a 2D detector
Expand All @@ -220,7 +220,7 @@ NXmpes_arpes(NXmpes):
unit: NX_ANGLE
doc: |
Trace of the first angular axis. Could be linked from the respective
'@reference' field.
``@reference`` field.
\@reference:
exists: recommended
doc: |
Expand All @@ -234,12 +234,13 @@ NXmpes_arpes(NXmpes):
angular1(NX_NUMBER):
unit: NX_ANGLE
doc: |
Trace of the second axis. Could be linked from the respective '@reference'
Trace of the second axis. Could be linked from the respective ``@reference``
field.
\@reference:
exists: recommended
doc: |
Points to the path to a field defining the axis which the ``angular1`` axis refers.
Points to the path of a field defining the calibrated axis which the ``angular1`` axis refers.
For example:
@reference: '/entry/sample/transformations/sample_polar' for a manipulator angular scan
@reference: '/entry/instrument/detector/sensor_y' for a 2D detector
Expand All @@ -253,7 +254,7 @@ NXmpes_arpes(NXmpes):
should be linked to the actual encoder position in NXinstrument or calibrated axes in NXprocess.
# ++++++++++++++++++++++++++++++++++ SHA HASH ++++++++++++++++++++++++++++++++++
# 20400bee49a8823607813b31aea621d3f92a505ce27e88b354d6e9bb68901da0
# 3b1e58cabb7b243061af49cd2bc38324b715a2320bab79fc406b3d2c18e4c9d1
# <?xml version='1.0' encoding='UTF-8'?>
# <?xml-stylesheet type="text/xsl" href="nxdlformat.xsl"?>
# <!--
Expand Down Expand Up @@ -613,12 +614,12 @@ NXmpes_arpes(NXmpes):
# <attribute name="angular1_indices"/>
# <field name="energy" type="NX_NUMBER" units="NX_ENERGY">
# <doc>
# Trace of the energy axis. Could be linked from the respective '@reference'
# Trace of the energy axis. Could be linked from the respective ``@reference``
# field.
# </doc>
# <attribute name="reference" recommended="true">
# <doc>
# Points to the path of a field defining the calibrated axis which the ``energy`` axis refers.
# Points to the path of a field defining the calibrated axis which the energy axis refers.
#
# For example:
# @reference: '/entry/instrument/detector/sensor_y' for a 2D detector
Expand All @@ -630,7 +631,7 @@ NXmpes_arpes(NXmpes):
# <field name="angular0" type="NX_NUMBER" units="NX_ANGLE">
# <doc>
# Trace of the first angular axis. Could be linked from the respective
# '@reference' field.
# ``@reference`` field.
# </doc>
# <attribute name="reference" recommended="true">
# <doc>
Expand All @@ -646,12 +647,13 @@ NXmpes_arpes(NXmpes):
# </field>
# <field name="angular1" type="NX_NUMBER" units="NX_ANGLE">
# <doc>
# Trace of the second axis. Could be linked from the respective '@reference'
# Trace of the second axis. Could be linked from the respective ``@reference``
# field.
# </doc>
# <attribute name="reference" recommended="true">
# <doc>
# Points to the path to a field defining the axis which the ``angular1`` axis refers.
# Points to the path of a field defining the calibrated axis which the ``angular1`` axis refers.
#
# For example:
# @reference: '/entry/sample/transformations/sample_polar' for a manipulator angular scan
# @reference: '/entry/instrument/detector/sensor_y' for a 2D detector
Expand Down

0 comments on commit 4c2b54b

Please sign in to comment.