MPPCADenoiser#

class patch_denoise.space_time.lowrank.MPPCADenoiser(patch_shape, patch_overlap, threshold_scale, **kwargs)[source]#

Bases: BaseSpaceTimeDenoiser

Denoising using Marchenko-Pastur principal components analysis thresholding.

Parameters:
  • patch_shape (tuple) – The patch shape

  • patch_overlap (tuple) – the overlap of each pixel

  • recombination (str, optional) – The recombination method of the patch. “weighted”, “average” or “center”. default “weighted”.

  • threshold_scale (float) – An extra factor multiplying the threshold.

Methods

__init__

denoise

Denoise the input_data, according to mask.

_patch_processing(patch, patch_idx=None, threshold_scale=1.0)[source]#

Process a patch with the MP-PCA method.