Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Tools to recover expectionally precise rotation curves from spatially resolved spectra.

Project description

eddy - Extracting Disk DYnamics

status DOI ascl:1901.010 Documentation Status

eddy is a suite of Python tools to recover precise rotation profiles of protoplanetary disks from Doppler shifted line emission. eddy makes fitting of first moment maps and the inference of a rotation velocity from an annulus of spectra a breeze.


To install the eddy packge, first clone the directory, then in the main directory,

pip install .

The only real dependencies for this are numpy, scipy, matplotlib, emcee, at least v3.0 or higher, and corner. If you want to run the Gaussian Process method you will also need celerite which can be easily installed if you follow their installation guide.

If things have installed correctly you should be able to run the Jupyter Notebooks with no errors. If something goes wrong, please open an issue.

Something which is pip installable is currently work in progress.


For guides on how to use eddy you will find extensive examples in the documents.

In brief, fit_annulus contains the functionality to infer the rotation profile from an annulus of Doppler shifted spectra, as discussed in Teague et al. (2018a,b). Functions to fit the rotation map (we shameless recommend bettermoments to make these), including a flared surface geometry can be found in fit_cube. This also contains the functionality to deproject images using the geometrical properties of the best fit model.


If you use eddy as part of your research, please cite the JOSS article:

    doi = {10.21105/joss.01220},
    url = {},
    year = {2019},
    month = {feb},
    publisher = {The Open Journal},
    volume = {4},
    number = {34},
    pages = {1220},
    author = {Richard Teague},
    title = {eddy},
    journal = {The Journal of Open Source Software}

A full list of citations including dependencies can be found on the citations page.

Project details

Download files

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

Files for astro-eddy, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size astro_eddy-1.0.0-py3-none-any.whl (32.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size astro-eddy-1.0.0.tar.gz (36.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page