Skip to content

Fitting time domain data of electrical circuit - Best Algorithm? #2

Description

@DerAlbiG

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.
Misfit

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions