output_map*


This routine writes a full sky HEALPix map into a FITS file. The map can be either single or double precision real. It has to be 2-dimensional.

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/ DP 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=*) 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, 1: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 outputs it into 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.
write_bintab
routine to write a binary table into a FITS file.
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
write_minimal_header
routine to write minimal FITS header

Version 3.31, 2017-01-06