PYME.localization.FitFactories.InterpFitWFR module

PYME.localization.FitFactories.InterpFitWFR.FitFactory

alias of WFPSFFitFactory

class PYME.localization.FitFactories.InterpFitWFR.WFPSFFitFactory(data, metadata, fitfcn=<function f_Interp3d>, background=None, noiseSigma=None, **kwargs)

Bases: PSFFitFactory

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

FromPoint(x, y, z=None, roiHalfSize=5, axialHalfSize=15)

This should be overridden in derived classes to actually do the fitting. The function which gets implemented should return a numpy record array, of the dtype defined in the module level FitResultsDType variable (the calling function uses FitResultsDType to pre-allocate an array for the results)