tomobar.regularisersCuPy#

Adding CuPy-enabled regularisers from the CCPi-regularisation toolkit and initiate proximity operator for iterative methods.

@author: Daniil Kazantsev: dkazanc

tomobar.regularisersCuPy.prox_regul(self, X: <Mock name='mock.ndarray' id='140507869751440'>, _regularisation_: dict) <Mock name='mock.ndarray' id='140507869751440'>[source]#

Enabling proximal operators step in interative reconstruction.

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

  • _regularisation_ (dict) – Regularisation dictionary with parameters.

Returns

Filtered 2D or 3D CuPy array.

Return type

cp.ndarray