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).
-
mappat -fe extsource.txt -o mapsrc.fits -nx 401 -np 802
reads in a list of extended sources recorded in the file
'
extsource.txt', which contains 6 columns:
Right Ascension (in the format 'hh:mm:ss.s"),
Declination (in the format 'dd:mm:ss.s"),
Amplitude (samilar units to map's ones),
size of minor axis of ellipse (arcmin),
size of major axis of ellipse (arcmin),
positional angle (degrees).
The output is to file '
mapsrc.fits' with 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
Verkhodanov Oleg
2009-04-01