tomobar.regularisersCuPy

Contents

tomobar.regularisersCuPy#

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

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

Enabling proximal operators step in iterative reconstruction.

Parameters:
  • X (cp.ndarray) – 2D or 3D CuPy array.

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

Returns:

Filtered 2D or 3D CuPy array.

Return type:

cp.ndarray