Changeset 1810 in Sophya for trunk/ArchTOIPipe/TestPipes/tsttoi2map.cc
- Timestamp:
- Dec 4, 2001, 6:22:32 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/TestPipes/tsttoi2map.cc
r1809 r1810 43 43 <<" -M vmax : samples are good if sample value <= vmax"<<endl 44 44 <<" -f flag : samples are bad if match flag"<<endl 45 <<" -I : sampleNum are implicit in fits files (def=no)"<<endl 45 46 <<" fitsin_point : fits file for pointing"<<endl 46 47 <<" fitsin_bolo : fits file for bolo values"<<endl … … 65 66 string fitsphwout = ""; 66 67 long sdeb,sfin; 68 bool snimplicit = false; 67 69 int c; 68 while((c = getopt(narg,arg,"h p:s:w:a:d:b:n:i:o:m:M:f:e:")) != -1) {70 while((c = getopt(narg,arg,"hIp:s:w:a:d:b:n:i:o:m:M:f:e:")) != -1) { 69 71 switch (c) { 70 72 case 's' : … … 116 118 sscanf(optarg,"%ul",&badflg); 117 119 tflg = true; 120 break; 121 case 'I' : 122 snimplicit = true; 118 123 break; 119 124 case 'h' : … … 154 159 // FITS reader 155 160 FITSTOIReader rfitsb(fitsin_bolo); 161 if(snimplicit) rfitsb.setImplicitSN(); 156 162 int ncolb = rfitsb.getNOut(); 157 163 cout<<"Number of columns in fits Infile_bolo : "<<ncolb<<endl; … … 159 165 160 166 FITSTOIReader rfitsp(fitsin_point); 167 if(snimplicit) rfitsp.setImplicitSN(); 161 168 int ncolp = rfitsp.getNOut(); 162 169 cout<<"Number of columns in fits Infile_point : "<<ncolp<<endl;
Note:
See TracChangeset
for help on using the changeset viewer.