File: loading_from_fits.rst

package info (click to toggle)
astropy 7.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 35,328 kB
  • sloc: python: 233,437; ansic: 55,264; javascript: 17,680; lex: 8,621; sh: 3,317; xml: 2,287; makefile: 191
file content (8 lines) | stat: -rw-r--r-- 289 bytes parent folder | download | duplicates (4)
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