Changeset 1441 in Sophya for trunk/SophyaProg/PrgMap


Ignore:
Timestamp:
Mar 14, 2001, 5:25:02 PM (25 years ago)
Author:
ansari
Message:

documentation PrgUtil (fichiers .cc) pour doxygen - Reza 14/3/2001

Location:
trunk/SophyaProg/PrgMap
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/PrgMap/cl2map.cc

    r1430 r1441  
    1414#include "fitstarray.h"
    1515
     16/*!
     17  \ingroup PrgUtil
     18  \file cl2map.cc
     19  \brief \b cl2map: generates spherical maps from power spectra (C(l))
     20
     21  \verbatim
     22
     23  csh> cl2map -h
     24  SOPHYA Version  1.1 Revision 0 (V_Fev2001) -- Mar  9 2001 15:45:31 cxx
     25
     26  cl2map : Spherical harmonics synthesis - Power spectrum C_l -> HEALPix map
     27  Usage: cl2map [-float/-r4] [-msph pixp] [-beam fwhm]
     28         [-fitsin] [-fitsout] [-autoinirand] InFileName OutFileName
     29   -float (-r4): single precision C_l and map (default = double)
     30   -msph pix: Spherical map pixelization parameter
     31              nside=2^n for HEALPix - default=128
     32                lmax = 2^n  default=128
     33   -beam fwhm : Beam moothing (in l-space) FWHM in arcmin, default=0
     34   -fitsout: Select the FITS format for the output map (default PPF format)
     35   -fitsin : Select the FITS format for the input vector (default PPF format)
     36   -autoinirand : Automtatic random number generator initialization
     37   InFileName : Input file name containing the C_l vector
     38   OutFileName : Output file name (HEALPix map)
     39
     40  \endverbatim
     41*/
    1642
    1743
     
    139165  }
    140166
    141   if ((narg-ko) < 1)  Usage(true);
     167  if ((narg-ko) < 2)  Usage(true);
    142168  infile = arg[ko];
    143169  outfile = arg[ko+1];
  • trunk/SophyaProg/PrgMap/map2cl.cc

    r1430 r1441  
    1515
    1616
     17/*!
     18  \ingroup PrgUtil
     19  \file map2cl.cc
     20  \brief \b map2cl: Computes power spectra (C(l)) on spherical maps.
     21
     22  \verbatim
     23
     24  csh> map2cl -h
     25  SOPHYA Version  1.1 Revision 0 (V_Fev2001) -- Mar  9 2001 15:45:31 cxx
     26
     27  map2cl : Spherical harmonics analysis - HEALPix map -> Power spectrum C_l
     28  Usage: map2cl [-float/-r4] [-lmax lval] [-thetacut dtdeg]
     29         [-fitsin] [-fitsout] InFileName OutFileName
     30   -float (-r4): single precision C_l and map (default = double)
     31   -lmax lval: Maximum value for l index (default=255)
     32   -thetacut dtdeg : Symmetric delta-theta cut (in degree) along equator
     33                    (default=0 -> no cut)
     34   -fitsout: Select the FITS format for the output map (default PPF format)
     35   -fitsin : Select the FITS format for the input vector (default PPF format)
     36   InFileName : Input file name (HEALPix map)
     37   OutFileName : Output file name (the C_l vector)
     38
     39  \endverbatim
     40*/
    1741
    1842/* Nouvelle-Fonction */
     
    132156  }
    133157
    134   if ((narg-ko) < 1)  Usage(true);
     158  if ((narg-ko) < 2)  Usage(true);
    135159  infile = arg[ko];
    136160  outfile = arg[ko+1];
  • trunk/SophyaProg/PrgMap/prjsmap.cc

    r1430 r1441  
    1414#include "fitstarray.h"
    1515
     16/*!
     17  \ingroup PrgUtil
     18  \file prjsmap.cc
     19  \brief \b prjsmap: Molleweide and sinus projection of sky maps
     20
     21  \verbatim
     22
     23  csh> prjsmap -h
     24  SOPHYA Version  1.1 Revision 0 (V_Fev2001) -- Mar  9 2001 15:45:31 cxx
     25
     26  prjsmap : Molleweide and Sinus projection for sky maps
     27  Usage: prjsmap [-float/-r4] [-sinus] [-sx sizeX] [-sy sizeY] [-scale fact]
     28         [-off val][-ump val] [-invy] [-fitsin] [-fitsout] InFileName OutFileName
     29   -float (-r4): single precision sky map and projection (default = double)
     30   -sinus: Selects Sinus projection (default Molleweide projection)
     31   -sx sizeX: Projected map size in X
     32   -sy sizeY: Projected map size in Y
     33       default: sizeX = 2*sizeY ; sizeX*sizeY ~ map.NbPixels()/2
     34   -scale fact: scale factor applied to skymap pixels (def=1.)
     35   -off val: offset value for projected map (def=0.)
     36             prj(ix, jy) = offset + scale*skymap(theta, phi)
     37   -ump val: Unmapped pixel value in projected map (def=0.)
     38   -invy: reverses the projection direction along Y (Theta)
     39   -fitsout: Select the FITS format for the output map (default PPF format)
     40   -fitsin : Select the FITS format for the input vector (default PPF format)
     41   InFileName : Input file name (HEALPix map)
     42   OutFileName : Output file name (the C_l vector)
     43
     44  \endverbatim
     45*/
    1646
    1747
     
    278308  }
    279309
    280   if ((narg-ko) < 1)  Usage(true);
     310  if ((narg-ko) < 2)  Usage(true);
    281311  infile = arg[ko];
    282312  outfile = arg[ko+1];
Note: See TracChangeset for help on using the changeset viewer.