Commit 98a7272c authored by Réza Ansari's avatar Réza Ansari
Browse files

suppression des warnings de compilation -> initialisation des constantes...

suppression des warnings de compilation -> initialisation des constantes statiques de P4FreqBand ds le .cc , Reza 19/03/2017
parent 1d3f5708
......@@ -10,6 +10,11 @@
#include "p4autils.h"
//---- declaration des constantes (static) de la classe P4FreqBand ---
const int P4FreqBand::nbnufft_ = 4096; // 4096 frequences
const double P4FreqBand::deltanufft_ = 250./4096.; // 250 MHz en 4096 frequences
const double P4FreqBand::freqstart_ = 1250.; // Bande de 1250-1500 MHz
P4AnaParams::P4AnaParams()
: inpath5_("bao5/"), inpath6_("bao6/"), Imin_(0), Imax_(10), Istep_(1),
fgreorderfreq_(false), gain_gnu_file_("gain.ppf"),
......
......@@ -39,11 +39,12 @@ public:
P4FreqBand& operator = (P4FreqBand const& a)
{ f0_=a.f0_; df_=a.df_; jfmin_=a.jfmin_; jfmax_=a.jfmax_; return *this; }
static const int nbnufft_ = 4096; // 4096 frequences
static const double deltanufft_ = 250./nbnufft_; // 250 MHz en 4096 frequences
static const double freqstart_ = 1250.; // Bande de 1250-1500 MHz
double f0_, df_; // frequence centrale et largeur en MHz , f0_-df_/2 <= f <= f0_+df_/2
sa_size_t jfmin_, jfmax_; // numero de colonne de frequence dans la matrice de visibilite
static const int nbnufft_; // Nb d ecanaux de frequences (=4096)
static const double deltanufft_; // largeur en frequence de chaque canal en freq : 250 MHz en 4096 frequences
static const double freqstart_; // Bande de 1250-1500 MHz
};
inline ostream& operator << (ostream& os, P4FreqBand const& a)
......
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