- Timestamp:
- Dec 4, 2009, 10:54:15 PM (16 years ago)
- Location:
- trunk/AddOn/TAcq
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AddOn/TAcq/brfitsrd.cc
r3697 r3699 113 113 cout << " Fiber" << fib << " TotNPaqRd=" << totnpqrd_[fib] << " TotNPaqOK=" << totnpqok_[fib] 114 114 << " FracSameFC=" << perc << " %" << endl; 115 if (prtlev_ > 0) vpchk_[fib].Print(cout); 115 116 } 116 117 cout << " TotalDiskRead= " << totnbytesrd_/(1024*1024) << " MBytes Disk-Read rate= " … … 178 179 char flnm[1024]; 179 180 sprintf(flnm,"%s/signal%d.fits",dirs_[fib].c_str(),vfilenum_[fib]++); 180 if (prtlev_ > 0)181 if (prtlev_ > 1) 181 182 cout << " BRMultiFitsReader::ReadNext() opening" << flnm << endl; 182 183 mff_[fib].Open(flnm, MF_Read); -
trunk/AddOn/TAcq/svv2mtx.cc
r3694 r3699 26 26 #include "matharr.h" 27 27 #include "timestamp.h" 28 /* 29 #include "fftpserver.h" 30 #include "fftwserver.h" 31 32 #include "FFTW/fftw3.h" 33 */ 28 34 29 // include sophya mesure ressource CPU/memoire ... 35 30 #include "resusage.h" … … 40 35 int Usage(bool fgshort=true); 41 36 // Pour traitement (calcul FFT et visibilites (ProcA) 1 fibre, 2 voies RAW) 42 int ProcSVFiles(string& inoutpath, int imin, int imax, int istep, int jf1, int jf2, int nfreq, int card=1); 37 int ProcSVFilesVJun09(string& inoutpath, int imin, int imax, int istep, int jf1, int jf2, int nfreq, int card=1); 38 int ProcSVFiles(string& inoutpath, int imin, int imax, int istep, int jf1, int jf2, int nfreq); 43 39 44 40 //---------------------------------------------------- … … 69 65 cout << "Frequency num range JF=" << jf1 << "," << jf2 << "," << nfreq << " ------- " << endl; 70 66 ResourceUsage resu; 71 rc=ProcSVFiles (inoutpath, imin, imax, istep, jf1, jf2, nfreq, card);67 rc=ProcSVFilesVJun09(inoutpath, imin, imax, istep, jf1, jf2, nfreq, card); 72 68 resu.Update(); 73 69 cout << resu; … … 96 92 97 93 // Pour traitement (calcul FFT et visibilites (ProcA) 1 fibre, 2 voies RAW) 98 int ProcSVFiles (string& inoutpath, int imin, int imax, int istep, int jf1, int jf2, int nfreq, int card)94 int ProcSVFilesVJun09(string& inoutpath, int imin, int imax, int istep, int jf1, int jf2, int nfreq, int card) 99 95 { 100 96 Timer tm("ProcSVFiles"); … … 135 131 if (ifile==imin) { 136 132 nrows = sv1.Size(); 137 cout << " ProcSVFiles /Info: Output s1,s2 matrix size NRows=NFreq="133 cout << " ProcSVFilesVJun09/Info: Output s1,s2 matrix size NRows=NFreq=" 138 134 << nrows << " NCols=NFiles=" << ncols << endl; 139 135 s1.SetSize(nrows, ncols); 140 136 s2.SetSize(nrows, ncols); 141 137 nrows = vv12.Size(); 142 cout << " ProcSVFiles /Info: Output v12 matrix size NRows=NFreq="138 cout << " ProcSVFilesVJun09/Info: Output v12 matrix size NRows=NFreq=" 143 139 << nrows << " NCols=NFiles=" << ncols << endl; 144 140 v12re.SetSize(nrows, ncols); … … 195 191 196 192 cout << nt; 197 cout << "ProcSVFiles : Opening file " << fname << " for writing" << endl;193 cout << "ProcSVFilesVJun09: Opening file " << fname << " for writing" << endl; 198 194 POutPersist po(fname); 199 195 string tag1="s1"; … … 217 213 po << PPFNameTag(tag12p) << v12phi; 218 214 po << PPFNameTag(tagnt) << nt; 219 cout << "ProcSVFiles : Matrices s1, s2, v12re, v12im, v12phi, NTuple nt written to file " << fname << endl;215 cout << "ProcSVFilesVJun09: Matrices s1, s2, v12re, v12im, v12phi, NTuple nt written to file " << fname << endl; 220 216 return 0; 221 217 }
Note:
See TracChangeset
for help on using the changeset viewer.