Commit b4a752d7921161a199068709b588a2ae82663aee
1 parent
da72b553
Exists in
master
and in
82 other branches
calcul tilt
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/ExternLib/Tsyganenko96/GeopackWrapper.hh
... | ... | @@ -165,7 +165,8 @@ namespace AMDA { |
165 | 165 | gswgse_08_(&XGSM, &YGSM, &ZGSM,&XGSE, &YGSE, &ZGSE, &transformFlag); |
166 | 166 | |
167 | 167 | // tilte angle |
168 | - tiltAngle = std::atan(XGSE/std::sqrt(YGSE*YGSE+ZGSE*ZGSE)); | |
168 | + // tiltAngle = std::atan(XGSE/std::sqrt(YGSE*YGSE+ZGSE*ZGSE)); | |
169 | + tiltAngle = std::atan(XGSM/ZGSM); | |
169 | 170 | //attitude in GSE |
170 | 171 | attitudeGSE[0] = XGSE; |
171 | 172 | attitudeGSE[1] = YGSE; | ... | ... |