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.1.tar.gz (98.0 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.1-py3-none-any.whl (93.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: astro_eddy-3.0.1.tar.gz
  • Upload date:
  • Size: 98.0 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.1.tar.gz
Algorithm Hash digest
SHA256 81b1c7e0eba9f7ee7aed5fb5ec23ece6776d3cb327a91737104e0fe3c3c7aa1a
MD5 eecb18a6af2eb3f998e19d72776e636e
BLAKE2b-256 5c54973c6d3d54dc152609a9d1692bc7dee5add1f8f977429e076fb1b25134f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: astro_eddy-3.0.1-py3-none-any.whl
  • Upload date:
  • Size: 93.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 df34bd6b995568f9922f3268ab6fe6d1a6a24362372adaef73f2eb49c5ca596f
MD5 babb84787f7a0b88f45f7dcd92291a70
BLAKE2b-256 56a6bb2fef8d593e2c148190fe1292b76039fbca573d04b6eedbd1b6200026f5

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