Tutorial notebooks
Here are a few tutorials in the form of Jupyter Notebooks to help you get started using Korg. Each of the following bullets link to a folder on GitHub containing the associated Julia and Python notebooks (the .ipynb
files) 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.
Slurm example
There is an example script that shows how you might use Korg to generate many spectra within a Slurm job. Note that this example creates a file for each spectrum, which may not be desireable on your HPC environment.