MAPSIM v0.1




There are two input files to MAPSIM

Angular power spectrum file

for each spherical harmonic multipole l
                ClTl(l+1)/2pi          ClTEl(l+1)/2pi          ClEl(l+1)/2pi          ClBl(l+1)/2pi         
in units of [K2]. It is assumed that the first line contains the quadrapole anisotropy, and each succesive line contains the power for every mulitpole up to lmax.


Pixels file

The pixels file MUST be called pixels.dat. The format for pixels.dat is

for each pixel i
                 ra[i]         dec[i]
both in units of degrees.

To run type

    a.out     psfile    npix    lmax    seed

where 'psfile' is the file name of the power spectrum file, 'npix' is the number of pixels in pixels.dat, 'lmax' is the maximum number of spherical harmonic multipoles in the power spectrum file, and 'seed' is the seed used by the random number generator. For example, to run MAPSIM with the input files given in the MPI release, type:

    a.out     in.dat   65536    1500   -1

Note that unless you are running the MPI version, running MAPSIM with the input files provided by this release will take too long. We suggest you run with a significantly smaller pixels file.


The output file is called map.dat. The format for map.dat is

for each pixel i
                 T[i]         Q[i]        U[i]
in units of [(micro K)2].