PYME.localization.FitFactories.AstigGaussGPUFitFR module

PYME.localization.FitFactories.AstigGaussGPUFitFR.FitFactory

alias of GaussianFitFactory

PYME.localization.FitFactories.AstigGaussGPUFitFR.FitResult(fitResults, metadata, resultCode=-1, fitErr=None, LLH=None, nEvents=1)
class PYME.localization.FitFactories.AstigGaussGPUFitFR.GaussianFitFactory(data, metadata, fitfcn=None, background=None, noiseSigma=None)

Create a fit factory which will operate on image data (data), potentially using voxel sizes etc contained in metadata.

Attributes

X  
Y  

Methods

FindAndFit([threshold, gui, cameraMaps]) Args:
FromPoint(x, y[, roiHalfSize])
evalModel(params, md[, x, y, roiHalfSize])
getRes()
refreshWarpDrive(cameraMaps)
FindAndFit(threshold=4, gui=False, cameraMaps=None)
Args:
threshold: in units of noiseSigma (if supplied) gui: unused cameraMaps: cameraInfoManager object (see remFitBuf.py) noiseSigma: (over-)estimate of the noise level at each pixel (see fitTask.calcSigma in remFitBuf.py)
Returns:
output of self.getRes
FromPoint(x, y, roiHalfSize=None)
X = None
Y = None
classmethod evalModel(params, md, x=0, y=0, roiHalfSize=5)
getRes()
refreshWarpDrive(cameraMaps)
PYME.localization.FitFactories.AstigGaussGPUFitFR.GaussianFitResultR(fitResults, metadata, resultCode=-1, fitErr=None, LLH=None, nEvents=1)
PYME.localization.FitFactories.AstigGaussGPUFitFR.f_gaussAstigSlow(p, X, Y)

2D Gaussian model function with independent sigx, sigy - parameter vector [A, x0, y0, sx, sy]