Tutorial notebooks
Here are a few tutorials in the form of Jupyter Notebooks to help you get started using Korg. Each of these is a link to a folder in GitHub containing the notebook (the .ipynb
file) and any supporting data. You can download everything if you want to run the notebook yourself, or just view the notebook on GitHub.
- The Basics demonstrates how to read linelists, read or interpolate model atmospheres, and synthesize spectra. It also goes into some of the other data returned when you synthesize a spectrum.
- Fitting demonstrates the use of
Korg.Fit.fit_spectrum
to fit observational data. - EW fitting demonstrates the use of
Korg.Fit.ews_to_abundances
to calculate abundances from equivalent widths.