Skip to main content

The python wrapper to run LTE spectra synthesis code MOOG.

Project description


DOI Documentation Status


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.


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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymoog-1.0.0.tar.gz (945.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page