Skip to content

Commit

Permalink
From telco, use pixel_mask_N instead of dynamic_mask
Browse files Browse the repository at this point in the history
  • Loading branch information
phyy-nx committed Aug 1, 2019
1 parent 29de7d8 commit 7392a0f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 23 deletions.
21 changes: 9 additions & 12 deletions applications/NXmx.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -422,25 +422,22 @@

If the full bit depths is not required, providing a
mask with fewer bits is permissible.

If needed, additional pixel masks can be specified by
including addtional entries named pixel_mask_N, where
N is an integer. For example, a general bad pixel mask
could be specified in pixel_mask that indicates noisy
and dead pixels, and an additional pixel mask from
experiment-specific shadowing could be specified in
pixel_mask_2. The cummulative mask is the bitwise OR
of pixel_mask and any pixel_mask_N entries.
</doc>
<dimensions rank="dataRank">
<dim index="1" value="i" />
<dim index="2" value="j" />
<dim index="3" value="k" required="false"/>
</dimensions>
</field>
<field name="dynamic_mask" type="NX_INT" >
<doc>
Additional 32-bit pixel mask for the detector, useful if a second set
of masks needs to be combined with pixel_mask. Dimensionality and
bit values are as defined for pixel_mask.
</doc>
<dimensions rank="dataRank">
<dim index="1" value="i"/>
<dim index="2" value="j"/>
<dim index="3" value="k" required="false"/>
</dimensions>
</field>
<field name="countrate_correction_applied" type="NX_BOOLEAN"
minOccurs="0">
<doc>
Expand Down
19 changes: 8 additions & 11 deletions base_classes/NXdetector.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -623,17 +623,14 @@
If the full bit depths is not required, providing a
mask with fewer bits is permissible.

</doc>
<dimensions rank="2">
<dim index="1" value="i"/>
<dim index="2" value="j"/>
</dimensions>
</field>
<field name="dynamic_mask" type="NX_INT" >
<doc>
Additional 32-bit pixel mask for the detector, useful if a second set
of masks needs to be combined with pixel_mask. Dimensionality and
bit values are as defined for pixel_mask.
If needed, additional pixel masks can be specified by
including addtional entries named pixel_mask_N, where
N is an integer. For example, a general bad pixel mask
could be specified in pixel_mask that indicates noisy
and dead pixels, and an additional pixel mask from
experiment-specific shadowing could be specified in
pixel_mask_2. The cummulative mask is the bitwise OR
of pixel_mask and any pixel_mask_N entries.
</doc>
<dimensions rank="2">
<dim index="1" value="i"/>
Expand Down

0 comments on commit 7392a0f

Please sign in to comment.