-
Notifications
You must be signed in to change notification settings - Fork 65
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
Small changes in fitting.py and models.py #58
Conversation
* in fit_lc, set the output model parameters to the values that minimize the chi2
* bandoverlap was not accounting for added effects (e.g. dust), so that it could erroneously return True for a band that extends further than a model effect does. * * now set checkeffects=True to include dust, etc. when evaluating max/min wavelengths
Merging changes from original repository with srodney fork before issuing a new PR
Bug fix in The intent with |
With |
I meant |
"I guess you found cases where the model parameters were close (but not identical) to those reported in the result object?" Yes... though I don't have a good test-case ready at hand. "With Model.bandoverlap I think it would be sufficient to change self._source.minwave() * (1. + z) to self.minwave() and similarly for maxwave()." Yep. I think you're right. Fixed in the latest commit. |
Looks good. As a side note, instead of doing |
Small changes in fitting.py and models.py
Added checkeffects to bandoverlap and propagating min chi2 parameter values into best-fit model objects.