OSMAPOSL reconstruction object is defined and setup in python as self.recon. This setup process has a penalty defined (e.g. QP). The call self.recon.get_objective_function().get_prior() returns
<Swig Object of type 'stir::shared_ptr< stir::GeneralisedPrior< stir::DiscretisedDensity< 3,float > > > *' at 0x125b172f0>. This GeneralisedPrior object does not contain any methods specific to the QP/RDP and therefore evaluations of things like parabolic_surrogate_curvature() (QP), or get_gamma()/set_gamma() (RDP) cannot be performed.
Can get_prior() return the child class prior?, e.g. QP or RDP.