-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Hi Rookfighter,
i try using your least-squares lib to fit measured time-domain signals of an electrical circuit to extract the circuits component values.
I have a reference implementation in python running and i have some sort of success using your lib with the GaussNewton method and the ArmijoBacktracking step size algorithm. (basically your provided sample but i use my own error function object).
However i fail to get the quality of fitting that python provided and the same error function is much slower in c++ compared to python.
Python obviously may use different algorithms and I wonder if you would know what algorithm would fit my needs.
And i fully realize that it is a damn specific question, and i dont know how to give more detail about it given this communication method.
The funny thing is that this is supposed to work on a microcontroller and has to run factor 10.000x faster in the end. I am a bit lost.