This page used to test IDMFitter.LMFit() It uses events to calculate function and derivative. Following expression will be fitted: Y(X)=0.123+3.456*X-0.345*X2+0.00567*X3 Numeric differentiation Use Fitting Options Results: