Ignore:
Timestamp:
Dec 4, 2001, 6:22:32 PM (24 years ago)
Author:
cmv
Message:

fits reader/writer possibilite de setImplicit cmv 4/12/01

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/TestPipes/tsttoi2map.cc

    r1809 r1810  
    4343     <<" -M vmax : samples are good if sample value <= vmax"<<endl
    4444     <<" -f flag : samples are bad if match flag"<<endl
     45     <<" -I : sampleNum are implicit in fits files (def=no)"<<endl
    4546     <<" fitsin_point : fits file for pointing"<<endl
    4647     <<" fitsin_bolo : fits file for bolo values"<<endl
     
    6566string fitsphwout = "";
    6667long sdeb,sfin;
     68bool snimplicit = false;
    6769int c;
    68 while((c = getopt(narg,arg,"hp:s:w:a:d:b:n:i:o:m:M:f:e:")) != -1) {
     70while((c = getopt(narg,arg,"hIp:s:w:a:d:b:n:i:o:m:M:f:e:")) != -1) {
    6971  switch (c) {
    7072  case 's' :
     
    116118    sscanf(optarg,"%ul",&badflg);
    117119    tflg = true;
     120    break;
     121  case 'I' :
     122    snimplicit = true;
    118123    break;
    119124  case 'h' :
     
    154159 // FITS reader
    155160 FITSTOIReader rfitsb(fitsin_bolo);
     161 if(snimplicit) rfitsb.setImplicitSN();
    156162 int ncolb = rfitsb.getNOut();
    157163 cout<<"Number of columns in fits Infile_bolo : "<<ncolb<<endl;
     
    159165
    160166 FITSTOIReader rfitsp(fitsin_point);
     167 if(snimplicit) rfitsp.setImplicitSN();
    161168 int ncolp = rfitsp.getNOut();
    162169 cout<<"Number of columns in fits Infile_point : "<<ncolp<<endl;
Note: See TracChangeset for help on using the changeset viewer.