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

correction bug (offset index), Reza 19/05/2015

parent baa1d099
......@@ -243,8 +243,8 @@ int main(int narg, char* arg[])
for(sa_size_t c=0; c<vcx.Size(); c++)
vcx(c)=complex<r_8>((r_8)cxsum(k,c).real(), (r_8)cxsum(k,c).imag())*complex<r_8>(gaincx(k,c), 0.);
cxdt[k] += vcx(freqs).Sum(); // integration en bande 1
cxdt[k+8] += vcx(freqsB).Sum(); // integration en bande large B
cxdt[k+16] += vcx(freqs21).Sum(); // integration a +/- 1 MHz @ 1420 MHz
cxdt[k+6] += vcx(freqsB).Sum(); // integration en bande large B
cxdt[k+12] += vcx(freqs21).Sum(); // integration a +/- 1 MHz @ 1420 MHz
}
// Moyennes dans la bande 1
double fnorm=(1./(double)deltaIavg)/(double)(JFmax-JFmin+1);
......
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