Skip to content

Commit

Permalink
updated event_index and event_id description
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Ma committed Sep 10, 2024
1 parent 9059815 commit 463b62a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion base_classes/NXevent_data.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@
<field name="event_id" type="NX_INT" units="NX_DIMENSIONLESS">
<doc>
There will be extra information in the NXdetector to convert
event_id to detector_number.
event_id to detector_number. But in short,
event_id contains information about detector_id which is
related to the specific pixels on the detector bank.
</doc>
<dimensions rank="1"><dim index="1" value="i"/></dimensions>
</field>
Expand All @@ -77,6 +79,10 @@
<doc>
The index into the event_time_offset, event_id pair for
the pulse occurring at the matching entry in event_time_zero.
Each pulse creates an entry in the event_index,
the value of event_index points to the latest index of the event in event_id.
Sometimes, two adjcent event_index[i] and event_index[i+1] will have the same value,
this means there is no additonal neutron hit the detector bank in (i+1)th pulse.
</doc>
<dimensions rank="1"><dim index="1" value="j"/></dimensions>
</field>
Expand Down

0 comments on commit 463b62a

Please sign in to comment.