Next: mappat
Up: GLESP
Description and Examples
Previous: f2map
Description
mapcut modifies a map in
various ways. It can single out an area (either
circular or "rectangular") and set the temperature values to zero in
the
area or outside the area. Furthermore, it can systematically remove (by
setting
temperature value zero) or withhold multiple
circular and/or "rectangular"
areas by reading in a file containing those areas' radii/positions.
mapcut can dissect a
"rectangular" area from a map and output to a
file in FITS format, which can be viewed by xv program.
mapcut can truncate a map to a
given temperature range. It can also display the temperature value at a
given position in Galactic coordinate or read in multiple positions in
various coordinate systems and
display their temperature values.
Examples
- Selecting one zone:
- mapcut map.fits -rm
-0.1,0,0.1,6.29
-o cutgalp.fits
reads the map ' map.fits' and
removes the
Galactic plane area at (radians) and output
to ' cutgalp.fits'.
- mapcut map.fits -keep
20.d,300.d,40.d,320.d -d 2.725 -o cutmap.fits
reads the map ' map.fits' and
keeps the
rectangular area bounded by Galactic
latitudes 20, 40 (degs) and longitudes 300, 320 (degs). The rest
of pixels are set at T = 2.725 K and output to ' cutmap.fits'.
- mapcut map.fits -keep
-20.d,340.d,20.d,380.d -o cutmap.fits
reads the map ' map.fits' and
keeps the
square area bounded by Galactic
latitudes -20, 20 (degs) and longitudes 340, 20 (degs). The output
is to ' cutmap.fits'.
- mapcut map.fits -sq 20d,10d,50d,30d
-o cut.fits
dissects from ' map.fits' a
rectangular
map bounded by Galactic
latitude 20 and 50 (degs) and longitude 10 and 30 (degs) and outputs
this rectangular area to
file ' cut.fits'.
- Selecting multiple zones:
- mapcut map.fits -zf zf.file -R -o
map.out.fits
reads map from file ' map.fits'
and the
Galactic coordinates of
multiple zones from ASCII file ' zf.file'
and set pixel
values inside
of these zones equal to zero. The output is in ' map.out.fits'.
- Displaying temperature values:
- Truncating the map temperature fluctuations:
- mapcut -C -0.3,0.3 map.fits -o
map.out.fits
reads map from file ' map.fits'
and truncates
the temperature values to
the range [-0.3,0.3] and outputs the map to ' map.out.fits'.
Next: mappat
Up: GLESP
Description and Examples
Previous: f2map
Gauss Legendre Sky Pixelization