pwtools
Update dict with fitting functions: self.fitfunc[what] = func.
self.fitfunc[what] = func
what (str) – One of self.fitfunc.keys()
self.fitfunc.keys()
func (callable) – function with signature func(x,y) which returns a Spline-like object, e.g. Spline(x,y,k=5)
func(x,y)
Spline
Spline(x,y,k=5)