Open epapoutsellis opened 2 years ago
At the moment, we cannot use regularisation toolkit for SIRF because of check_input
and the missing SIRF attributes .geometry
and
FGP_TV
requires .geometry
dTV
requires .geometry
TGV
requires dimension_labels
TNV
requires .geometry
In addition, check_input
is called every time proximal
method is called
https://github.com/TomographicImaging/CIL/blob/acf3ddf5c61b8e216fe7891d7720f9bbd436c9b3/Wrappers/Python/cil/plugins/ccpi_regularisation/functions/regularisers.py#L49-L50
which is not ideal in implicit PDHG/SPDHG or proximal gradient algorithms for example.
Check input fails when input does not have a
geometry
attribute, i.e. SIRF objectshttps://github.com/TomographicImaging/CIL/blob/26f863aea98b339cc4f8f53f0d33f61a44742d5c/Wrappers/Python/cil/plugins/ccpi_regularisation/functions/regularisers.py#L307-L309