Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improved version for GAUSSFIT() + initial import of "test_gaussfit.pro" #1671

Merged
merged 5 commits into from
Nov 14, 2023

Conversation

alaingdl
Copy link
Contributor

Hum, the c++ code is far from clean & perfect, but it is working now on Linux & OSX and survive to tens of tests incorporated in new "test_gaussfit.pro" code.

I rewrote completely the function which estimated the guess of parameters. It is not perfect but simple and robust when delta_X are more or less constants. It should survive when the steps in X are constants and the quadradic part is not too strong.

Feedback & problematic cases very welcome (in new issues)

Hum, I forgot to removed DEBUG & cout ...

Copy link

codecov bot commented Nov 13, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4052329) 41.07% compared to head (a888f8f) 41.58%.
Report is 27 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1671      +/-   ##
==========================================
+ Coverage   41.07%   41.58%   +0.51%     
==========================================
  Files         356      356              
  Lines       95061    95178     +117     
  Branches    19539    19556      +17     
==========================================
+ Hits        39045    39580     +535     
+ Misses      56016    55598     -418     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@alaingdl alaingdl merged commit c453dcb into gnudatalanguage:master Nov 14, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants