cmastro

Colormaps for astronomers

MIT License

Downloads
91
Stars
21

cmastro: colormaps for astronomers 🔭


|Documentation Status|

This package contains custom colormaps that have been used in various astronomical applications, similar to cmocean for oceanography <https://matplotlib.org/cmocean/>. The colormaps are available as raw data files through the GitHub source repository <https://github.com/adrn/cmastro/tree/main/cmastro/cmaps>, or available to use (through this Python package) as matplotlib colormaps <https://matplotlib.org/stable/tutorials/colors/colormaps.html>_.

|cmaps|

Also check out these other awesome colormap or color palette projects:

  • cmasher <https://cmasher.readthedocs.io/>_
  • colorcet <https://colorcet.holoviz.org/>_
  • palettable <https://jiffyclub.github.io/palettable/>_

Installation

|PyPI|

cmastro is available via pip, which is the recommended installation method. To install the latest stable version using pip, use::

python -m pip install cmastro

To install the latest development version::

python -m pip install git+https://github.com/adrn/cmastro

License

|License|

cmastro is free software made available under the MIT License. For details see the LICENSE <https://github.com/adrn/gala/blob/main/LICENSE>_ file. Copyright 2021 the contributors.

.. .. |Build status| image:: https://github.com/adrn/gala/workflows/nix-tests/badge.svg?branch=main .. :target: https://github.com/adrn/gala/actions?query=workflow%3Anix-tests

.. |cmaps| image:: https://cmastro.readthedocs.io/en/latest/_images/index-1.png :target: https://cmastro.readthedocs.io .. |License| image:: http://img.shields.io/badge/license-MIT-blue.svg?style=flat :target: https://github.com/adrn/cmastro/blob/main/LICENSE .. |PyPI| image:: https://badge.fury.io/py/cmastro.svg :target: https://badge.fury.io/py/cmastro .. |Documentation Status| image:: https://readthedocs.org/projects/cmastro/badge/?version=latest :target: http://cmastro.readthedocs.io/