-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from KrisThielemans/Triples
add Triple events, multiples strategy and changed CoincidenceEvent
- Loading branch information
Showing
8 changed files
with
57 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
# All information about a coincidence event specified as identifiers or indices (i.e. discretized). | ||
# All information about a coincidence event specified as identifiers or indices (i.e. discretized). Indices start from 0. | ||
# TODO: this might take up too much space, so some/all of these could be combined in a single index if necessary. | ||
CoincidenceEvent: !record | ||
fields: | ||
detector1Id: uint | ||
detector2Id: uint | ||
# the pair of detector elements | ||
detectorIds: uint*2 | ||
# an index into the tofBinEdges field in the ScannerInformation | ||
tofIdx: uint | ||
energy1Idx: uint | ||
energy2Idx: uint | ||
# a pair of indices into the energyBinEdges field in the ScannerInformation | ||
energyIndices: uint*2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# All information about a triple event specified as identifiers or indices (i.e. discretized). | ||
TripleEvent: !record | ||
fields: | ||
detectorIds: uint*3 | ||
# timing differences (converted to mm) w.r.t. first event, stored as | ||
# indices into the tofBinEdges field in the ScannerInformation | ||
# Note: only 2, corresponding to the arrival time differences of the second and third detectorId | ||
# listed w.r.t. the first detectorId | ||
tofIndices: uint*2 | ||
# indices for each single event into the energyBinEdges field in the ScannerInformation | ||
energyIndices: uint*3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters