astropy:docs
  • Index
  • Modules

Navigation

  • next »
  • « previous |
  • Astropy v5.2.1 »
  • 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. Contributions from the community are encouraged!

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¶

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)¶

astropy.io¶

General examples of the astropy.io subpackages.

Create a multi-extension FITS (MEF) file from scratch

Create a multi-extension FITS (MEF) file from scratch¶

Create a very large FITS file from scratch

Create a very large FITS file from scratch¶

Convert a 3-color image (JPG) to separate FITS images

Convert a 3-color image (JPG) to separate FITS images¶

Download all examples in Python source code: examples_python.zip

Download all examples in Jupyter notebooks: examples_jupyter.zip

Gallery generated by Sphinx-Gallery

Page Contents

  • Example gallery
    • astropy.coordinates
    • astropy.io

Page Source   Back to Top

© Copyright 2011–2023, The Astropy Developers.
Created using Sphinx 5.3.0.   Last built 02 Feb 2023.