Changeset 3699 in Sophya


Ignore:
Timestamp:
Dec 4, 2009, 10:54:15 PM (16 years ago)
Author:
ansari
Message:

recherche du probleme nb de paquets lus=50% nb de paquets, Reza 4/12/09

Location:
trunk/AddOn/TAcq
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/AddOn/TAcq/brfitsrd.cc

    r3697 r3699  
    113113      cout << " Fiber" << fib << " TotNPaqRd=" << totnpqrd_[fib] << " TotNPaqOK=" << totnpqok_[fib]
    114114           << " FracSameFC=" << perc << " %" << endl;
     115      if (prtlev_ > 0)  vpchk_[fib].Print(cout);
    115116    }
    116117    cout << "  TotalDiskRead= " << totnbytesrd_/(1024*1024) << " MBytes Disk-Read rate= "
     
    178179      char flnm[1024];
    179180      sprintf(flnm,"%s/signal%d.fits",dirs_[fib].c_str(),vfilenum_[fib]++);
    180       if (prtlev_ > 0)
     181      if (prtlev_ > 1)
    181182        cout << " BRMultiFitsReader::ReadNext() opening" << flnm << endl;
    182183      mff_[fib].Open(flnm, MF_Read);
  • trunk/AddOn/TAcq/svv2mtx.cc

    r3694 r3699  
    2626#include "matharr.h"
    2727#include "timestamp.h"
    28 /*
    29 #include "fftpserver.h"
    30 #include "fftwserver.h"
    31 
    32 #include "FFTW/fftw3.h"
    33 */
     28
    3429// include sophya mesure ressource CPU/memoire ...
    3530#include "resusage.h"
     
    4035int Usage(bool fgshort=true);
    4136// 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);
     37int ProcSVFilesVJun09(string& inoutpath, int imin, int imax, int istep, int jf1, int jf2, int nfreq, int card=1);
     38int ProcSVFiles(string& inoutpath, int imin, int imax, int istep, int jf1, int jf2, int nfreq);
    4339
    4440//----------------------------------------------------
     
    6965    cout << "Frequency num range JF=" << jf1 << "," << jf2 << "," << nfreq << "  ------- " << endl;
    7066    ResourceUsage resu;
    71     rc=ProcSVFiles(inoutpath, imin, imax, istep, jf1, jf2, nfreq, card);
     67    rc=ProcSVFilesVJun09(inoutpath, imin, imax, istep, jf1, jf2, nfreq, card);
    7268    resu.Update();
    7369    cout << resu;
     
    9692
    9793// 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)
     94int ProcSVFilesVJun09(string& inoutpath, int imin, int imax, int istep, int jf1, int jf2, int nfreq, int card)
    9995{
    10096  Timer tm("ProcSVFiles");
     
    135131    if (ifile==imin) {
    136132      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="
    138134           << nrows << " NCols=NFiles=" << ncols << endl;
    139135      s1.SetSize(nrows, ncols);
    140136      s2.SetSize(nrows, ncols);
    141137      nrows = vv12.Size();
    142       cout << " ProcSVFiles/Info: Output v12 matrix size NRows=NFreq="
     138      cout << " ProcSVFilesVJun09/Info: Output v12 matrix size NRows=NFreq="
    143139           << nrows << " NCols=NFiles=" << ncols << endl;
    144140      v12re.SetSize(nrows, ncols);
     
    195191
    196192  cout << nt;
    197   cout << "ProcSVFiles: Opening file " << fname << " for writing" << endl; 
     193  cout << "ProcSVFilesVJun09: Opening file " << fname << " for writing" << endl; 
    198194  POutPersist po(fname);
    199195  string tag1="s1";
     
    217213  po <<  PPFNameTag(tag12p) << v12phi;
    218214  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; 
    220216  return 0;
    221217}
Note: See TracChangeset for help on using the changeset viewer.