Ignore:
Timestamp:
Jun 14, 2001, 5:16:20 PM (24 years ago)
Author:
cmv
Message:

optimisation cmv 14/6/01

File:
1 edited

Legend:

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

    r1522 r1528  
    11// Creation d'une sphere de masque a partir d'une sphere de valeurs
    22//         cmv 13/6/01
     3// cremskfrsph -m 0.1 -v 1.,0. sph143k05_e.fits sphmskw.fits
     4// cremskfrsph -n -m -1.e-30. -M 1.e-30. -v 1.,0. sph143k05.fits sphmsk.fits
    35#include "machdefs.h"
    46#include <unistd.h>
     
    1719    <<" -m min : min value"<<endl
    1820    <<" -M max : max value"<<endl
    19     <<"    condition for filling masque is : min<=V<=max"<<endl
     21    <<"    condition for filling masque is : min<=sphere value<=max"<<endl
     22    <<"                                      (bounds are included)"<<endl
    2023    <<" -n : negate the condition"<<endl
    2124    <<" -v valmsk,inimsk:"<<endl
     
    5659char * sphmsk = arg[optind+1];
    5760
    58 {
    5961cout<<"Sphere values : "<<sphval<<endl
    6062    <<"Sphere mask   : "<<sphmsk<<endl
     
    6567cout<<"Condition : ";
    6668if(negate) cout<<"!";
    67 cout<<"( "<<vmin<<" <= V <= "<<vmax<<" )"<<endl;
    68 }
     69cout<<"( "<<vmin<<" <= V <= "<<vmax<<" ) bounds are included"<<endl;
    6970
    7071// Lecture de la sphere Healpix des valeurs
Note: See TracChangeset for help on using the changeset viewer.