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

expose mask functions for PET scatter estimation #1280

Merged

Conversation

KrisThielemans
Copy link
Member

@NicoleJurjew, this is now a PR. You can do a PR to my branch to fix/add.

@NicoleJurjew
Copy link
Contributor

Hi Kris,

I got the following error when I tried to build from this branch, with STIR-master:
image

I think the problem is that "set_recompute_mask_image" of the stir::ScatterEstimation is not exposed to the sirf::PETScatterEstimator in src/xSTIR/cSTIR/include/sirf/STIR/stir_x.h, as the other newly accessed methods are here:

https://github.com/KrisThielemans/SIRF/blob/51911cc3695f8c9826972e6656fd13b01b5cfaec/src/xSTIR/cSTIR/include/sirf/STIR/stir_x.h#L905C1-L912C10

I think I managed to fix it, PR is here: KrisThielemans#2

@KrisThielemans
Copy link
Member Author

@NicoleJurjew this is now working fine (or at least, compiling!) on the C++ level. Time for @evgueni-ovtchinnikov to wrap these to Python?

@NicoleJurjew
Copy link
Contributor

@KrisThielemans I'm a bit confused. I thought I'd exposed this to Python in a PR to your fork, here:

KrisThielemans#3

I don't really know what to do now, do I merge master into my PR and hope it all works automatically?

…ugfix

Expose mask methods for scatter to Python
@KrisThielemans
Copy link
Member Author

oops. I forgot. merged now.

I'll add something to CHANGES.md later.

@KrisThielemans
Copy link
Member Author

I meant, I've merged your PR to my branch. Not yet this PR!

@KrisThielemans KrisThielemans merged commit fc20f13 into SyneRBI:master Nov 22, 2024
1 check was pending
@KrisThielemans
Copy link
Member Author

@NicoleJurjew you can now use master (after pulling)

@KrisThielemans KrisThielemans deleted the exposeMaskMethodsForScatter branch November 22, 2024 14:53
@NicoleJurjew
Copy link
Contributor

NicoleJurjew commented Nov 22, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants