PYME.Deconv.richardsonLucyMV module

class PYME.Deconv.richardsonLucyMV.MultiviewRichardsonLucy

Bases: RichardsonLucyDeconvolution

Deconvolution class, implementing a variant of the Richardson-Lucy algorithm.

Derived classed should additionally define the following methods: AFunc - the forward mapping (computes Af) AHFunc - conjugate transpose of forward mapping (computes ar{A}^T f)

This is specifically for multi-view deconvolution, and applies the same forward transform to each view

see dec_conv for an implementation of conventional image deconvolution with a measured, spatially invariant PSF

deconv(views, lamb, num_iters=10, weights=1, bg=0)

This is what you actually call to do the deconvolution. parameters are:

data - the raw data lamb - the regularisation parameter (ignored - kept for compatibility with ICTM) num_iters - number of iterations (note that the convergence is fast when

compared to many algorithms - e.g Richardson-Lucy - and the default of 10 will usually already give a reasonable result)

class PYME.Deconv.richardsonLucyMV.dec_conv(*args, **kwargs)

Bases: MultiviewRichardsonLucy, ClassicMappingFFTW

class PYME.Deconv.richardsonLucyMV.dec_conv_slow(*args, **kwargs)

Bases: MultiviewRichardsonLucy, ClassicMappingNP

class PYME.Deconv.richardsonLucyMV.rlbead(*args, **kwargs)

Bases: MultiviewRichardsonLucy, SpatialConvolutionMapping