Commit 9ab7a83a authored by Reza  ANSARI's avatar Reza ANSARI
Browse files

Codage correction en Y et en Y des positions des antennes, determinees a...

Codage correction en Y et en Y des positions des antennes, determinees a partir du fit de la variation de sphases satellites en fonction de l'angle zenithale - Compilation OK, test fonctionnel pas encore fait, Reza , 15/07/2019
parent 7cbed580
......@@ -619,9 +619,15 @@ static double paon_lat = 47.3820 ; // 47deg 22' 55.1''
static double paon_lon = 2.19964; // 2deg 11' 58.7''
#define PAON4NBANT 4
//---- position des antennes d'apres mesures de geometre
static double paon4_posx[PAON4NBANT]={0., -5.994, 4.38, 4.383};
static double paon4_posy[PAON4NBANT]={0., 0.001, -5.997, 5.996};
static double paon4_posz[PAON4NBANT]={0., 0., 0., 0.};
//---- Correction de la position des antennes, determinees par ajustementd e la variation des phases (satellites Galileo)
//--- Fit des variation des phases avec l'angle zenitale de -35 deg a +12 deg - Reza + Olivier, Juillet 2019
static double paon4_cor_posx[PAON4NBANT]={0., 0., 0., 0.};
static double paon4_cor_posy[PAON4NBANT]={0., -0.014, +0.019, -0.004};
static double paon4_cor_posz[PAON4NBANT]={0., -0.057, -0.034, -0.002};
double P4Coords::getLon(){return(paon_lon);}
double P4Coords::getLat(){return(paon_lat);}
......@@ -638,7 +644,16 @@ Vector3d P4Coords::getBaseline(sa_size_t num1, sa_size_t num2)
if ((num1<1)||(num1>4)) throw ParmError("P4Coords::getBaseline() out of range antenna position num1 <1 or>4 !");
if ((num2<1)||(num2>4)) throw ParmError("P4Coords::getBaseline() out of range antenna position num2 <1 or>4 !");
num1--; num2--;
return Vector3d(paon4_posx[num2]-paon4_posx[num1],paon4_posy[num2]-paon4_posy[num1],paon4_posz[num2]-paon4_posz[num1]);
// Implementation de la correction des positions d'antenne
// return Vector3d(paon4_posx[num2]-paon4_posx[num1],paon4_posy[num2]-paon4_posy[num1],paon4_posz[num2]-paon4_posz[num1]);
double posx_1=paon4_posx[num1]+paon4_cor_posx[num1];
double posy_1=paon4_posy[num1]+paon4_cor_posy[num1];
double posz_1=paon4_posz[num1]+paon4_cor_posz[num1];
double posx_2=paon4_posx[num2]+paon4_cor_posx[num2];
double posy_2=paon4_posy[num2]+paon4_cor_posy[num2];
double posz_2=paon4_posz[num2]+paon4_cor_posz[num2];
return Vector3d(posx_2-posx_1, posy_2-posy_1, posz_2-posz_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