|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Reading HPOL DataThe HPOL data files (see also Data Products) are written in FITS format. The fluxes for the ultraviolet spectrum are stored in the primary array. The wavelengths, Stokes parameters Q and U (in percent), and a combined error estimate for Q and U (also in percent), are stored in a binary table extension. If no polarization data are available, there is no binary table extension. Various FITS readers may be used to read the data files. The IUEDAC software provides general FITS file reading tools written in IDL , such as ifitsrd, which can be used to read the HPOL data files. The header, extension header, flux, wavelengths, Stokes parameters U and Q, and an error estimate are returned. The Stokes parameters must be converted to provide polarization and position angle as a function of wavelength. For instance, to read the file hpolret_ab-aur_19940401_hw.fits: ifitsrd,'hpolret_ab-aur_19940401_hw.fits',-1,header,exthead,flux The linear polarization and position angle may then be computed from Q and U. The following is an Fortran subroutine
SUBROUTINE QUPT(Q,U,P,T) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|