Skip to main content

Tools to study the dynamics of protoplanetary disks.

Project description

eddy - Extracting Disk Dynamics




PyPI version Python versions Documentation Status DOI ascl:1901.010

What Is It?

eddy is a suite of Python tools to recover precise velocity 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.

As of v3.0.0, the rotation-map model and likelihood are JAX-backed: JIT-compiled, autodifferentiable, and GPU-aware. Sampling can be done either with emcee (the default) or numpyro NUTS via mcmc='numpyro'; the Gaussian-process annulus path uses tinygp.

Installation

The most simple method is with pip,

pip install astro-eddy

Runtime dependencies are pulled in automatically: numpy, scipy, matplotlib, jax, jaxlib, emcee, zeus-mcmc, numpyro, tinygp, corner, and bettermoments. Python 3.10 or newer.

For an editable development install,

git clone https://github.com/PlanetFormationLab/eddy.git
cd eddy
pip install -e ".[test]"   # add test extras for running pytest

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.

Useage

For guides on how to use eddy you will find extensive examples in the documents. We shamelessly recommend bettermoments to make the moment maps required for the fitting.

Citations

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

@article{eddy,
    doi = {10.21105/joss.01220},
    url = {https://doi.org/10.21105/joss.01220},
    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.

Works Using eddy

A list of the works using (or at least citing) eddy can be found on ADS.

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

astro_eddy-3.0.0.tar.gz (97.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

astro_eddy-3.0.0-py3-none-any.whl (93.6 kB view details)

Uploaded Python 3

File details

Details for the file astro_eddy-3.0.0.tar.gz.

File metadata

  • Download URL: astro_eddy-3.0.0.tar.gz
  • Upload date:
  • Size: 97.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for astro_eddy-3.0.0.tar.gz
Algorithm Hash digest
SHA256 68456ff942ae6964e16a2ac3a1554038265ccf3ef3923853c3b92bda82d7b32d
MD5 5702845953e109886e9383d74fe20e01
BLAKE2b-256 b14bca27802bd5be776a89cad9b44d3ce54515406565a0cd1a54b93bc704ccd2

See more details on using hashes here.

File details

Details for the file astro_eddy-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: astro_eddy-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 93.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for astro_eddy-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 090c584d563521f057109555f25fefc48d4c10b24e1012acb38a654c18b887e4
MD5 2e6b3c6c560197148acfb91e162bb365
BLAKE2b-256 39e309b9170e993be364616a057e192391969b77789ecb2e0dcfa7e071d91f02

See more details on using hashes here.

Supported by

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