apogee_tools is a forward modeling framework for fitting atmospheric models to stellar spectra. Following from Blake et al. 2010, we synthesize the model:


where L is the high resolution model template (parameterized by Teff, logg, and [Fe/H]), K is the rotational broadening kernel (parameterized by vsini), T is telluric spectrum (with variable strength alpha), and LSF is the line spread function of the instrument. Optimal fits and uncertainties are sampled using Markov Chain Monte Carlo, implemented via emcee (Foreman-Mackey et al. 2012).


  • Christian Aganze (UCSD)
  • Jessica Birky (UCSD)
  • Adam Burgasser, PI (UCSD)
  • Dino Chih-Chun Hsu (UCSD)
  • Elizabeth Moreno (Guanajuato)
  • Chris Theissen (UCSD)

Code and documentation is maintained by Jessica Birky here, and is currently under construction. Feel free to contact jbirky@ucsd.edu with suggestions.

This code also borrows from several other sources, see: