Commit fe54e5d6 authored by Reza  ANSARI's avatar Reza ANSARI
Browse files

Correction bug associtation ligne de matrice et voies Thermometre/RFI, Reza 18/07/2018

parent cb088b1e
......@@ -134,9 +134,9 @@ int main(int narg, const char* arg[])
<< " for read count="<<cnt<<endl;
}
else if (I==deltaIavg) { // Filling TFM maps
TVector<r_4> vac0 = real(visum.Row(0));
TVector<r_4> vac1 = real(visum.Row(1));
TVector< complex<r_4> > vacX = visum.Row(2);
TVector<r_4> vac0 = real(visum.Row(0)); // Voie 1 : Thermometre
TVector<r_4> vac1 = real(visum.Row(2)); // Cx Thermometere X RFI
TVector< complex<r_4> > vacX = visum.Row(1); // Voie 2 : RFI
for(sa_size_t jy=0; jy<tfmSY; jy++) { // frequency binning
TFM_therm(TFMtmidx, jy) = vac0( Range(jy*TFMfbin, (jy+1)*TFMfbin-1) ).Sum();
TFM_RFI(TFMtmidx, jy) = vac1( Range(jy*TFMfbin, (jy+1)*TFMfbin-1) ).Sum();
......
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