File: loading_from_fits.rst

package info (click to toggle)
astropy 7.1.1-4
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 33,816 kB
  • sloc: python: 237,392; ansic: 55,195; lex: 8,621; sh: 3,317; xml: 2,399; makefile: 191
file content (8 lines) | stat: -rw-r--r-- 289 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
Loading WCS Information from a FITS File
----------------------------------------

This example loads a FITS file (supplied on the command line) and uses
the FITS keywords in its primary header to create a WCS and transform.

.. literalinclude:: examples/from_file.py
   :language: python