-
Notifications
You must be signed in to change notification settings - Fork 29
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
acquisition_sensitivity_from_ecat8.py crashes #926
Comments
which STIR version/commit are you on? which data? Probably this is because of incomplete header info but I didn't think this would happen. @danieldeidda might be able to help |
I used STIR master, commit |
@KrisThielemans @danieldeidda Forgot to mention that BTW, if |
Thanks. I meant the sino data (or template) header. But I guess it's obvious from the script of course
Kris
…________________________________
From: Evgueni Ovtchinnikov ***@***.***>
Sent: Tuesday, May 18, 2021 12:30:31 PM
To: SyneRBI/SIRF ***@***.***>
Cc: Thielemans, Kris ***@***.***>; Comment ***@***.***>
Subject: Re: [SyneRBI/SIRF] acquisition_sensitivity_from_ecat8.py crashes (#926)
I used STIR master, commit 877511b607a90cbc3c3faebf9fa4e2dc3ea72f1b on Windows and commit dc6f3566f050b8d50f775ca531b06b9cffea3a59 on VM, and the same data data/examples/PET/mMR/norm.n.hdr that we have been using for ages.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#926 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABQRIHLE33JVKKHZ4UCTVVLTOJFVPANCNFSM45B73BQQ>.
|
@KrisThielemans according to While I have caught your attention: |
The demo uses mMR_template_span11.hs (see here and here. That file doesn't contain time frame info. UCL/STIR#891 will fix that requirement. However, the demo will need adjusting when we get to including time-frame info for calibration. |
should be fine now. Note that there won't have been a problem with STIR 4.x. thanks for spotting this! |
@KrisThielemans thanks for fixing this promptly! now
|
Sigh. I thought we'd fixed that. I certainly tested it myself. @danieldeidda any suggestions for deciding this better?
By the way, scatter-simulation.py currently only time after scatter-estimation.py, as this creates some extra files. Maybe we could add an explicit check for it and write some diagnostics
|
Sorry, did not get what you wanted to say. Did you mean |
you're right of course. If nothing writes |
Relevant comparison code is here. I note that it checks for The only other candidate I see is the Obviously you have to be a bit careful when using the SuperBuild (set |
the culprit was |
all demos now work, GHA is happy, tagging 3.0.0 can be done any moment |
Script
acquisition_sensitivity_from_ecat8.py
crashes on callingAcquisitionSensitivityModel.forward
, same trouble actually happening with all other normalisation methods (invert
,normalise
andunnormalise
). I managed to trace the trouble to calling STIR'sBinNormalisation
methodsundo
andapply
.The crash is silent on Windows, on VM I get
Older versions of SIRF (21f8b96, 24 Mar 2021) and STIR (63d8d2373113a3f90eb67dfae2b429b80de9e9bd, 16 Mar 2021) are ok.
The text was updated successfully, but these errors were encountered: