Skip to content

randoms from singles fixes#1331

Merged
KrisThielemans merged 6 commits intoUCL:masterfrom
KrisThielemans:RFSfixes
Jan 14, 2024
Merged

randoms from singles fixes#1331
KrisThielemans merged 6 commits intoUCL:masterfrom
KrisThielemans:RFSfixes

Conversation

@KrisThielemans
Copy link
Collaborator

Fix RFS for TOF. Scale is currently wrong.

But first fixes #1330

The name and location is hopefully more logical.

Throw error if it is unknown.

To enable this, set max_num_timing_poss=1 for non-TOF scanners (it was 0
for most).

Add coincidence-window tests to Scanner:check_consistency

Moved the "TOF_time <-> mm" functions to TOF_conversions.h

Fixes UCL#1330
- get_all_det_pos_pairs_for_bin now defaults to ignore TOF. This is
probably what is expected by most people.
- fix multiply_crystal_factors for TOF (in the previous version, it
was unexpectedly running over all unmashed TOF bins, giving the wrong
scale factor, and taking a long time
@KrisThielemans
Copy link
Collaborator Author

@NicoleJurjew @danieldeidda @NikEfth this contains some changes that are not backwards compatible with previous TOF stuff. You might get compilation errors, but I hope the change is obvious enough.

@KrisThielemans KrisThielemans merged commit a170529 into UCL:master Jan 14, 2024
@KrisThielemans KrisThielemans deleted the RFSfixes branch January 14, 2024 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Move get_coincidence_window_in_pico_sec() from ProjDataInfo to Scanner

1 participant