annayqho / TheCannon

a data-driven method for determining stellar parameters and abundances from stellar spectra
MIT License
39 stars 16 forks source link

Typo in continuum_normalization.py #49

Closed tingyuansen closed 8 years ago

tingyuansen commented 9 years ago

In continuum_normalization.py, both

norm_fluxes[jj,:][bad] = 1. norm_fluxes[jj,:][bad] = 0.

occur in the same code (different lines, though), but they should be consistent. I am guessing one of them has to be wrong.