Commit 7a8d0976 authored by Reza  ANSARI's avatar Reza ANSARI
Browse files

petite correction bugs apres 1ere executions ds msvis2dt.cc , Reza 25/9/2015

parent 2dfb46c3
...@@ -206,7 +206,7 @@ int main(int narg, char* arg[]) ...@@ -206,7 +206,7 @@ int main(int narg, char* arg[])
TMatrix< complex<float> > vismtx; TMatrix< complex<float> > vismtx;
time_t tm5 = pin5.CreationDate(); time_t tm5 = pin5.CreationDate();
struct tm * ptms5 = gmtime(&tm5); struct tm * ptms5 = gmtime(&tm5);
TimeStamp tms5(ptms5->tm_year, ptms5->tm_mon, ptms5->tm_mday, ptms5->tm_hour, ptms5->tm_min, ptms5->tm_sec); TimeStamp tms5(ptms5->tm_year+1900, ptms5->tm_mon, ptms5->tm_mday, ptms5->tm_hour, ptms5->tm_min, ptms5->tm_sec);
pin5 >> vismtx; pin5 >> vismtx;
sprintf(filename,"%s/meanspec%d.ppf",path6.c_str(),jf); sprintf(filename,"%s/meanspec%d.ppf",path6.c_str(),jf);
...@@ -215,7 +215,7 @@ int main(int narg, char* arg[]) ...@@ -215,7 +215,7 @@ int main(int narg, char* arg[])
TMatrix<float> spectre; TMatrix<float> spectre;
time_t tm6 = pin6.CreationDate(); time_t tm6 = pin6.CreationDate();
struct tm * ptms6 = gmtime(&tm6); struct tm * ptms6 = gmtime(&tm6);
TimeStamp tms6(ptms6->tm_year, ptms6->tm_mon, ptms6->tm_mday, ptms6->tm_hour, ptms6->tm_min, ptms6->tm_sec); TimeStamp tms6(ptms6->tm_year+1900, ptms6->tm_mon, ptms6->tm_mday, ptms6->tm_hour, ptms6->tm_min, ptms6->tm_sec);
pin6 >> PPFNameTag("spectre") >> spectre; pin6 >> PPFNameTag("spectre") >> spectre;
if (vismtx.NCols() != spectre.NCols()) if (vismtx.NCols() != spectre.NCols())
...@@ -260,6 +260,8 @@ int main(int narg, char* arg[]) ...@@ -260,6 +260,8 @@ int main(int narg, char* arg[])
} }
} //----- end of time-frequency maps filling } //----- end of time-frequency maps filling
} }
TFMtmidx++; // On incremente l'index du temps dans la matrice temps-frequence
//---- pour les 6 cross-cor //---- pour les 6 cross-cor
for(int k=0; k<6; k++) { // loop over the 6 Xcor for(int k=0; k<6; k++) { // loop over the 6 Xcor
TVector< complex<float> > cxv = vismtx.Row( KVCXHH[k] ); TVector< complex<float> > cxv = vismtx.Row( KVCXHH[k] );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment