Skip to main content

A Python package for plotting and interacting with echelle diagrams.

Project description

Echelle

DOI

Echelle is a Python package for plotting and interacting with echelle diagrams. In an echelle diagram, the amplitude spectrum of a star is stacked in equal slices of delta nu, the large separation.

Installation

pip install echelle or download the git repository and python setup.py install

Usage

For a dynamic interface:

from echelle import interact_echelle
interact_echelle(frequency, power, dnu_min, dnu_max)

If you're using echelle in a Jupyter notebook, I suggest calling %matplotlib notebook first.

To plot a non-interactive echelle diagram,

from echelle import plot_echelle
plot_echelle(frequency, power, dnu)

See the example.ipynb for common usage!

Citing

If you make use of echelle in your work, please consider citing the Zenodo listing

@software{daniel_hey_2020_3629933,
  author       = {Daniel Hey and
                  Warrick Ball},
  title        = {{Echelle: Dynamic echelle diagrams for 
                   asteroseismology}},
  month        = jan,
  year         = 2020,
  publisher    = {Zenodo},
  version      = {1.4},
  doi          = {10.5281/zenodo.3629933},
  url          = {https://doi.org/10.5281/zenodo.3629933}
}

Thanks to Adam Hamilton for making the echelle gif!

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

echelle-1.4.12.tar.gz (3.0 MB 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