annayqho / TheCannon

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

The Cannon with uncertainties and scaling of the labels #70

Closed aceilers closed 7 years ago

aceilers commented 7 years ago

Hi Anna,

so this should be the new version of The Cannon now that can take uncertainties in some of the labels. I can send you the file how you can call the new functions. Basically there is a useErrors variable now that you can just set to False and your Cannon should run as before. If you set it to True you need an additional input to the data set called tr_delta, which has the same shape as tr_labels and contains the 1sigma errors. We also added a scaling to the labels.

Hope that works :) Christina