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)
Determining and plotting the altitude/azimuth of a celestial object
Transforming positions and velocities to and from a Galactocentric frame
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
Accessing data stored as a table in a multi-extension FITS (MEF) file
Convert a 3-color image (JPG) to separate FITS images