Skip to content

Abhaypru/SpiralMap

Repository files navigation

SpiralMap

A Python library of the Milky Way's spiral arms.

pypi status Documentation Status

The detailed documentation is hosted on Read the docs.

For a quickstart please refer to the accompanying Jupyter notebook.

Read the preprint at arxiv.

Features

  • Access 8 independent spiral arm models from literature. We are open to requests for including other spiral arm models.
  • Extract the 2D trace of individual or all spiral arms from a particular model.
  • Directly overplot spiral arms with choice of Cartesian or Polar coordinates, and in Heliocentric or Galactocentric frames.

Installation

Install the latest released version using pip:

   pip install SpiralMap

Acknowledging SpiralMap

If you make use of our package, please cite the accompanying paper.

Additionally, please also cite the individual spiral model used. To facilitate this, we provide a BibTex file with the relevant citations in 'datafiles/spiral.bib' (on GitHub), or alternatively these are also available on Read the docs.

About

Code for Prusty & Khanna 2025 (SpiralMap)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •