Skip to content

Commit

Permalink
Attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
phyy-nx committed Aug 20, 2024
1 parent 80577e5 commit 37f53ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions manual/source/datarules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,12 @@ suffix reference meaning
``_indices`` :ref:`NXdata` Integer array that defines the indices of the signal field which need to be used in the ``DATASET`` in order to reference the corresponding axis value
``_mask`` .. Field containing a signal mask, where 0 means the pixel is not masked. If required, bit masks are defined in :ref:`NXdetector` ``pixel_mask``.
``_set`` :ref:`target values <target_value>` Target value of ``DATASET``
``_weights`` .. divide ``DATASET`` by these weights [#]_
``_scaling_factor`` :ref:`NXdata` Multiply ``DATASET`` by this factor [#]_
``_offset`` :ref:`NXdata` Add this factor to ``DATASET`` [#]_
``_weights`` .. divide ``DATASET`` by these weights [#suffix_note]_
``_scaling_factor`` :ref:`NXdata` Multiply ``DATASET`` by this factor [#suffix_note]_
``_offset`` :ref:`NXdata` Add this factor to ``DATASET`` [#suffix_note]_
=================== ========================================= =================================

.. [#] If ``DATASET_weights`` exists and has the same shape as the field,
.. [#suffix_note] If ``DATASET_weights`` exists and has the same shape as the field,
you are supposed to divide ``DATASET`` by the weights. Similarly, if `DATASET_scaling_factor` and/or
`DATASET_offset` exist, apply this equation: (``DATASET`` + ``DATASET_offset``) * ``DATASET_scaling_factor``
Expand Down

0 comments on commit 37f53ac

Please sign in to comment.