PYME.localization.FitFactories.SpecGaussFitFR module

PYME.localization.FitFactories.SpecGaussFitFR.FitFactory

alias of GaussianFitFactory

PYME.localization.FitFactories.SpecGaussFitFR.FitResult(fitResults, metadata, slicesUsed=None, resultCode=-1, fitErr=None)
class PYME.localization.FitFactories.SpecGaussFitFR.GaussianFitFactory(data, metadata, fitfcn=<function f_gauss1d>, background=None)

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

Methods

FromPoint(x, y[, z, roiHalfSize, axialHalfSize])
evalModel(params, md[, x, y, roiHalfSize])
FromPoint(x, y, z=None, roiHalfSize=30, axialHalfSize=15)
classmethod evalModel(params, md, x=0, y=0, roiHalfSize=5)
PYME.localization.FitFactories.SpecGaussFitFR.GaussianFitResultR(fitResults, metadata, slicesUsed=None, resultCode=-1, fitErr=None)
PYME.localization.FitFactories.SpecGaussFitFR.f_gauss1d(p, X)

1D Gaussian model function with linear background - parameter vector [A, x0, y0, sigma, background, lin_x, lin_y]

PYME.localization.FitFactories.SpecGaussFitFR.replNoneWith1(n)