-
Notifications
You must be signed in to change notification settings - Fork 5
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
Misc. fitting issues #15
Comments
I think that's because the new base class doesn't use the scipy find_peaks_cwt function to identify peaks. Looks like it needs peaks to be specified. I think we'll need to change that in the base class to get it to estimate the peak locations. Maybe run it by @Zsailer? |
This is true for @jharman25's first point. Currently, you have to specify the number of peaks or it will throw an error. We need to reimplement @jharman25's second point is a little more subtle. The lorentzian model may need more precise guess parameters for the width and amplitudes of the peaks. I think we should include logic somewhere that computes smarter guesses for each parameter. Right now, it sets all parameters equal to 1. |
Cool, cool. Thanks for the explanation! |
Not sure if this is an ambigauss problem or just a general fitting problem, but wanted to note it here.
The text was updated successfully, but these errors were encountered: