Skip to main content
Ctrl+K
Astropy v7.0.1 - Home Astropy v7.0.1 - Home
  • Getting Started
  • User Guide
  • Contributing
  • Project Details
  • Tutorials
  • GitHub
  • Getting Started
  • User Guide
  • Contributing
  • Project Details
  • Tutorials
  • GitHub

Section Navigation

  • Installation
  • What’s New in Astropy 7.0?
  • Importing astropy and Sub-packages
  • Example Gallery
    • astropy.coordinates
  • Tutorials
  • Get Help
  • Contribute and Report Problems
  • About the Astropy Project
  • Getting Started
  • Example gallery

Example gallery#

This gallery of examples shows a variety of relatively small snippets or examples of tasks that can be done with the Astropy core package.

Longer-form tutorials (or tutorials for affiliated packages) belong at https://learn.astropy.org (and can be submitted at the associated github repository).

astropy.coordinates#

General examples of the astropy.coordinates subpackage.

Convert a radial velocity to the Galactic Standard of Rest (GSR)

Convert a radial velocity to the Galactic Standard of Rest (GSR)

Determining and plotting the altitude/azimuth of a celestial object

Determining and plotting the altitude/azimuth of a celestial object

Create a new coordinate frame class for Mars

Create a new coordinate frame class for Mars

Transforming positions and velocities to and from a Galactocentric frame

Transforming positions and velocities to and from a Galactocentric frame

Create a new coordinate class (for the Sagittarius stream)

Create a new coordinate class (for the Sagittarius stream)

Download all examples in Python source code: examples_python.zip

Download all examples in Jupyter notebooks: examples_jupyter.zip

Gallery generated by Sphinx-Gallery

previous

Importing astropy and Sub-packages

next

astropy.coordinates

On this page
  • astropy.coordinates
Edit

© Copyright 2011–2025, The Astropy Developers.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.16.1.