smpl.fit.auto

smpl.fit.auto(datax, datay, funcs=None, **kwargs)[source]

Automatically loop over functions and fit the best one.

Parameters

funcsfunction array

functions to consider as fit. Default all smpl.functions.

**kwargsoptional

see fit_kwargs().

Returns

The best fit function and it’s parameters and a lambda where the parameters are already applied to the function.