Skip to main content
Ctrl+K
Astropy
  • About
    • About Astropy
    • Code of Conduct
    • Acknowledging & Citing
    • History
  • Documentation
    • astropy
    • asdf-astropy
    • astropy-healpix
    • astroquery
    • ccdproc
    • photutils
    • regions
    • reproject
    • specreduce
    • specutils
  • Get Help
  • Contribute
  • Affiliated Packages
  • Team
  • GitHub
  • About ▾
    • About Astropy
    • Code of Conduct
    • Acknowledging & Citing
    • History
  • Documentation ▾
    • astropy
    • asdf-astropy
    • astropy-healpix
    • astroquery
    • ccdproc
    • photutils
    • regions
    • reproject
    • specreduce
    • specutils
  • Get Help
  • Contribute
  • Affiliated Packages
  • Team
  • GitHub
Logo image

Astropy v8.0.0b1

  • Getting Started
  • User Guide
    • Constants (astropy.constants)
    • Units and Quantities (astropy.units)
    • N-Dimensional Datasets (astropy.nddata)
    • Data Tables (astropy.table)
    • Time and Dates (astropy.time)
    • Time Series (astropy.timeseries)
    • Astronomical Coordinate Systems (astropy.coordinates)
      • Working with Angles
      • Using the SkyCoord High-Level Class
      • Transforming between Systems
      • Solar System Ephemerides
      • Working with Earth Satellites Using Astropy Coordinates
      • Formatting Coordinate Strings
      • Separations, Offsets, Catalog Matching, and Related Functionality
      • Using and Designing Coordinate Representations
      • Using and Designing Coordinate Frames
      • Working with Velocities in Astropy Coordinates
      • Accounting for Space Motion
      • Using the SpectralCoord Class
      • Using the StokesCoord Class
      • Description of the Galactocentric Coordinate Frame
      • Usage Tips/Suggestions for Methods That Access Remote Resources
      • Common mistakes
      • Important Definitions
      • Fast In-Place Modification of Coordinates
      • Example Gallery
        • Transforming positions and velocities to and from a Galactocentric frame
        • Create a new coordinate frame class for Mars
        • Determining and plotting the altitude/azimuth of a celestial object
        • Create a new coordinate class (for the Sagittarius stream)
        • Convert a radial velocity to the Galactic Standard of Rest (GSR)
      • Reference/API
    • World Coordinate System (astropy.wcs)
    • Models and Fitting (astropy.modeling)
    • Uncertainties and Distributions (astropy.uncertainty)
    • Overview of Astropy File I/O
    • High-level Unified File I/O
    • FITS File Handling (astropy.io.fits)
    • Text Tables (astropy.io.ascii)
    • VOTable Handling (astropy.io.votable)
    • ECVS, HDF5, Parquet, PyArrow CSV, YAML (astropy.io.misc)
    • Cosmological Calculations (astropy.cosmology)
    • Convolution and Filtering (astropy.convolution)
    • IERS data access (astropy.utils.iers)
    • Data Visualization (astropy.visualization)
    • Astrostatistics Tools (astropy.stats)
    • Masked Values and Quantities (astropy.utils.masked)
    • SAMP (Simple Application Messaging Protocol) (astropy.samp)
    • Configuration System (astropy.config)
    • I/O Registry (astropy.io.registry)
    • I/O Typing (astropy.io.typing)
    • Logging system
    • Python warnings system
    • Astropy Core Package Utilities (astropy.utils)
    • Environment variables
    • Astropy Glossary
  • Contributing
  • Project Details
  • User Guide
  • Astronomical Coordinate Systems (astropy.coordinates)
  • 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.coordinates sub-package.

  • Transforming positions and velocities to and from a Galactocentric frame
  • Create a new coordinate frame class for Mars
  • Determining and plotting the altitude/azimuth of a celestial object
  • Create a new coordinate class (for the Sagittarius stream)
  • Convert a radial velocity to the Galactic Standard of Rest (GSR)

previous

Fast In-Place Modification of Coordinates

next

Transforming positions and velocities to and from a Galactocentric frame

Edit

© Copyright 2011–2026, The Astropy Developers.

Code of Conduct

Updated on 21 May 2026 , built with Sphinx 9.1.0