Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix 20240422 #34

Merged
merged 2 commits into from
Apr 23, 2024
Merged

Hotfix 20240422 #34

merged 2 commits into from
Apr 23, 2024

Conversation

txusser
Copy link
Owner

@txusser txusser commented Apr 22, 2024

I fixed a mistake in correcting a previous mistake fixing the parsing of energy resolution into STIR
I also included the model for the NeuroLF_BPET that is used in the CDTI project

Energy resolution in the scanner parameter file must be defined as a percentage (%), as gathered by SimSET: https://depts.washington.edu/simset/html/user_guide/detector_modelling.html

On the other hand, STIR requires the energy resolution to be expressed as a fraction of the reference energy (which is set to 511). This means that instead of a perfectage needs to be expressed as a fraction of 1.

So the percentage needs to be divided by 100 to be fraction of 1.
Included the model for the NeuroLF_BPET developed by Claudia for the CDTI project
@txusser txusser marked this pull request as ready for review April 22, 2024 19:29
@txusser txusser requested a review from YerePhy April 22, 2024 19:29
@txusser
Copy link
Owner Author

txusser commented Apr 22, 2024

For further documentation on how to parse energy resolution into STIR Interfile:

https://github.com/UCL/STIR/blob/8ced2d73933420457e0bc76074964b7d4ff00f0c/examples/samples/PET_Interfile_header.hs#L47

@YerePhy YerePhy merged commit 782b9b6 into develop Apr 23, 2024
1 check passed
@YerePhy YerePhy deleted the Hotfix_20240422 branch April 23, 2024 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants