Skip to content

MingjieJian/pymoog

Repository files navigation

pymoog

DOI Documentation Status

News

pymoog is now 1.0.0! The main drivers are all availalbe (binary, doflux, synpop and abpop newly added), with many bugs fixed. Note that there are some breaking changes compared to the previous versions, and the description will be availabe in the documentation soon.

Thanks the very useful synpop and abpop example provided by Charli Sakari.


pymoog is a python3 wrapper for running the LTE spectrum synthesis part of the code MOOG written by Chris Sneden. It wraps up the (a bit) teidous steps for generating a synthetic spectra into four python commands, while retaining the functions provided by MOOG. Besides, it also provides some other functions for analysing the MOOG result, mainly contribution function and fitting stellar parameters.

Here you can:

  • generate a synthetic spectra
  • alter the stellar parameters for the spectra, such as $T_\mathrm{eff}$, metallicity, abundance ratios or resolution.
  • determine some stellar parameters, such as microturbulance velocity or abundance ratios.

without considering:

  • where to grab stellar atmosphere models and line lists
  • how to interpolate the models.

Documentation (including the installation) is available in here.

Acknowledgement

This package has made use of the VALD database, operated at Uppsala University, the Institute of Astronomy RAS in Moscow, and the University of Vienna.