Snippet: Fix the WCS for a FITS image file
The code snippet which follows will allow you to fix an error in the astrometry of a FITS image. This is especially common with HST images because the astrometrical errors can be an arcsecond or more. The method used assumes that you have extracted the positions (RA, Dec) for at least 2 image point sources for which you have more accurate reference positions (e.g. from SDSS or ...
Tutorial: PyFITS: FITS files in python - part 2
PyFITS has many methods that provide more control over manipulating FITS files, than that provided by the convenience functions discussed in part 1 of this article. In the following sections we discuss several of these methods. ContentsPyFITS: FITS files in Python - part 2
Tutorial: PyFITS: FITS files in Python
In this article, we provide examples of using the python module PyFITS for working with FITS data. We first go through a brief overview of the FITS standard, and then we describe ways for accessing information in FITS files, using convenience functions defined in PyFITS. PyFITS offers facilities that provide more advanced access to information in FITS files, but these will not be ...PyFITS: FITS files in Python