tomobar.regularisers

Contents

tomobar.regularisers#

Adding regularisers from the CCPi-regularisation toolkit and instantiate a proximal operator for iterative methods.

tomobar.regularisers.prox_regul(self, X: <cp.ndarray>, _regularisation_: dict) <cp.ndarray> | tuple[source]#

Enabling proximal operators step in interative reconstruction.

Parameters:
  • X (np.ndarray) – 2D or 3D numpy array.

  • _regularisation_ (dict) – Regularisation dictionary with parameters, see tomobar.supp.dicts.

Returns:

Filtered 2D or 3D numpy array or a tuple.

Return type:

np.ndarray or a tuple