PYME.Deconv.richardsonLucyMVM module¶
- class PYME.Deconv.richardsonLucyMVM.MotionCompensatingRichardsonLucy¶
Bases:
MultiviewRichardsonLucyDeconvolution 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)
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, vx=0, vy=0)¶
This is what you actually call to do the deconvolution. parameters are:
data - the raw data lamb - the regularisation parameter 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)
- alpha - PSF phase - hacked in for variable phase 4Pi deconvolution, should
really be refactored out into the dec_4pi classes.
- dlHd(data, g, velx, tvals)¶
- dlHd2(data, g, velx, tvals)¶
- pd(g, velx, vely, tvals)¶
remap image according to deformation field
- updateVX(data, g, velx, tvals, beta=-0.9, nIterates=1)¶
- class PYME.Deconv.richardsonLucyMVM.dec_conv(*args, **kwargs)¶
- class PYME.Deconv.richardsonLucyMVM.dec_conv_slow(*args, **kwargs)¶
- class PYME.Deconv.richardsonLucyMVM.rlbead(*args, **kwargs)¶
Bases:
MotionCompensatingRichardsonLucy,SpatialConvolutionMapping