Changeset 1810 in Sophya for trunk/ArchTOIPipe/TestPipes/tstmap2toi.cc
- Timestamp:
- Dec 4, 2001, 6:22:32 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/TestPipes/tstmap2toi.cc
r1809 r1810 36 36 <<" -m cmap : idem -i for Sphere (def=\"g\")"<<endl 37 37 <<" -e equi : equinoxe en annee (def=2000.)"<<endl 38 <<" -I : sampleNum are implicit in fits files (def=no)"<<endl 38 39 <<" fitsin_point : fits file for pointing"<<endl 39 40 <<" fitsphere : fits file for input Healpix sphere"<<endl … … 53 54 double equi=2000.; 54 55 long sdeb,sfin; 56 bool snimplicit = false; 55 57 int c; 56 while((c = getopt(narg,arg,"h p:s:w:a:d:b:i:m:e:")) != -1) {58 while((c = getopt(narg,arg,"hIp:s:w:a:d:b:i:m:e:")) != -1) { 57 59 switch (c) { 58 60 case 's' : … … 88 90 case 'e' : 89 91 sscanf(optarg,"%lf",&equi); 92 break; 93 case 'I' : 94 snimplicit = true; 90 95 break; 91 96 case 'h' : … … 120 125 // FITS reader et writer 121 126 FITSTOIReader rfits(fitsin_point); 127 if(snimplicit) rfits.setImplicitSN(); 122 128 int ncol = rfits.getNOut(); 123 129 cout<<"Number of columns in fits Infile Pointing : "<<ncol<<endl; … … 125 131 126 132 FITSTOIWriter wfits(fitsout); 133 if(snimplicit) wfits.setImplicitSN(); 127 134 //wfits.setOutFlags(true); 128 135 cout << "fits reader and writer created"<<endl;
Note:
See TracChangeset
for help on using the changeset viewer.