echelle

echelle is a simple Python package for creating and manipulating echelle diagrams. Echelle diagrams are used mainly in asteroseismology where they function as a diagnostic tool for estimating \(\Delta\nu\), the separation between modes of the same degree \(\ell\).

In an echelle diagram, the power spectrum of the star is cut into equal chunks of the large separation, \(\Delta\nu\), and stacked on top of eachother. For a correct value of \(\Delta\nu\), modes of the same degree will appear as a line.

_images/example_echelle.gif

echelle provides the ability to dynamically change \(\Delta\nu\). This allows for the rapid identification of the correct value. echelle features:

  • Performance optimized dynamic echelle diagrams.

  • Multiple backends for supporting Jupyter or terminal usage.

echelle is being actively developed in a public repository on GitHub. Any contribution is welcome! If you have any trouble, open an issue .

Quickstart

  1. Install this package:

    pip install echelle
    
  2. Calculate the power spectrum of your star:

    import echelle
    freq, power = echelle.power_spectrum(time, flux)
    
  3. Make an interactive echelle diagram in your Jupyter notebook!:

    echelle.interact_echelle(freq, power, dnu_min, dnu_max)
    

API

License & attribution

Copyright 2019, 2020, 2021 Daniel Hey

The source code is made available under the terms of the MIT license.

If you make use of this code, please cite this package and its dependencies. You can find more information about how and what to cite in the citation documentation.

These docs were made using Sphinx and the Typlog theme. They are built and hosted on Read the Docs.

Changelog