Skip to content

Commit

Permalink
Clarified the beam_center_x,y documentation regarding length. As agre…
Browse files Browse the repository at this point in the history
…ed upon at the

February, 20, 2017 hangout.
  • Loading branch information
mkoennecke committed Feb 21, 2017
1 parent 5fa7910 commit 015eb0b
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 12 deletions.
7 changes: 5 additions & 2 deletions applications/NXcanSAS.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,9 @@
Position of the beam center on the detector.

This is the x position where the direct beam would hit the detector plane.
This is a length and can be outside of the actual detector. The value can any
This is a length and can be outside of the actual
detector. The length can be in physical units or pixels
as documented by the units attribute. The value can be any
real number (positive, zero, or negative).
</doc>
</field>
Expand All @@ -901,7 +903,8 @@
Position of the beam center on the detector.

This is the y position where the direct beam would hit the detector plane.
This is a length and can be outside of the actual detector. The value can any
This is a length and can be outside of the actual detector. The length can be in physical units or pixels
as documented by the units attribute. The value can any
real number (positive, zero, or negative).
</doc>
</field>
Expand Down
6 changes: 4 additions & 2 deletions applications/NXmx.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,8 @@
<doc>
This is the x position where the direct beam would hit the
detector. This is a length and can be outside of the actual
detector.
detector. The length can be in physical units or pixels
as documented by the units attribute.
</doc>
</field>

Expand All @@ -318,7 +319,8 @@
<doc>
This is the y position where the direct beam would hit the
detector. This is a length and can be outside of the actual
detector.
detector. The length can be in physical units or pixels
as documented by the units attribute.
</doc>
</field>

Expand Down
8 changes: 6 additions & 2 deletions applications/NXsas.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,17 @@
<field name="beam_center_x" type="NX_FLOAT" units="NX_LENGTH">
<doc>
This is the x position where the direct beam would hit the detector. This is a
length and can be outside of the actual detector.
length and can be outside of the
actual detector. The length can be in physical units or pixels
as documented by the units attribute.
</doc>
</field>
<field name="beam_center_y" type="NX_FLOAT" units="NX_LENGTH">
<doc>
This is the y position where the direct beam would hit the detector. This is a
length and can be outside of the actual detector.
length and can be outside of the
actual detector. The length can be in physical units or pixels
as documented by the units attribute.
</doc>
</field>
</group>
Expand Down
8 changes: 6 additions & 2 deletions applications/NXsastof.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,17 @@
<field name="beam_center_x" type="NX_FLOAT" units="NX_LENGTH">
<doc>
This is the x position where the direct beam would hit the detector. This is a
length and can be outside of the actual detector.
length and can be outside of the actual
detector. The length can be in physical units or pixels
as documented by the units attribute.
</doc>
</field>
<field name="beam_center_y" type="NX_FLOAT" units="NX_LENGTH">
<doc>
This is the y position where the direct beam would hit the detector. This is a
length and can be outside of the actual detector.
length and can be outside of the actual
detector. The length can be in physical units or pixels
as documented by the units attribute.
</doc>
</field>
</group>
Expand Down
6 changes: 4 additions & 2 deletions applications/NXxrot.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,14 @@
<field name="beam_center_x" type="NX_FLOAT" units="NX_LENGTH">
<doc>
This is the x position where the direct beam would hit the detector. This is a
length and can be outside of the actual detector.
length and can be outside of the actual detector. The length can be in physical units or pixels
as documented by the units attribute.
</doc></field>
<field name="beam_center_y" type="NX_FLOAT" units="NX_LENGTH">
<doc>
This is the y position where the direct beam would hit the detector. This is a
length and can be outside of the actual detector.
length and can be outside of the actual detector. The length can be in physical units or pixels
as documented by the units attribute.
</doc></field>
</group>
<group type="NXattenuator" name="attenuator">
Expand Down
8 changes: 6 additions & 2 deletions base_classes/NXdetector.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -494,14 +494,18 @@
<field name="beam_center_x" type="NX_FLOAT" units="NX_LENGTH">
<doc>
This is the x position where the direct beam would hit the detector.
This is a length and can be outside of the actual detector.
This is a length and can be outside of the actual
detector. The length can be in physical units or pixels
as documented by the units attribute.
</doc>
</field>

<field name="beam_center_y" type="NX_FLOAT" units="NX_LENGTH">
<doc>
This is the y position where the direct beam would hit the detector.
This is a length and can be outside of the actual detector.
This is a length and can be outside of the actual
detector. The length can be in physical units or pixels
as documented by the units attribute.
</doc>
</field>

Expand Down

0 comments on commit 015eb0b

Please sign in to comment.