Fit_continuum fitting method is not robust to noise
- Dominant language
- Python
- Stars
- 204
- Forks
- 134
- Avg merge
- 12h 55m
- Merged PRs (30d)
- 1
Description
Using fitting.fit_continuum to fit a simple linear continuum to two continuum windows gives significantly different slopes for two different realizations of the noise. The chi^2 (by-eye) value sometimes appears to be unacceptable. Here are two examples for different realizations of the noise, in the following continuum windows:
fitwindows1=[(5125.*u.AA, 5175.*u.AA),(5225.*u.AA, 5275.*u.AA)]

Contributor guide
Research direction
Start by reproducing the issue with fitting.fit_continuum and the supplied fitwindows1 values, using multiple noise realizations. Compare the resulting slopes and by-eye chi^2 values; done means the fitting behavior is acceptably consistent across those realizations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100