Skip to content

STIR's NiftyPET /NIPET support cannot be upgraded to NiftyPET 2 #52

@KrisThielemans

Description

@KrisThielemans

@rijobro wrapped NiftyPET into STIR. He had to hard-wire some of the python NIPET initialisations into the STIR C++, but it wasn't too bad.

I've now looked at updating to NIPET2. It seems that more and more initialisation is now only done in Python. For instance, we used get_txlut() to initialise txLUT structure. This is now done in transaxial_lut in mmraux.py.

It makes no sense to "copy" all that Python code into STIR's C++ wrapper. It would mean that we have even more hard-wiring, and presumably will have broken code with the next NIPET update. But I'm assuming you don't want to put all that Python code back into C++...

It therefore looks like we will have to remove NiftyPET's wrapper from STIR sadly, @pjmark @casperdcl any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions