Next: ntot
Up: GLESP
Description and Examples
Previous: mapcut
Description
mappat converts a map in FITS
binary to ASCII format. Creation/Conversion
from ASCII to FITS can be done in equatorial, Galactic and spherical
polar coordinates.
On conversion from ASCII to FITS, the resolution of the GLESP map
has to be assigned.
Examples
- ASCII to FITS:
- mappat -fm map.ascii -o map.fits
-nx
201 -np 402
converts a map in ASCII format ' map.ascii'
(in spherical
polar coordinate) to FITS binary format and
outputs to ' map.fits' with the
resolution (nx,np)=(201,402).
- mappat -fp pointsource.txt -o
map.ps.fits -nx 401 -np 802
reads in a list of point sources (in equatorial coordinates) recorded
in the file
' pointsource.txt', which
contains 3 columns: R.A., Dec., amplitudes of
the point sources. The output is in ' map.ps.fits'
with the
resolution
(nx,np)=(401,802).
- mappat -fp pointsource.txt -gal -o
map.ps.fits -nx 401 -np 802
reads in a list of point sources (in Galactic coordinates) recorded in
the file
' pointsource.txt', which
contains 3 columns: , , amplitudes of
the point sources. The output is in ' map.ps.fits'
with the
resolution
(nx,np)=(401,802).
- FITS to ASCII:
- mappat -pr map.fits -o map.ascii
converts a map in FITS binary format ' map.fits'
to ASCII format
and
outputs to ' map.ascii'.
Next: ntot
Up: GLESP
Description and Examples
Previous: mapcut
Gauss Legendre Sky Pixelization