output_map


This routine writes a full sky HEALPix map into a FITS file.


Location in HEALPix directory tree: src/f90/mod/fitstools.f90


FORMAT

call output_map( map, header, filename [,extno] )


ARGUMENTS

name&dimensionality kind in/out description
       
map(0:,1:) SP IN full sky map(s) to be output
header(LEN=80)(1:) CHR IN string array containing the FITS header to be included in the file
filename(LEN=filenamelen) CHR IN filename of the FITS-file to contain HEALPix map(s).
extno I4B IN extension number in which to write the data (0 based).
default:0      


EXAMPLE:

use healpix_types
use fits_tools, only : output_map
real(sp), dimension(0:12*16**2-1) :: map
character(len=80), dimension(1:10) :: header
header(:) = ''
map(:) = 1.
call output_map(map, header, 'map.fits')

generates a simple map (made of 1s) and output in the FITS file map.fits

MODULES & ROUTINES

This section lists the modules and routines used by output_map.

fitstools
module, containing:
printerror
routine for printing FITS error messages.
cfitsio
library for FITS file handling.


RELATED ROUTINES

This section lists the routines related to output_map


anafast
executable that reads a HEALPix map from a FITS file and analyses it.
synfast
executable that generate full sky HEALPix maps
input_map
subroutine to read a HEALPix map from a a FITS file
write_bintabh
subroutine to write a large array into a FITS file piece by piece
input_tod*
subroutine to read an arbitrary subsection of a large binary table

Eric Hivon 2003-02-07