Changeset 1528 in Sophya for trunk/SophyaProg/PrgMap/cremskfrsph.cc
- Timestamp:
- Jun 14, 2001, 5:16:20 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/PrgMap/cremskfrsph.cc
r1522 r1528 1 1 // Creation d'une sphere de masque a partir d'une sphere de valeurs 2 2 // 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 3 5 #include "machdefs.h" 4 6 #include <unistd.h> … … 17 19 <<" -m min : min value"<<endl 18 20 <<" -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 20 23 <<" -n : negate the condition"<<endl 21 24 <<" -v valmsk,inimsk:"<<endl … … 56 59 char * sphmsk = arg[optind+1]; 57 60 58 {59 61 cout<<"Sphere values : "<<sphval<<endl 60 62 <<"Sphere mask : "<<sphmsk<<endl … … 65 67 cout<<"Condition : "; 66 68 if(negate) cout<<"!"; 67 cout<<"( "<<vmin<<" <= V <= "<<vmax<<" )"<<endl; 68 } 69 cout<<"( "<<vmin<<" <= V <= "<<vmax<<" ) bounds are included"<<endl; 69 70 70 71 // Lecture de la sphere Healpix des valeurs
Note:
See TracChangeset
for help on using the changeset viewer.