astropy:docs
  • Index
  • Modules

Navigation

  • next »
  • « previous |
  • Astropy v4.0.dev25571 »
  • 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 http://tutorials.astropy.org (and can be submitted at the associated github repository).

astropy.coordinates¶

General examples of the astropy.coordinates subpackage.

../../_images/sphx_glr_rv-to-gsr_thumb.png

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

../../_images/sphx_glr_plot_obs-planning_thumb.png

Determining and plotting the altitude/azimuth of a celestial object

../../_images/sphx_glr_plot_galactocentric-frame_thumb.png

Transforming positions and velocities to and from a Galactocentric frame

../../_images/sphx_glr_plot_sgr-coordinate-frame_thumb.png

Create a new coordinate class (for the Sagittarius stream)

astropy.io¶

General examples of the astropy.io subpackages.

../../_images/sphx_glr_create-mef_thumb.png

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

../../_images/sphx_glr_fits-tables_thumb.png

Accessing data stored as a table in a multi-extension FITS (MEF) file

../../_images/sphx_glr_plot_fits-image_thumb.png

Read and plot an image from a FITS file

../../_images/sphx_glr_modify-fits-header_thumb.png

Edit a FITS header

../../_images/sphx_glr_skip_create-large-fits_thumb.png

Create a very large FITS file from scratch

../../_images/sphx_glr_split-jpeg-to-fits_thumb.png

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

Generated by Sphinx-Gallery

Page Contents

  • Example gallery
    • astropy.coordinates
    • astropy.io

Page Source   Back to Top

© Copyright 2011–2019, The Astropy Developers.
Created using Sphinx 1.7.5.   Last built 26 Aug 2019.