PEATDB/Ekin/Fitting.py
def makeFitter(fitdata, expdata=None, callback=None):
    """Return a fit object created from the provided ekin fit data"""
    
    if fitdata.has_key('model'):
        model = fitdata['model']
        vrs = getFitVars(fitdata)
        if len(vrs)==0:
            return None
    else:
        print 'no model provided to create fitter'
        return None
    return getFitter(model, vrs=vrs, expdata=expdata, callback=callback)
Return a fit object created from the provided ekin fit data
Return a fit object created from the provided ekin fit data
Return a fit object created from the provided ekin fit data
def makeFitter(fitdata, expdata=None, callback=None):
    if fitdata.has_key('model'):
        model = fitdata['model']
        vrs = getFitVars(fitdata)
        if len(vrs)==0:
            return None
    else:
        print 'no model provided to create fitter'
        return None
    return getFitter(model, vrs=vrs, expdata=expdata, callback=callback)
def makeFitter ( fitdata , expdata = None , callback = None ) : if fitdata . has_key ( 'model' ) : model = fitdata [ 'model' ] vrs = getFitVars ( fitdata ) if len ( vrs ) == 0 : return None else : print 'no model provided to create fitter' return None return getFitter ( model , vrs = vrs , expdata = expdata , callback = callback )
Return a fit object created from the provided ekin fit data
Return a fit object created from the provided ekin fit data
"""Return a fit object created from the provided ekin fit data"""
fitdata
expdata
callback