Stellar Atmospheric Parameters - Machine Learning.
Using virtualenv
and pip
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
Input linelist should consists of wavelength in the first column and EW in the
last column. The input file is read with np.loadtxt
using standard settings.
Note that there can be other columns, however the first and last have to be
wavelength and EW, respectively.
This is useable in the optical and tested on nearly 600 FGK dwarf stars. The
wavelengths can be seen in the file called linelist.lst
.
$ python parametersML.py -l linelist.dat
Note that a model is already provided (FASMA_ML.pkl
)
$ python parametersML.py -t -c [linear,ridge,lasso]
$ python parametersML.py -h
Since we use a subset of the line list by Sousa+ 2008, we kindly ask you to cite this paper if you use this tool in your research.
We are also very interested if you find this tool useful, so do let us know.
- At the moment this does not include derivation of stellar parameters directly from a spectrum. We use a subset of the line list by Sousa+ 2008.