SyneRBI / SIRF-Contribs

Users contributions to SIRF
Apache License 2.0
2 stars 6 forks source link

Draft SIRF partitioner #9

Closed MargaretDuff closed 6 months ago

MargaretDuff commented 6 months ago

A function that takes in the prompts, background, multiplicative_factors from the PET data, and then the number of partitions you want and the method you want to partition it. It then returns a list of data subsets, list of acquisition models and list of objective functions related to this partition.

Based heavily off the CIL partitioner https://github.com/TomographicImaging/CIL/blob/db5a2a6cd3bddfbbf53e65f0549ac206096e5b44/Wrappers/Python/cil/framework/framework.py#L48-L229

Not yet tested on SIRF PET data

KrisThielemans commented 6 months ago

This is working in a basic form. To avoid too many headaches with different branches and PRs, I'll merge this now.