Changeset 4001 in Sophya
- Timestamp:
- Jun 14, 2011, 10:30:47 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AddOn/TAcq/corrcrtadc.cc
r4000 r4001 116 116 string inoutpath = arg[1]; 117 117 string outname = arg[2]; 118 int aids[4]={0,1,-1, 1};118 int aids[4]={0,1,-1,-1}; 119 119 if (narg>3) sscanf(arg[3],"%d,%d,%d,%d",aids,aids+1,aids+2,aids+3); 120 120 vector<int> adcids; 121 121 for(int ii=0;ii<4;ii++) 122 if((aids[ii]> 0)&&(aids[ii]<16)) adcids.push_back(aids[ii]);122 if((aids[ii]>=0)&&(aids[ii]<16)) adcids.push_back(aids[ii]); 123 123 int imin=0; 124 124 int imax=0; … … 134 134 cout << " InOutPath= " << inoutpath << " ADCIds: " ; 135 135 for(size_t ii=0; ii<adcids.size(); ii++) cout << adcids[ii] << " , "; 136 cout << " (NbADC=" << adcids.size() << ") OutFileName= " << outname << endl;137 cout << " IMin,Max,Step=" << imin << "," << imax << "," << istep138 << "Frequency num range JF=" << jf1 << "," << jf2 << "," << nfreq << " ------- " << endl;136 cout << " (NbADC=" << adcids.size() << ") OutFileName= " << outname 137 << " IMin,Max,Step=" << imin << "," << imax << "," << istep << endl; 138 // << "Frequency num range JF=" << jf1 << "," << jf2 << "," << nfreq << " ------- " << endl; 139 139 int rc=0; 140 140 if (fillhis) rc = ADCFiles2Histo(inoutpath, adcids, outname, imin, imax, istep); … … 150 150 #define ADCNREAD 8192 151 151 152 static int PRTMODULO = 250;152 static int PRTMODULO = 1000; 153 153 154 154 // Pour traitement (calcul FFT et visibilites (ProcA) 1 fibre, 2 voies RAW)
Note: See TracChangeset
for help on using the changeset viewer.