From 15d1312060e1ae6bffe9a6bccb9a9141adebef63 Mon Sep 17 00:00:00 2001 From: Don Cross Date: Fri, 7 Jan 2022 21:38:41 -0500 Subject: [PATCH] Made Jupiter rotation matrix code gen one digit shorter. This is another attempt to get consistent generated code between Linux and macOS. --- README.md | 2 +- demo/browser/astronomy.browser.js | 6 +++--- demo/nodejs/astronomy.js | 6 +++--- demo/nodejs/calendar/astronomy.ts | 6 +++--- demo/python/astronomy.py | 6 +++--- generate/codegen.c | 24 ++++++++++++------------ source/c/astronomy.c | 6 +++--- source/csharp/astronomy.cs | 6 +++--- source/js/astronomy.browser.js | 6 +++--- source/js/astronomy.browser.min.js | 4 ++-- source/js/astronomy.js | 6 +++--- source/js/astronomy.min.js | 18 +++++++++--------- source/js/astronomy.ts | 6 +++--- source/js/esm/astronomy.js | 6 +++--- source/python/astronomy.py | 6 +++--- 15 files changed, 57 insertions(+), 57 deletions(-) diff --git a/README.md b/README.md index 94489c9e..28d972ca 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,7 @@ of complexity. So I decided to create Astronomy Engine with the following engine - Support JavaScript, C, C#, and Python with the same algorithms, and verify them to produce identical results. - No external dependencies! The code must not require anything outside the standard library for each language. -- Minified JavaScript code less than 120K. (The current size is 105094 bytes.) +- Minified JavaScript code less than 120K. (The current size is 105088 bytes.) - Accuracy always within 1 arcminute of results from NOVAS. - It would be well documented, relatively easy to use, and support a wide variety of common use cases. diff --git a/demo/browser/astronomy.browser.js b/demo/browser/astronomy.browser.js index 95d09816..a9b3e4fe 100644 --- a/demo/browser/astronomy.browser.js +++ b/demo/browser/astronomy.browser.js @@ -3164,9 +3164,9 @@ function CalcPluto(time, helio) { } ; const Rotation_JUP_EQJ = new RotationMatrix([ - [9.994327653386544e-01, -3.367710746976414e-02, 0.000000000000000e+00], - [3.039594289062848e-02, 9.020579123528090e-01, 4.305433885422951e-01], - [-1.449945596633529e-02, -4.302991694091007e-01, 9.025698812737540e-01] + [9.99432765338654e-01, -3.36771074697641e-02, 0.00000000000000e+00], + [3.03959428906285e-02, 9.02057912352809e-01, 4.30543388542295e-01], + [-1.44994559663353e-02, -4.30299169409101e-01, 9.02569881273754e-01] ]); const JupiterMoonModel = [ // [0] Io diff --git a/demo/nodejs/astronomy.js b/demo/nodejs/astronomy.js index 82ba7069..4c973a09 100644 --- a/demo/nodejs/astronomy.js +++ b/demo/nodejs/astronomy.js @@ -3163,9 +3163,9 @@ function CalcPluto(time, helio) { } ; const Rotation_JUP_EQJ = new RotationMatrix([ - [9.994327653386544e-01, -3.367710746976414e-02, 0.000000000000000e+00], - [3.039594289062848e-02, 9.020579123528090e-01, 4.305433885422951e-01], - [-1.449945596633529e-02, -4.302991694091007e-01, 9.025698812737540e-01] + [9.99432765338654e-01, -3.36771074697641e-02, 0.00000000000000e+00], + [3.03959428906285e-02, 9.02057912352809e-01, 4.30543388542295e-01], + [-1.44994559663353e-02, -4.30299169409101e-01, 9.02569881273754e-01] ]); const JupiterMoonModel = [ // [0] Io diff --git a/demo/nodejs/calendar/astronomy.ts b/demo/nodejs/calendar/astronomy.ts index 62069912..e94f26e6 100644 --- a/demo/nodejs/calendar/astronomy.ts +++ b/demo/nodejs/calendar/astronomy.ts @@ -3512,9 +3512,9 @@ interface jupiter_moon_t { }; const Rotation_JUP_EQJ = new RotationMatrix([ - [ 9.994327653386544e-01, -3.367710746976414e-02, 0.000000000000000e+00 ], - [ 3.039594289062848e-02, 9.020579123528090e-01, 4.305433885422951e-01 ], - [ -1.449945596633529e-02, -4.302991694091007e-01, 9.025698812737540e-01 ] + [ 9.99432765338654e-01, -3.36771074697641e-02, 0.00000000000000e+00 ], + [ 3.03959428906285e-02, 9.02057912352809e-01, 4.30543388542295e-01 ], + [ -1.44994559663353e-02, -4.30299169409101e-01, 9.02569881273754e-01 ] ]); const JupiterMoonModel: jupiter_moon_t[] = [ diff --git a/demo/python/astronomy.py b/demo/python/astronomy.py index 2b805136..2cadaad1 100644 --- a/demo/python/astronomy.py +++ b/demo/python/astronomy.py @@ -3702,9 +3702,9 @@ def _CalcPluto(time, helio): # BEGIN Jupiter Moons _Rotation_JUP_EQJ = RotationMatrix([ - [ 9.994327653386544e-01, -3.367710746976414e-02, 0.000000000000000e+00 ], - [ 3.039594289062848e-02, 9.020579123528090e-01, 4.305433885422951e-01 ], - [ -1.449945596633529e-02, -4.302991694091007e-01, 9.025698812737540e-01 ] + [ 9.99432765338654e-01, -3.36771074697641e-02, 0.00000000000000e+00 ], + [ 3.03959428906285e-02, 9.02057912352809e-01, 4.30543388542295e-01 ], + [ -1.44994559663353e-02, -4.30299169409101e-01, 9.02569881273754e-01 ] ]) _JupiterMoonModel = [ diff --git a/generate/codegen.c b/generate/codegen.c index da44ae9e..676ec5ef 100644 --- a/generate/codegen.c +++ b/generate/codegen.c @@ -1618,9 +1618,9 @@ static int JupiterMoons_C(cg_context_t *context, const jupiter_moon_model_t *mod fprintf(context->outfile, "{\n"); fprintf(context->outfile, " ASTRO_SUCCESS,\n"); fprintf(context->outfile, " {\n"); - fprintf(context->outfile, " { %22.15le, %22.15le, %22.15le },\n", model->rot[0][0], model->rot[0][1], model->rot[0][2]); - fprintf(context->outfile, " { %22.15le, %22.15le, %22.15le },\n", model->rot[1][0], model->rot[1][1], model->rot[1][2]); - fprintf(context->outfile, " { %22.15le, %22.15le, %22.15le }\n", model->rot[2][0], model->rot[2][1], model->rot[2][2]); + fprintf(context->outfile, " { %21.14le, %21.14le, %21.14le },\n", model->rot[0][0], model->rot[0][1], model->rot[0][2]); + fprintf(context->outfile, " { %21.14le, %21.14le, %21.14le },\n", model->rot[1][0], model->rot[1][1], model->rot[1][2]); + fprintf(context->outfile, " { %21.14le, %21.14le, %21.14le }\n", model->rot[2][0], model->rot[2][1], model->rot[2][2]); fprintf(context->outfile, " }\n"); fprintf(context->outfile, "};\n\n"); @@ -1676,9 +1676,9 @@ static int JupiterMoons_CSharp(cg_context_t *context, const jupiter_moon_model_t fprintf(context->outfile, " private static readonly RotationMatrix Rotation_JUP_EQJ = new RotationMatrix(\n"); fprintf(context->outfile, " new double[3,3]\n"); fprintf(context->outfile, " {\n"); - fprintf(context->outfile, " { %22.15le, %22.15le, %22.15le },\n", model->rot[0][0], model->rot[0][1], model->rot[0][2]); - fprintf(context->outfile, " { %22.15le, %22.15le, %22.15le },\n", model->rot[1][0], model->rot[1][1], model->rot[1][2]); - fprintf(context->outfile, " { %22.15le, %22.15le, %22.15le }\n", model->rot[2][0], model->rot[2][1], model->rot[2][2]); + fprintf(context->outfile, " { %21.14le, %21.14le, %21.14le },\n", model->rot[0][0], model->rot[0][1], model->rot[0][2]); + fprintf(context->outfile, " { %21.14le, %21.14le, %21.14le },\n", model->rot[1][0], model->rot[1][1], model->rot[1][2]); + fprintf(context->outfile, " { %21.14le, %21.14le, %21.14le }\n", model->rot[2][0], model->rot[2][1], model->rot[2][2]); fprintf(context->outfile, " }\n"); fprintf(context->outfile, " );\n\n"); @@ -1724,9 +1724,9 @@ static int JupiterMoons_JS(cg_context_t *context, const jupiter_moon_model_t *mo const char *var_name[] = { "a", "l", "z", "zeta" }; fprintf(context->outfile, "const Rotation_JUP_EQJ = new RotationMatrix([\n"); - fprintf(context->outfile, " [ %22.15le, %22.15le, %22.15le ],\n", model->rot[0][0], model->rot[0][1], model->rot[0][2]); - fprintf(context->outfile, " [ %22.15le, %22.15le, %22.15le ],\n", model->rot[1][0], model->rot[1][1], model->rot[1][2]); - fprintf(context->outfile, " [ %22.15le, %22.15le, %22.15le ]\n", model->rot[2][0], model->rot[2][1], model->rot[2][2]); + fprintf(context->outfile, " [ %21.14le, %21.14le, %21.14le ],\n", model->rot[0][0], model->rot[0][1], model->rot[0][2]); + fprintf(context->outfile, " [ %21.14le, %21.14le, %21.14le ],\n", model->rot[1][0], model->rot[1][1], model->rot[1][2]); + fprintf(context->outfile, " [ %21.14le, %21.14le, %21.14le ]\n", model->rot[2][0], model->rot[2][1], model->rot[2][2]); fprintf(context->outfile, "]);\n\n"); fprintf(context->outfile, "const JupiterMoonModel: jupiter_moon_t[] = [\n"); @@ -1770,9 +1770,9 @@ static int JupiterMoons_Python(cg_context_t *context, const jupiter_moon_model_t const char *var_name[] = { "a", "l", "z", "zeta" }; fprintf(context->outfile, "_Rotation_JUP_EQJ = RotationMatrix([\n"); - fprintf(context->outfile, " [ %22.15le, %22.15le, %22.15le ],\n", model->rot[0][0], model->rot[0][1], model->rot[0][2]); - fprintf(context->outfile, " [ %22.15le, %22.15le, %22.15le ],\n", model->rot[1][0], model->rot[1][1], model->rot[1][2]); - fprintf(context->outfile, " [ %22.15le, %22.15le, %22.15le ]\n", model->rot[2][0], model->rot[2][1], model->rot[2][2]); + fprintf(context->outfile, " [ %21.14le, %21.14le, %21.14le ],\n", model->rot[0][0], model->rot[0][1], model->rot[0][2]); + fprintf(context->outfile, " [ %21.14le, %21.14le, %21.14le ],\n", model->rot[1][0], model->rot[1][1], model->rot[1][2]); + fprintf(context->outfile, " [ %21.14le, %21.14le, %21.14le ]\n", model->rot[2][0], model->rot[2][1], model->rot[2][2]); fprintf(context->outfile, "])\n\n"); fprintf(context->outfile, "_JupiterMoonModel = [\n"); diff --git a/source/c/astronomy.c b/source/c/astronomy.c index bf3b3b18..a1028f8e 100644 --- a/source/c/astronomy.c +++ b/source/c/astronomy.c @@ -3802,9 +3802,9 @@ static const astro_rotation_t Rotation_JUP_EQJ = { ASTRO_SUCCESS, { - { 9.994327653386544e-01, -3.367710746976414e-02, 0.000000000000000e+00 }, - { 3.039594289062848e-02, 9.020579123528090e-01, 4.305433885422951e-01 }, - { -1.449945596633529e-02, -4.302991694091007e-01, 9.025698812737540e-01 } + { 9.99432765338654e-01, -3.36771074697641e-02, 0.00000000000000e+00 }, + { 3.03959428906285e-02, 9.02057912352809e-01, 4.30543388542295e-01 }, + { -1.44994559663353e-02, -4.30299169409101e-01, 9.02569881273754e-01 } } }; diff --git a/source/csharp/astronomy.cs b/source/csharp/astronomy.cs index d2901ae2..3d6f2147 100644 --- a/source/csharp/astronomy.cs +++ b/source/csharp/astronomy.cs @@ -3832,9 +3832,9 @@ namespace CosineKitty private static readonly RotationMatrix Rotation_JUP_EQJ = new RotationMatrix( new double[3,3] { - { 9.994327653386544e-01, -3.367710746976414e-02, 0.000000000000000e+00 }, - { 3.039594289062848e-02, 9.020579123528090e-01, 4.305433885422951e-01 }, - { -1.449945596633529e-02, -4.302991694091007e-01, 9.025698812737540e-01 } + { 9.99432765338654e-01, -3.36771074697641e-02, 0.00000000000000e+00 }, + { 3.03959428906285e-02, 9.02057912352809e-01, 4.30543388542295e-01 }, + { -1.44994559663353e-02, -4.30299169409101e-01, 9.02569881273754e-01 } } ); diff --git a/source/js/astronomy.browser.js b/source/js/astronomy.browser.js index 95d09816..a9b3e4fe 100644 --- a/source/js/astronomy.browser.js +++ b/source/js/astronomy.browser.js @@ -3164,9 +3164,9 @@ function CalcPluto(time, helio) { } ; const Rotation_JUP_EQJ = new RotationMatrix([ - [9.994327653386544e-01, -3.367710746976414e-02, 0.000000000000000e+00], - [3.039594289062848e-02, 9.020579123528090e-01, 4.305433885422951e-01], - [-1.449945596633529e-02, -4.302991694091007e-01, 9.025698812737540e-01] + [9.99432765338654e-01, -3.36771074697641e-02, 0.00000000000000e+00], + [3.03959428906285e-02, 9.02057912352809e-01, 4.30543388542295e-01], + [-1.44994559663353e-02, -4.30299169409101e-01, 9.02569881273754e-01] ]); const JupiterMoonModel = [ // [0] Io diff --git a/source/js/astronomy.browser.min.js b/source/js/astronomy.browser.min.js index 5aefcb76..5d855881 100644 --- a/source/js/astronomy.browser.min.js +++ b/source/js/astronomy.browser.min.js @@ -178,8 +178,8 @@ n/(-42.69778487239616*((k-g)/l-g*k*-.006694397995865464/(-42.69778487239616*m))+ -2.872799527539],[-.0010068481658095,.001702113288809,8.3578230511981E-4]],[700800,[-15.576200701394,34.399412961275,15.466033737854],[-.0020098814612884,-.0017191109825989,7.0414782780416E-5]],[73E4,[4.24325283709,-30.118201690825,-10.707441231349],[.0031725847067411,1.609846120227E-4,-9.0672150593868E-4]]],F=function(a,b,c){this.x=a;this.y=b;this.z=c};F.prototype.ToAstroVector=function(a){return new C(this.x,this.y,this.z,a)};F.prototype.quadrature=function(){return this.x*this.x+this.y*this.y+ this.z*this.z};F.prototype.add=function(a){return new F(this.x+a.x,this.y+a.y,this.z+a.z)};F.prototype.sub=function(a){return new F(this.x-a.x,this.y-a.y,this.z-a.z)};F.prototype.incr=function(a){this.x+=a.x;this.y+=a.y;this.z+=a.z};F.prototype.decr=function(a){this.x-=a.x;this.y-=a.y;this.z-=a.z};F.prototype.mul=function(a){return new F(a*this.x,a*this.y,a*this.z)};F.prototype.div=function(a){return new F(this.x/a,this.y/a,this.z/a)};F.prototype.mean=function(a){return new F((this.x+a.x)/2,(this.y+ a.y)/2,(this.z+a.z)/2)};var $a=function(a,b,c){this.tt=a;this.r=b;this.v=c},pa=function(a){var b=new $a(a,new F(0,0,0),new F(0,0,0));this.Jupiter=bb(b,a,q.Jupiter,2.825345909524226E-7);this.Saturn=bb(b,a,q.Saturn,8.459715185680659E-8);this.Uranus=bb(b,a,q.Uranus,1.292024916781969E-8);this.Neptune=bb(b,a,q.Neptune,1.524358900784276E-8);this.Jupiter.r.decr(b.r);this.Jupiter.v.decr(b.v);this.Saturn.r.decr(b.r);this.Saturn.v.decr(b.v);this.Uranus.r.decr(b.r);this.Uranus.v.decr(b.v);this.Neptune.r.decr(b.r); -this.Neptune.v.decr(b.v);this.Sun=new $a(a,b.r.mul(-1),b.v.mul(-1))};pa.prototype.Acceleration=function(a){var b=Ia(a,2.959122082855911E-4,this.Sun.r);b.incr(Ia(a,2.825345909524226E-7,this.Jupiter.r));b.incr(Ia(a,8.459715185680659E-8,this.Saturn.r));b.incr(Ia(a,1.292024916781969E-8,this.Uranus.r));b.incr(Ia(a,1.524358900784276E-8,this.Neptune.r));return b};var Yb=function(a,b,c,d){this.tt=a;this.r=b;this.v=c;this.a=d},Zb=function(a,b){this.bary=a;this.grav=b},ub=[],bd=new J([[.9994327653386544,-.03367710746976414, -0],[.03039594289062848,.902057912352809,.4305433885422951],[-.01449945596633529,-.4302991694091007,.902569881273754]]),cd=[{mu:2.82489428433814E-7,al:[1.446213296021224,3.5515522861824],a:[[.0028210960212903,0,0]],l:[[-1.925258348666E-4,4.9369589722645,.01358483658305],[-9.70803596076E-5,4.3188796477322,.01303413843243],[-8.988174165E-5,1.9080016428617,.00305064867158],[-5.53101050262E-5,1.4936156681569,.01293892891155]],z:[[.0041510849668155,4.089939635545,-.01290686414666],[6.260521444113E-4,1.446188898627, +this.Neptune.v.decr(b.v);this.Sun=new $a(a,b.r.mul(-1),b.v.mul(-1))};pa.prototype.Acceleration=function(a){var b=Ia(a,2.959122082855911E-4,this.Sun.r);b.incr(Ia(a,2.825345909524226E-7,this.Jupiter.r));b.incr(Ia(a,8.459715185680659E-8,this.Saturn.r));b.incr(Ia(a,1.292024916781969E-8,this.Uranus.r));b.incr(Ia(a,1.524358900784276E-8,this.Neptune.r));return b};var Yb=function(a,b,c,d){this.tt=a;this.r=b;this.v=c;this.a=d},Zb=function(a,b){this.bary=a;this.grav=b},ub=[],bd=new J([[.999432765338654,-.0336771074697641, +0],[.0303959428906285,.902057912352809,.430543388542295],[-.0144994559663353,-.430299169409101,.902569881273754]]),cd=[{mu:2.82489428433814E-7,al:[1.446213296021224,3.5515522861824],a:[[.0028210960212903,0,0]],l:[[-1.925258348666E-4,4.9369589722645,.01358483658305],[-9.70803596076E-5,4.3188796477322,.01303413843243],[-8.988174165E-5,1.9080016428617,.00305064867158],[-5.53101050262E-5,1.4936156681569,.01293892891155]],z:[[.0041510849668155,4.089939635545,-.01290686414666],[6.260521444113E-4,1.446188898627, 3.5515522949802],[3.52747346169E-5,2.1256287034578,1.2727416567E-4]],zeta:[[3.142172466014E-4,2.7964219722923,-.002315096098],[9.04169207946E-5,1.0477061879627,-5.6920638196E-4]]},{mu:2.82483274392893E-7,al:[-.3735263437471362,1.76932271112347],a:[[.0044871037804314,0,0],[4.324367498E-7,1.819645606291,1.7822295777568]],l:[[8.576433172936E-4,4.3188693178264,.01303413830805],[4.549582875086E-4,1.4936531751079,.01293892881962],[3.248939825174E-4,1.8196494533458,1.7822295777568],[-3.074250079334E-4,4.9377037005911, .01358483286724],[1.982386144784E-4,1.907986905476,.00305101212869],[1.834063551804E-4,2.1402853388529,.00145009789338],[-1.434383188452E-4,5.622214036663,.89111478887838],[-7.71939140944E-5,4.300272437235,2.6733443704266]],z:[[-.0093589104136341,4.0899396509039,-.01290686414666],[2.988994545555E-4,5.9097265185595,1.7693227079462],[2.13903639035E-4,2.1256289300016,1.2727418407E-4],[1.980963564781E-4,2.743516829265,6.7797343009E-4],[1.210388158965E-4,5.5839943711203,3.20566149E-5],[8.37042048393E-5, 1.6094538368039,-.90402165808846],[8.23525166369E-5,1.4461887708689,3.5515522949802]],zeta:[[.0040404917832303,1.0477063169425,-5.692064054E-4],[2.200421034564E-4,3.3368857864364,-1.2491307307E-4],[1.662544744719E-4,2.4134862374711,0],[5.90282470983E-5,5.9719930968366,-3.056160225E-5]]},{mu:2.82498184184723E-7,al:[.2874089391143348,.878207923589328],a:[[.0071566594572575,0,0],[1.393029911E-6,1.1586745884981,2.6733443704266]],l:[[2.310797886226E-4,2.1402987195942,.00145009784384],[-1.828635964118E-4, diff --git a/source/js/astronomy.js b/source/js/astronomy.js index 82ba7069..4c973a09 100644 --- a/source/js/astronomy.js +++ b/source/js/astronomy.js @@ -3163,9 +3163,9 @@ function CalcPluto(time, helio) { } ; const Rotation_JUP_EQJ = new RotationMatrix([ - [9.994327653386544e-01, -3.367710746976414e-02, 0.000000000000000e+00], - [3.039594289062848e-02, 9.020579123528090e-01, 4.305433885422951e-01], - [-1.449945596633529e-02, -4.302991694091007e-01, 9.025698812737540e-01] + [9.99432765338654e-01, -3.36771074697641e-02, 0.00000000000000e+00], + [3.03959428906285e-02, 9.02057912352809e-01, 4.30543388542295e-01], + [-1.44994559663353e-02, -4.30299169409101e-01, 9.02569881273754e-01] ]); const JupiterMoonModel = [ // [0] Io diff --git a/source/js/astronomy.min.js b/source/js/astronomy.min.js index d9fb33aa..faead195 100644 --- a/source/js/astronomy.min.js +++ b/source/js/astronomy.min.js @@ -176,15 +176,15 @@ function GetSegment(a,b){var c=PlutoStateTable[0][0];if(bPlutoStateTable[P 1]).grav;for(d=PLUTO_NSTEPS-2;0d[1]&&(d[1]+=PI2);e=$jscomp.makeIterator(b.z);for(f=e.next();!f.done;f= diff --git a/source/js/astronomy.ts b/source/js/astronomy.ts index 62069912..e94f26e6 100644 --- a/source/js/astronomy.ts +++ b/source/js/astronomy.ts @@ -3512,9 +3512,9 @@ interface jupiter_moon_t { }; const Rotation_JUP_EQJ = new RotationMatrix([ - [ 9.994327653386544e-01, -3.367710746976414e-02, 0.000000000000000e+00 ], - [ 3.039594289062848e-02, 9.020579123528090e-01, 4.305433885422951e-01 ], - [ -1.449945596633529e-02, -4.302991694091007e-01, 9.025698812737540e-01 ] + [ 9.99432765338654e-01, -3.36771074697641e-02, 0.00000000000000e+00 ], + [ 3.03959428906285e-02, 9.02057912352809e-01, 4.30543388542295e-01 ], + [ -1.44994559663353e-02, -4.30299169409101e-01, 9.02569881273754e-01 ] ]); const JupiterMoonModel: jupiter_moon_t[] = [ diff --git a/source/js/esm/astronomy.js b/source/js/esm/astronomy.js index d7c0b4a3..9ebfcc8c 100644 --- a/source/js/esm/astronomy.js +++ b/source/js/esm/astronomy.js @@ -3131,9 +3131,9 @@ function CalcPluto(time, helio) { } ; const Rotation_JUP_EQJ = new RotationMatrix([ - [9.994327653386544e-01, -3.367710746976414e-02, 0.000000000000000e+00], - [3.039594289062848e-02, 9.020579123528090e-01, 4.305433885422951e-01], - [-1.449945596633529e-02, -4.302991694091007e-01, 9.025698812737540e-01] + [9.99432765338654e-01, -3.36771074697641e-02, 0.00000000000000e+00], + [3.03959428906285e-02, 9.02057912352809e-01, 4.30543388542295e-01], + [-1.44994559663353e-02, -4.30299169409101e-01, 9.02569881273754e-01] ]); const JupiterMoonModel = [ // [0] Io diff --git a/source/python/astronomy.py b/source/python/astronomy.py index 2b805136..2cadaad1 100644 --- a/source/python/astronomy.py +++ b/source/python/astronomy.py @@ -3702,9 +3702,9 @@ def _CalcPluto(time, helio): # BEGIN Jupiter Moons _Rotation_JUP_EQJ = RotationMatrix([ - [ 9.994327653386544e-01, -3.367710746976414e-02, 0.000000000000000e+00 ], - [ 3.039594289062848e-02, 9.020579123528090e-01, 4.305433885422951e-01 ], - [ -1.449945596633529e-02, -4.302991694091007e-01, 9.025698812737540e-01 ] + [ 9.99432765338654e-01, -3.36771074697641e-02, 0.00000000000000e+00 ], + [ 3.03959428906285e-02, 9.02057912352809e-01, 4.30543388542295e-01 ], + [ -1.44994559663353e-02, -4.30299169409101e-01, 9.02569881273754e-01 ] ]) _JupiterMoonModel = [