Pluto apsis predictions are now within 0.0810 degrees of orbit period.

Increased from 7 Chebyshev sections to 8.
This also decreases max arcmin error from 0.336084 to 0.120252.
This commit is contained in:
Don Cross
2020-01-06 11:25:47 -05:00
parent f67ddf1c8d
commit 02dc4e95a4
8 changed files with 895 additions and 764 deletions

1
generate/.gitignore vendored
View File

@@ -8,3 +8,4 @@ ctest
bin/
obj/
profile/
private/

View File

@@ -69,7 +69,8 @@ static short int de_number;
static int OpenEphem(void);
static int PrintUsage(void);
static int GeneratePlanets(void);
static int GenerateVsopPlanets(void);
static int GeneratePluto(void);
static int GenerateApsisTestData(void);
static int GenerateSource(void);
static int TestVsopModel(vsop_model_t *model, int body, double threshold, double *max_arcmin, int *trunc_terms);
@@ -125,7 +126,10 @@ const double ErrorRadius[] =
int main(int argc, const char *argv[])
{
if (argc == 2 && !strcmp(argv[1], "planets"))
return GeneratePlanets();
return GenerateVsopPlanets() || GeneratePluto();
if (argc == 2 && !strcmp(argv[1], "pluto"))
return GeneratePluto();
if (argc == 2 && !strcmp(argv[1], "apsis"))
return GenerateApsisTestData();
@@ -154,6 +158,9 @@ static int PrintUsage(void)
"generate planets\n"
" Generate predictive models for all planets.\n"
"\n"
"generate pluto\n"
" Generate predictive models for Pluto only.\n"
"\n"
"generate check testfile\n"
" Verify the calculations in the testfile generated by a unit test.\n"
"\n"
@@ -554,13 +561,24 @@ static int BuildVsopData(void)
return error;
}
static int GeneratePlanets(void)
static int GeneratePluto(void)
{
int error;
CHECK(OpenEphem());
CHECK(ManualResample(8, 19, 8, MIN_YEAR, MAX_YEAR));
fail:
ephem_close();
return error;
}
static int GenerateVsopPlanets(void)
{
int error;
CHECK(OpenEphem());
CHECK(BuildVsopData());
CHECK(ManualResample(8, 19, 7, MIN_YEAR, MAX_YEAR));
fail:
ephem_close();

View File

@@ -1,142 +1,162 @@
body=8
2341971.5 26141.0 19
-30.303124711144 -18.980368465705 3.206649343866
20.092745278347 -27.533908687219 -14.641121965990
9.137264744925 6.513103657467 -0.720732357468
-1.201554708717 2.149917852301 1.032022293526
-0.566068170022 -0.285737361191 0.081379987808
0.041678527795 -0.143363105040 -0.057534475984
0.041087908142 0.007911321580 -0.010270655537
0.001611769878 0.011409821837 0.003679980733
-0.002536458296 -0.000145632543 0.000949924030
0.001167651969 -0.000049912680 0.000115867710
-0.000196953286 0.000420406270 0.000110147171
0.001073825784 0.000442658285 0.000146985332
-0.000906160087 0.001702360394 0.000758987924
-0.001467464335 -0.000622191266 -0.000231866243
-0.000008986691 0.000004086384 0.000001442956
-0.001099078039 -0.000544633529 -0.000205534708
0.001259974751 -0.002178533187 -0.000965315934
0.001695288316 0.000768480768 0.000287916141
-0.001428026702 0.002707551594 0.001195955756
2368112.5 26141.0 19
67.049456204563 -9.279626603192 -23.091941092128
14.860676672314 26.594121136143 3.819668867047
-6.254409044120 1.408757903538 2.323726101433
0.114416381092 -0.942273228585 -0.328566335886
0.074973631246 0.106749156044 0.010806547171
-0.018627741964 -0.009983491157 0.002589955906
0.006167206174 -0.001042430439 -0.001521881831
-0.000471293617 0.002337935239 0.001060879763
-0.000240627462 -0.001380351742 -0.000546042590
0.001872140444 0.000679876620 0.000240384842
-0.000334705177 0.000693528330 0.000301138309
0.000796124758 0.000653183163 0.000259527079
-0.001276116664 0.001393959948 0.000629574865
-0.001235158458 -0.000889985319 -0.000351392687
-0.000019881944 0.000048339979 0.000021342186
-0.000987113745 -0.000748420747 -0.000296503569
0.001721891782 -0.001893675502 -0.000854270937
0.001505145187 0.001081653337 0.000426723640
-0.002019479384 0.002375617497 0.001068258925
2394253.5 26141.0 19
46.038290912405 73.773759757856 9.148670950706
-22.354364534703 10.217143138926 9.921247676076
-2.696282001399 -4.440843715929 -0.572373037840
0.385475818800 -0.287872688575 -0.205914693555
0.020994433095 0.004256602589 -0.004817361041
0.003212255378 0.000574875698 -0.000764464370
-0.000158619286 -0.001035559544 -0.000535612316
0.000967952107 -0.000653111849 -0.000292019750
0.001763494906 -0.000370815938 -0.000224698363
0.001157990330 0.001849810828 0.000759641577
-0.000883535516 0.000384038162 0.000191242192
0.000709486562 0.000655810827 0.000265431131
-0.001525810419 0.001126870468 0.000520202001
-0.000983210860 -0.001116073455 -0.000456026382
-0.000015655450 0.000069184008 0.000029796623
-0.000815102021 -0.000900597010 -0.000365274209
0.002090300438 -0.001536778673 -0.000709827438
0.001234661297 0.001342978436 0.000545313112
-0.002517963678 0.001941826791 0.000893859860
2420394.5 26141.0 19
-39.074661990988 30.963513412373 21.431709298065
-12.033639281924 -31.693679132310 -6.263961539568
7.233936758611 -3.979157072767 -3.421027935569
1.383182539917 1.090729793400 -0.076771771448
-0.009894394996 0.313614402007 0.101180677344
-0.055459383449 0.031782406403 0.026374448864
-0.011074105991 -0.007176759494 0.001896208351
-0.000263363398 -0.001145329444 0.000215471838
0.000405700185 -0.000839229891 -0.000418571366
0.001004921401 0.001135118493 0.000406734549
-0.000473938695 0.000282751002 0.000114911593
0.000528685886 0.000966635293 0.000401955197
-0.001838869845 0.000806432189 0.000394594478
-0.000713122169 -0.001334810971 -0.000554511235
0.000006449359 0.000060730000 0.000024513230
-0.000596025142 -0.000999492770 -0.000413930406
0.002364904429 -0.001099236865 -0.000528480902
0.000907458104 0.001537243912 0.000637001965
-0.002909908764 0.001413648354 0.000677030924
2446535.5 26141.0 19
23.380075041204 -38.969338804442 -19.204762094135
33.437140696536 8.735194448531 -7.348352917314
-3.127251304544 8.324311848708 3.540122328502
-1.491354030154 -1.350371407475 0.028214278544
0.361398480996 -0.118420687058 -0.145375605480
-0.011771350229 0.085880588309 0.030665997197
-0.015839541688 -0.014165128211 0.000523465951
0.004213218926 -0.001426373728 -0.001906412496
0.001465150002 0.000451513538 0.000081936194
0.000640069511 0.001886692235 0.000884675556
-0.000883554940 0.000301907356 0.000127310183
0.000245524038 0.000910362686 0.000385555148
-0.001942010476 0.000438682280 0.000237124027
-0.000425455660 -0.001442138768 -0.000607751390
0.000004168433 0.000033856562 0.000013881811
-0.000337920193 -0.001074290356 -0.000452503056
0.002544755354 -0.000620356219 -0.000327246228
0.000534534110 0.001670320887 0.000702775941
-0.003169380270 0.000816186705 0.000427213817
2472676.5 26141.0 19
74.130449310804 43.372111541004 -8.799489207171
-8.705941488523 23.344631690845 9.908006472122
-4.614752911564 -2.587334376729 0.583321715294
0.316219286624 -0.395448970181 -0.219217574801
0.004593734664 0.027528474371 0.007736197280
-0.001192268851 -0.004987723997 -0.001599399192
0.003051998429 -0.001287028653 -0.000780744058
0.001482572043 0.001613554244 0.000635747068
0.000581965277 0.000788286674 0.000315285159
-0.000311830730 0.001622369930 0.000714817617
-0.000711275723 -0.000160014561 -0.000050445901
0.000177159088 0.001032713853 0.000435835541
-0.002032280820 0.000144281331 0.000111910344
-0.000148463759 -0.001495212309 -0.000635892081
-0.000009629403 -0.000013678407 -0.000006187457
-0.000061196084 -0.001119783520 -0.000479221572
0.002630993795 -0.000113042927 -0.000112115452
0.000132867113 0.001741417484 0.000743224630
-0.003293498893 0.000182437998 0.000158073228
2498817.5 26141.0 19
-5.727994625506 71.194823351703 23.946198176031
-26.767323214686 -12.264949302780 4.238297122007
0.890596204250 -5.970227904551 -2.131444078785
0.808383708156 -0.143104108476 -0.288102517987
0.089303327519 0.049290470655 -0.010970501667
0.010197195705 0.012879721400 0.001317586740
0.001795282629 0.004482403780 0.001563326157
-0.001974716105 0.001278073933 0.000652735133
0.000906544715 -0.000805502229 -0.000336200833
0.000283816745 0.001799099064 0.000756827653
-0.000784971304 0.000123081220 0.000068812133
-0.000237033406 0.000980100466 0.000427758498
-0.001976846386 -0.000280421081 -0.000072417045
0.000195628511 -0.001446079585 -0.000624011074
-0.000044622337 -0.000035865046 -0.000013581236
0.000204397832 -0.001127474894 -0.000488668673
0.002625373003 0.000389300123 0.000102756139
-0.000277321614 0.001732818354 0.000749576471
-0.003280537764 -0.000457571669 -0.000116383655
2341971.5 22873.4 19
-38.379127948969 -15.540131600164 6.713024498471
14.305366595998 -27.805310343824 -12.981888636985
7.925436014130 3.903691169710 -1.168958644595
-0.442101048338 1.685913511618 0.659210430825
-0.373216809055 -0.063688373891 0.093260483060
-0.009972684884 -0.081495131522 -0.021987413967
0.018367454594 -0.004930958318 -0.007352983738
0.003427373209 0.005473507308 0.001034839203
-0.001351484381 0.001104099542 0.000687788740
0.000057615664 0.000946156502 0.000507901883
-0.002112022612 0.000629887022 0.000315500774
-0.000511474378 -0.001320928726 -0.000562497776
-0.000198663925 0.000068936041 0.000036709195
-0.000540552292 -0.001503978652 -0.000630773819
0.002437160925 -0.000763631463 -0.000387861693
0.000816305566 0.002205337400 0.000925670951
-0.002021926086 0.000622387047 0.000316528605
-0.000505895596 -0.001205612810 -0.000504580853
0.001126399530 -0.000361584688 -0.000182817780
2364844.9 22873.4 19
55.447823115293 -27.266406575280 -25.207542726969
21.019137449061 20.342364979145 0.014098785243
-4.749701608520 2.918129180139 2.342054849317
-0.152026133726 -0.860351920073 -0.222763626308
0.103419154134 0.075735980870 -0.007005683084
-0.022470674224 0.003007617977 0.007032450935
0.001163669493 -0.003189922026 -0.001624648620
-0.001137731669 0.000262288216 0.000038087641
0.000043103328 -0.000535097630 -0.000206619902
-0.001261838718 0.000304538227 0.000156262972
-0.000386936271 -0.002058845083 -0.000871353485
0.001504572723 -0.000267222447 -0.000151193739
0.000069990356 -0.000184521171 -0.000081257481
0.001713840868 -0.000227638497 -0.000139809761
0.000380695392 0.002350810217 0.000998895521
-0.002512724805 0.000368540417 0.000219744770
-0.000357746385 -0.001951245887 -0.000827980927
0.001367155227 -0.000127067590 -0.000088008420
0.000173137697 0.001084708770 0.000460942958
2387718.2 22873.4 19
69.634036499141 57.372230785853 -3.077375595621
-12.411985665793 17.572931987772 9.221186946545
-3.090831258400 -2.512294626088 0.146706800235
0.218362234630 -0.226221283768 -0.136477898200
0.000880517265 0.010681097884 0.002725741572
-0.001291221881 -0.003106227879 -0.001273733378
-0.000500284392 -0.001446751396 -0.000635982028
0.001105591622 -0.001683856224 -0.000768604544
0.000938522644 0.000505869572 0.000186404007
-0.000211177024 -0.001065799522 -0.000446266661
0.002134035294 -0.000029658480 -0.000063643319
0.000035325265 0.001388374194 0.000592202743
0.000116349193 0.000061976724 0.000023376874
-0.000072445415 0.001636213289 0.000704241568
-0.002575745160 -0.000105513632 0.000017803397
0.000072226632 -0.002387946399 -0.001025976586
0.002194786367 0.000072530940 -0.000022483321
-0.000053247082 0.001177229455 0.000506221758
-0.001172329523 -0.000045691921 0.000008994465
2410591.6 22873.4 19
-8.991435374359 72.522929925849 25.335167039777
-23.717658611798 -11.790452911233 3.467137945519
0.826017751998 -4.641123526666 -1.697326777915
0.560746056871 -0.090150086821 -0.197072243469
0.053367643147 0.030287157582 -0.006883260629
0.004886534342 0.006021189196 0.000375548379
0.001517320916 -0.000431833409 -0.000366094177
0.002577336038 0.001237262625 0.000456269058
-0.000669267838 0.001169153090 0.000526044269
0.000941669987 0.000052324731 0.000006451966
-0.000308122555 0.001907421829 0.000824565883
-0.001450786896 -0.000241544461 -0.000069557948
-0.000021044193 0.000176079825 0.000076920928
-0.001711364848 -0.000406877980 -0.000132083416
0.000550039252 -0.002319991661 -0.001008513611
0.002503893667 0.000558897059 0.000178233903
-0.000487607379 0.001932237958 0.000840475179
-0.001325885344 -0.000211156037 -0.000058139585
0.000236977210 -0.001063738969 -0.000461951831
2433465.0 22873.4 19
-36.087786489549 -19.321019448663 4.842126256045
16.674527202393 -26.439741396846 -13.273510277928
7.640949973276 4.666665369749 -0.845879718769
-0.675046527214 1.618348207499 0.708326066983
-0.374519038689 -0.128911510322 0.072787764393
0.008450995489 -0.086316399102 -0.029607183244
0.023560644312 0.001433948061 -0.005972909639
0.000123688589 0.008108170319 0.002548003443
-0.002730297048 -0.000039481707 0.000390047845
-0.000577835152 0.000377966419 0.000271660666
-0.001872062542 -0.000807048678 -0.000323879099
0.000547521881 -0.001220942947 -0.000546774321
-0.000238935039 -0.000136260249 -0.000047363292
0.000686748774 -0.001467331313 -0.000644194239
0.002396569437 0.000952782447 0.000347558040
-0.000969645524 0.002136243261 0.000938808719
-0.001971568230 -0.000768658104 -0.000280521530
0.000550474324 -0.001191027208 -0.000523701526
0.001103417783 0.000433385295 0.000158034752
2456338.4 22873.4 19
58.755369508116 -24.264668969300 -25.275084172155
19.497987169479 21.276853294102 0.764723273399
-4.823126413932 2.498256389201 2.232355462314
-0.086140983990 -0.813675478819 -0.227988579141
0.085311207859 0.074538364204 -0.002854595841
-0.017051620380 -0.002540894346 0.004208292723
0.002769861771 -0.000014329185 -0.000477592398
-0.002551661001 0.000069089826 0.000046330164
0.000069355992 -0.001265302658 -0.000503662137
-0.000739467933 -0.000680968125 -0.000281115427
0.001236770708 -0.001567842762 -0.000703898847
0.001243060414 0.000731613032 0.000283816485
0.000174026399 -0.000093710964 -0.000044485803
0.001493473235 0.000902078907 0.000350032270
-0.001429402935 0.001976479349 0.000882105392
-0.002183986564 -0.001289554847 -0.000499475930
0.001157663206 -0.001681190457 -0.000748793883
0.001077037844 0.000720659055 0.000282739654
-0.000650786278 0.000898878141 0.000401222494
2479211.8 22873.4 19
67.691164156698 60.055690812059 -1.653713469469
-13.392561842793 16.736135121408 9.258008571303
-2.979947432205 -2.623400069241 0.078535157634
0.221140466168 -0.219668370791 -0.134946210351
0.002253370723 0.006150902785 0.000741705969
0.003786183572 -0.002028669517 -0.001070817054
-0.000729683667 0.001185908944 0.000459456376
0.000214692528 -0.001514035337 -0.000628903034
0.000799410963 0.000114168654 0.000034870976
0.001014080744 -0.000707640463 -0.000332517340
0.001555070571 0.001399146449 0.000560894218
-0.001017832289 0.000998745218 0.000451886947
0.000105798659 0.000091126421 0.000036516053
-0.001265090800 0.001163905877 0.000530521482
-0.001874934335 -0.001660517639 -0.000665989341
0.001807826027 -0.001705845177 -0.000775290385
0.001582901643 0.001412609292 0.000566893630
-0.000863192985 0.000874901432 0.000396000392
-0.000859691105 -0.000743064990 -0.000297495435
2502085.1 22873.4 19
-12.469752090089 70.481525173143 25.755334377455
-23.370842315291 -13.264547442851 2.902657719838
1.110867958719 -4.672708665650 -1.792706614402
0.596571797676 -0.066313898032 -0.200285819643
0.060080579048 0.035889468333 -0.006426562076
0.006591799109 0.011099902718 0.002309289562
-0.000968324396 0.001898382496 0.000740088714
0.000523251649 0.000812554121 0.000383725061
-0.000319832676 0.000199016237 0.000096616884
0.000782553114 0.001015845568 0.000412740772
-0.001801819810 0.001254101038 0.000581678095
-0.000905307447 -0.001101496166 -0.000449936776
-0.000183981908 0.000144296441 0.000067134500
-0.001000404967 -0.001338920106 -0.000549210134
0.002108795205 -0.001386328192 -0.000645830667
0.001472529436 0.001926033725 0.000789479520
-0.001749726932 0.001130345906 0.000527043570
-0.000862478053 -0.001013136301 -0.000413188733
0.000958109900 -0.000647958487 -0.000300786397

View File

@@ -2567,174 +2567,198 @@ astro_cheb_record_t;
static const astro_cheb_coeff_t cheb_8_0[] =
{
{ { -30.303124711144, -18.980368465705, 3.206649343866 } },
{ { 20.092745278347, -27.533908687219, -14.641121965990 } },
{ { 9.137264744925, 6.513103657467, -0.720732357468 } },
{ { -1.201554708717, 2.149917852301, 1.032022293526 } },
{ { -0.566068170022, -0.285737361191, 0.081379987808 } },
{ { 0.041678527795, -0.143363105040, -0.057534475984 } },
{ { 0.041087908142, 0.007911321580, -0.010270655537 } },
{ { 0.001611769878, 0.011409821837, 0.003679980733 } },
{ { -0.002536458296, -0.000145632543, 0.000949924030 } },
{ { 0.001167651969, -0.000049912680, 0.000115867710 } },
{ { -0.000196953286, 0.000420406270, 0.000110147171 } },
{ { 0.001073825784, 0.000442658285, 0.000146985332 } },
{ { -0.000906160087, 0.001702360394, 0.000758987924 } },
{ { -0.001467464335, -0.000622191266, -0.000231866243 } },
{ { -0.000008986691, 0.000004086384, 0.000001442956 } },
{ { -0.001099078039, -0.000544633529, -0.000205534708 } },
{ { 0.001259974751, -0.002178533187, -0.000965315934 } },
{ { 0.001695288316, 0.000768480768, 0.000287916141 } },
{ { -0.001428026702, 0.002707551594, 0.001195955756 } }
{ { -38.379127948969, -15.540131600164, 6.713024498471 } },
{ { 14.305366595998, -27.805310343824, -12.981888636985 } },
{ { 7.925436014130, 3.903691169710, -1.168958644595 } },
{ { -0.442101048338, 1.685913511618, 0.659210430825 } },
{ { -0.373216809055, -0.063688373891, 0.093260483060 } },
{ { -0.009972684884, -0.081495131522, -0.021987413967 } },
{ { 0.018367454594, -0.004930958318, -0.007352983738 } },
{ { 0.003427373209, 0.005473507308, 0.001034839203 } },
{ { -0.001351484381, 0.001104099542, 0.000687788740 } },
{ { 0.000057615664, 0.000946156502, 0.000507901883 } },
{ { -0.002112022612, 0.000629887022, 0.000315500774 } },
{ { -0.000511474378, -0.001320928726, -0.000562497776 } },
{ { -0.000198663925, 0.000068936041, 0.000036709195 } },
{ { -0.000540552292, -0.001503978652, -0.000630773819 } },
{ { 0.002437160925, -0.000763631463, -0.000387861693 } },
{ { 0.000816305566, 0.002205337400, 0.000925670951 } },
{ { -0.002021926086, 0.000622387047, 0.000316528605 } },
{ { -0.000505895596, -0.001205612810, -0.000504580853 } },
{ { 0.001126399530, -0.000361584688, -0.000182817780 } }
};
static const astro_cheb_coeff_t cheb_8_1[] =
{
{ { 67.049456204563, -9.279626603192, -23.091941092128 } },
{ { 14.860676672314, 26.594121136143, 3.819668867047 } },
{ { -6.254409044120, 1.408757903538, 2.323726101433 } },
{ { 0.114416381092, -0.942273228585, -0.328566335886 } },
{ { 0.074973631246, 0.106749156044, 0.010806547171 } },
{ { -0.018627741964, -0.009983491157, 0.002589955906 } },
{ { 0.006167206174, -0.001042430439, -0.001521881831 } },
{ { -0.000471293617, 0.002337935239, 0.001060879763 } },
{ { -0.000240627462, -0.001380351742, -0.000546042590 } },
{ { 0.001872140444, 0.000679876620, 0.000240384842 } },
{ { -0.000334705177, 0.000693528330, 0.000301138309 } },
{ { 0.000796124758, 0.000653183163, 0.000259527079 } },
{ { -0.001276116664, 0.001393959948, 0.000629574865 } },
{ { -0.001235158458, -0.000889985319, -0.000351392687 } },
{ { -0.000019881944, 0.000048339979, 0.000021342186 } },
{ { -0.000987113745, -0.000748420747, -0.000296503569 } },
{ { 0.001721891782, -0.001893675502, -0.000854270937 } },
{ { 0.001505145187, 0.001081653337, 0.000426723640 } },
{ { -0.002019479384, 0.002375617497, 0.001068258925 } }
{ { 55.447823115293, -27.266406575280, -25.207542726969 } },
{ { 21.019137449061, 20.342364979145, 0.014098785243 } },
{ { -4.749701608520, 2.918129180139, 2.342054849317 } },
{ { -0.152026133726, -0.860351920073, -0.222763626308 } },
{ { 0.103419154134, 0.075735980870, -0.007005683084 } },
{ { -0.022470674224, 0.003007617977, 0.007032450935 } },
{ { 0.001163669493, -0.003189922026, -0.001624648620 } },
{ { -0.001137731669, 0.000262288216, 0.000038087641 } },
{ { 0.000043103328, -0.000535097630, -0.000206619902 } },
{ { -0.001261838718, 0.000304538227, 0.000156262972 } },
{ { -0.000386936271, -0.002058845083, -0.000871353485 } },
{ { 0.001504572723, -0.000267222447, -0.000151193739 } },
{ { 0.000069990356, -0.000184521171, -0.000081257481 } },
{ { 0.001713840868, -0.000227638497, -0.000139809761 } },
{ { 0.000380695392, 0.002350810217, 0.000998895521 } },
{ { -0.002512724805, 0.000368540417, 0.000219744770 } },
{ { -0.000357746385, -0.001951245887, -0.000827980927 } },
{ { 0.001367155227, -0.000127067590, -0.000088008420 } },
{ { 0.000173137697, 0.001084708770, 0.000460942958 } }
};
static const astro_cheb_coeff_t cheb_8_2[] =
{
{ { 46.038290912405, 73.773759757856, 9.148670950706 } },
{ { -22.354364534703, 10.217143138926, 9.921247676076 } },
{ { -2.696282001399, -4.440843715929, -0.572373037840 } },
{ { 0.385475818800, -0.287872688575, -0.205914693555 } },
{ { 0.020994433095, 0.004256602589, -0.004817361041 } },
{ { 0.003212255378, 0.000574875698, -0.000764464370 } },
{ { -0.000158619286, -0.001035559544, -0.000535612316 } },
{ { 0.000967952107, -0.000653111849, -0.000292019750 } },
{ { 0.001763494906, -0.000370815938, -0.000224698363 } },
{ { 0.001157990330, 0.001849810828, 0.000759641577 } },
{ { -0.000883535516, 0.000384038162, 0.000191242192 } },
{ { 0.000709486562, 0.000655810827, 0.000265431131 } },
{ { -0.001525810419, 0.001126870468, 0.000520202001 } },
{ { -0.000983210860, -0.001116073455, -0.000456026382 } },
{ { -0.000015655450, 0.000069184008, 0.000029796623 } },
{ { -0.000815102021, -0.000900597010, -0.000365274209 } },
{ { 0.002090300438, -0.001536778673, -0.000709827438 } },
{ { 0.001234661297, 0.001342978436, 0.000545313112 } },
{ { -0.002517963678, 0.001941826791, 0.000893859860 } }
{ { 69.634036499141, 57.372230785853, -3.077375595621 } },
{ { -12.411985665793, 17.572931987772, 9.221186946545 } },
{ { -3.090831258400, -2.512294626088, 0.146706800235 } },
{ { 0.218362234630, -0.226221283768, -0.136477898200 } },
{ { 0.000880517265, 0.010681097884, 0.002725741572 } },
{ { -0.001291221881, -0.003106227879, -0.001273733378 } },
{ { -0.000500284392, -0.001446751396, -0.000635982028 } },
{ { 0.001105591622, -0.001683856224, -0.000768604544 } },
{ { 0.000938522644, 0.000505869572, 0.000186404007 } },
{ { -0.000211177024, -0.001065799522, -0.000446266661 } },
{ { 0.002134035294, -0.000029658480, -0.000063643319 } },
{ { 0.000035325265, 0.001388374194, 0.000592202743 } },
{ { 0.000116349193, 0.000061976724, 0.000023376874 } },
{ { -0.000072445415, 0.001636213289, 0.000704241568 } },
{ { -0.002575745160, -0.000105513632, 0.000017803397 } },
{ { 0.000072226632, -0.002387946399, -0.001025976586 } },
{ { 0.002194786367, 0.000072530940, -0.000022483321 } },
{ { -0.000053247082, 0.001177229455, 0.000506221758 } },
{ { -0.001172329523, -0.000045691921, 0.000008994465 } }
};
static const astro_cheb_coeff_t cheb_8_3[] =
{
{ { -39.074661990988, 30.963513412373, 21.431709298065 } },
{ { -12.033639281924, -31.693679132310, -6.263961539568 } },
{ { 7.233936758611, -3.979157072767, -3.421027935569 } },
{ { 1.383182539917, 1.090729793400, -0.076771771448 } },
{ { -0.009894394996, 0.313614402007, 0.101180677344 } },
{ { -0.055459383449, 0.031782406403, 0.026374448864 } },
{ { -0.011074105991, -0.007176759494, 0.001896208351 } },
{ { -0.000263363398, -0.001145329444, 0.000215471838 } },
{ { 0.000405700185, -0.000839229891, -0.000418571366 } },
{ { 0.001004921401, 0.001135118493, 0.000406734549 } },
{ { -0.000473938695, 0.000282751002, 0.000114911593 } },
{ { 0.000528685886, 0.000966635293, 0.000401955197 } },
{ { -0.001838869845, 0.000806432189, 0.000394594478 } },
{ { -0.000713122169, -0.001334810971, -0.000554511235 } },
{ { 0.000006449359, 0.000060730000, 0.000024513230 } },
{ { -0.000596025142, -0.000999492770, -0.000413930406 } },
{ { 0.002364904429, -0.001099236865, -0.000528480902 } },
{ { 0.000907458104, 0.001537243912, 0.000637001965 } },
{ { -0.002909908764, 0.001413648354, 0.000677030924 } }
{ { -8.991435374359, 72.522929925849, 25.335167039777 } },
{ { -23.717658611798, -11.790452911233, 3.467137945519 } },
{ { 0.826017751998, -4.641123526666, -1.697326777915 } },
{ { 0.560746056871, -0.090150086821, -0.197072243469 } },
{ { 0.053367643147, 0.030287157582, -0.006883260629 } },
{ { 0.004886534342, 0.006021189196, 0.000375548379 } },
{ { 0.001517320916, -0.000431833409, -0.000366094177 } },
{ { 0.002577336038, 0.001237262625, 0.000456269058 } },
{ { -0.000669267838, 0.001169153090, 0.000526044269 } },
{ { 0.000941669987, 0.000052324731, 0.000006451966 } },
{ { -0.000308122555, 0.001907421829, 0.000824565883 } },
{ { -0.001450786896, -0.000241544461, -0.000069557948 } },
{ { -0.000021044193, 0.000176079825, 0.000076920928 } },
{ { -0.001711364848, -0.000406877980, -0.000132083416 } },
{ { 0.000550039252, -0.002319991661, -0.001008513611 } },
{ { 0.002503893667, 0.000558897059, 0.000178233903 } },
{ { -0.000487607379, 0.001932237958, 0.000840475179 } },
{ { -0.001325885344, -0.000211156037, -0.000058139585 } },
{ { 0.000236977210, -0.001063738969, -0.000461951831 } }
};
static const astro_cheb_coeff_t cheb_8_4[] =
{
{ { 23.380075041204, -38.969338804442, -19.204762094135 } },
{ { 33.437140696536, 8.735194448531, -7.348352917314 } },
{ { -3.127251304544, 8.324311848708, 3.540122328502 } },
{ { -1.491354030154, -1.350371407475, 0.028214278544 } },
{ { 0.361398480996, -0.118420687058, -0.145375605480 } },
{ { -0.011771350229, 0.085880588309, 0.030665997197 } },
{ { -0.015839541688, -0.014165128211, 0.000523465951 } },
{ { 0.004213218926, -0.001426373728, -0.001906412496 } },
{ { 0.001465150002, 0.000451513538, 0.000081936194 } },
{ { 0.000640069511, 0.001886692235, 0.000884675556 } },
{ { -0.000883554940, 0.000301907356, 0.000127310183 } },
{ { 0.000245524038, 0.000910362686, 0.000385555148 } },
{ { -0.001942010476, 0.000438682280, 0.000237124027 } },
{ { -0.000425455660, -0.001442138768, -0.000607751390 } },
{ { 0.000004168433, 0.000033856562, 0.000013881811 } },
{ { -0.000337920193, -0.001074290356, -0.000452503056 } },
{ { 0.002544755354, -0.000620356219, -0.000327246228 } },
{ { 0.000534534110, 0.001670320887, 0.000702775941 } },
{ { -0.003169380270, 0.000816186705, 0.000427213817 } }
{ { -36.087786489549, -19.321019448663, 4.842126256045 } },
{ { 16.674527202393, -26.439741396846, -13.273510277928 } },
{ { 7.640949973276, 4.666665369749, -0.845879718769 } },
{ { -0.675046527214, 1.618348207499, 0.708326066983 } },
{ { -0.374519038689, -0.128911510322, 0.072787764393 } },
{ { 0.008450995489, -0.086316399102, -0.029607183244 } },
{ { 0.023560644312, 0.001433948061, -0.005972909639 } },
{ { 0.000123688589, 0.008108170319, 0.002548003443 } },
{ { -0.002730297048, -0.000039481707, 0.000390047845 } },
{ { -0.000577835152, 0.000377966419, 0.000271660666 } },
{ { -0.001872062542, -0.000807048678, -0.000323879099 } },
{ { 0.000547521881, -0.001220942947, -0.000546774321 } },
{ { -0.000238935039, -0.000136260249, -0.000047363292 } },
{ { 0.000686748774, -0.001467331313, -0.000644194239 } },
{ { 0.002396569437, 0.000952782447, 0.000347558040 } },
{ { -0.000969645524, 0.002136243261, 0.000938808719 } },
{ { -0.001971568230, -0.000768658104, -0.000280521530 } },
{ { 0.000550474324, -0.001191027208, -0.000523701526 } },
{ { 0.001103417783, 0.000433385295, 0.000158034752 } }
};
static const astro_cheb_coeff_t cheb_8_5[] =
{
{ { 74.130449310804, 43.372111541004, -8.799489207171 } },
{ { -8.705941488523, 23.344631690845, 9.908006472122 } },
{ { -4.614752911564, -2.587334376729, 0.583321715294 } },
{ { 0.316219286624, -0.395448970181, -0.219217574801 } },
{ { 0.004593734664, 0.027528474371, 0.007736197280 } },
{ { -0.001192268851, -0.004987723997, -0.001599399192 } },
{ { 0.003051998429, -0.001287028653, -0.000780744058 } },
{ { 0.001482572043, 0.001613554244, 0.000635747068 } },
{ { 0.000581965277, 0.000788286674, 0.000315285159 } },
{ { -0.000311830730, 0.001622369930, 0.000714817617 } },
{ { -0.000711275723, -0.000160014561, -0.000050445901 } },
{ { 0.000177159088, 0.001032713853, 0.000435835541 } },
{ { -0.002032280820, 0.000144281331, 0.000111910344 } },
{ { -0.000148463759, -0.001495212309, -0.000635892081 } },
{ { -0.000009629403, -0.000013678407, -0.000006187457 } },
{ { -0.000061196084, -0.001119783520, -0.000479221572 } },
{ { 0.002630993795, -0.000113042927, -0.000112115452 } },
{ { 0.000132867113, 0.001741417484, 0.000743224630 } },
{ { -0.003293498893, 0.000182437998, 0.000158073228 } }
{ { 58.755369508116, -24.264668969300, -25.275084172155 } },
{ { 19.497987169479, 21.276853294102, 0.764723273399 } },
{ { -4.823126413932, 2.498256389201, 2.232355462314 } },
{ { -0.086140983990, -0.813675478819, -0.227988579141 } },
{ { 0.085311207859, 0.074538364204, -0.002854595841 } },
{ { -0.017051620380, -0.002540894346, 0.004208292723 } },
{ { 0.002769861771, -0.000014329185, -0.000477592398 } },
{ { -0.002551661001, 0.000069089826, 0.000046330164 } },
{ { 0.000069355992, -0.001265302658, -0.000503662137 } },
{ { -0.000739467933, -0.000680968125, -0.000281115427 } },
{ { 0.001236770708, -0.001567842762, -0.000703898847 } },
{ { 0.001243060414, 0.000731613032, 0.000283816485 } },
{ { 0.000174026399, -0.000093710964, -0.000044485803 } },
{ { 0.001493473235, 0.000902078907, 0.000350032270 } },
{ { -0.001429402935, 0.001976479349, 0.000882105392 } },
{ { -0.002183986564, -0.001289554847, -0.000499475930 } },
{ { 0.001157663206, -0.001681190457, -0.000748793883 } },
{ { 0.001077037844, 0.000720659055, 0.000282739654 } },
{ { -0.000650786278, 0.000898878141, 0.000401222494 } }
};
static const astro_cheb_coeff_t cheb_8_6[] =
{
{ { -5.727994625506, 71.194823351703, 23.946198176031 } },
{ { -26.767323214686, -12.264949302780, 4.238297122007 } },
{ { 0.890596204250, -5.970227904551, -2.131444078785 } },
{ { 0.808383708156, -0.143104108476, -0.288102517987 } },
{ { 0.089303327519, 0.049290470655, -0.010970501667 } },
{ { 0.010197195705, 0.012879721400, 0.001317586740 } },
{ { 0.001795282629, 0.004482403780, 0.001563326157 } },
{ { -0.001974716105, 0.001278073933, 0.000652735133 } },
{ { 0.000906544715, -0.000805502229, -0.000336200833 } },
{ { 0.000283816745, 0.001799099064, 0.000756827653 } },
{ { -0.000784971304, 0.000123081220, 0.000068812133 } },
{ { -0.000237033406, 0.000980100466, 0.000427758498 } },
{ { -0.001976846386, -0.000280421081, -0.000072417045 } },
{ { 0.000195628511, -0.001446079585, -0.000624011074 } },
{ { -0.000044622337, -0.000035865046, -0.000013581236 } },
{ { 0.000204397832, -0.001127474894, -0.000488668673 } },
{ { 0.002625373003, 0.000389300123, 0.000102756139 } },
{ { -0.000277321614, 0.001732818354, 0.000749576471 } },
{ { -0.003280537764, -0.000457571669, -0.000116383655 } }
{ { 67.691164156698, 60.055690812059, -1.653713469469 } },
{ { -13.392561842793, 16.736135121408, 9.258008571303 } },
{ { -2.979947432205, -2.623400069241, 0.078535157634 } },
{ { 0.221140466168, -0.219668370791, -0.134946210351 } },
{ { 0.002253370723, 0.006150902785, 0.000741705969 } },
{ { 0.003786183572, -0.002028669517, -0.001070817054 } },
{ { -0.000729683667, 0.001185908944, 0.000459456376 } },
{ { 0.000214692528, -0.001514035337, -0.000628903034 } },
{ { 0.000799410963, 0.000114168654, 0.000034870976 } },
{ { 0.001014080744, -0.000707640463, -0.000332517340 } },
{ { 0.001555070571, 0.001399146449, 0.000560894218 } },
{ { -0.001017832289, 0.000998745218, 0.000451886947 } },
{ { 0.000105798659, 0.000091126421, 0.000036516053 } },
{ { -0.001265090800, 0.001163905877, 0.000530521482 } },
{ { -0.001874934335, -0.001660517639, -0.000665989341 } },
{ { 0.001807826027, -0.001705845177, -0.000775290385 } },
{ { 0.001582901643, 0.001412609292, 0.000566893630 } },
{ { -0.000863192985, 0.000874901432, 0.000396000392 } },
{ { -0.000859691105, -0.000743064990, -0.000297495435 } }
};
static const astro_cheb_coeff_t cheb_8_7[] =
{
{ { -12.469752090089, 70.481525173143, 25.755334377455 } },
{ { -23.370842315291, -13.264547442851, 2.902657719838 } },
{ { 1.110867958719, -4.672708665650, -1.792706614402 } },
{ { 0.596571797676, -0.066313898032, -0.200285819643 } },
{ { 0.060080579048, 0.035889468333, -0.006426562076 } },
{ { 0.006591799109, 0.011099902718, 0.002309289562 } },
{ { -0.000968324396, 0.001898382496, 0.000740088714 } },
{ { 0.000523251649, 0.000812554121, 0.000383725061 } },
{ { -0.000319832676, 0.000199016237, 0.000096616884 } },
{ { 0.000782553114, 0.001015845568, 0.000412740772 } },
{ { -0.001801819810, 0.001254101038, 0.000581678095 } },
{ { -0.000905307447, -0.001101496166, -0.000449936776 } },
{ { -0.000183981908, 0.000144296441, 0.000067134500 } },
{ { -0.001000404967, -0.001338920106, -0.000549210134 } },
{ { 0.002108795205, -0.001386328192, -0.000645830667 } },
{ { 0.001472529436, 0.001926033725, 0.000789479520 } },
{ { -0.001749726932, 0.001130345906, 0.000527043570 } },
{ { -0.000862478053, -0.001013136301, -0.000413188733 } },
{ { 0.000958109900, -0.000647958487, -0.000300786397 } }
};
static const astro_cheb_record_t cheb_8[] =
{
{ -109573.5, 26141.0, ARRAYSIZE(cheb_8_0), cheb_8_0 },
{ -83432.5, 26141.0, ARRAYSIZE(cheb_8_1), cheb_8_1 },
{ -57291.5, 26141.0, ARRAYSIZE(cheb_8_2), cheb_8_2 },
{ -31150.5, 26141.0, ARRAYSIZE(cheb_8_3), cheb_8_3 },
{ -5009.5, 26141.0, ARRAYSIZE(cheb_8_4), cheb_8_4 },
{ 21131.5, 26141.0, ARRAYSIZE(cheb_8_5), cheb_8_5 },
{ 47272.5, 26141.0, ARRAYSIZE(cheb_8_6), cheb_8_6 }
{ -109573.5, 22873.4, ARRAYSIZE(cheb_8_0), cheb_8_0 },
{ -86700.1, 22873.4, ARRAYSIZE(cheb_8_1), cheb_8_1 },
{ -63826.8, 22873.4, ARRAYSIZE(cheb_8_2), cheb_8_2 },
{ -40953.4, 22873.4, ARRAYSIZE(cheb_8_3), cheb_8_3 },
{ -18080.0, 22873.4, ARRAYSIZE(cheb_8_4), cheb_8_4 },
{ 4793.4, 22873.4, ARRAYSIZE(cheb_8_5), cheb_8_5 },
{ 27666.8, 22873.4, ARRAYSIZE(cheb_8_6), cheb_8_6 },
{ 50540.1, 22873.4, ARRAYSIZE(cheb_8_7), cheb_8_7 }
};
static double ChebScale(double t_min, double t_max, double t)

View File

@@ -2495,174 +2495,198 @@ namespace CosineKitty
private static readonly astro_cheb_coeff_t[] cheb_8_0 =
{
new astro_cheb_coeff_t(-30.303124711144, -18.980368465705, 3.206649343866),
new astro_cheb_coeff_t( 20.092745278347, -27.533908687219, -14.641121965990),
new astro_cheb_coeff_t( 9.137264744925, 6.513103657467, -0.720732357468),
new astro_cheb_coeff_t( -1.201554708717, 2.149917852301, 1.032022293526),
new astro_cheb_coeff_t( -0.566068170022, -0.285737361191, 0.081379987808),
new astro_cheb_coeff_t( 0.041678527795, -0.143363105040, -0.057534475984),
new astro_cheb_coeff_t( 0.041087908142, 0.007911321580, -0.010270655537),
new astro_cheb_coeff_t( 0.001611769878, 0.011409821837, 0.003679980733),
new astro_cheb_coeff_t( -0.002536458296, -0.000145632543, 0.000949924030),
new astro_cheb_coeff_t( 0.001167651969, -0.000049912680, 0.000115867710),
new astro_cheb_coeff_t( -0.000196953286, 0.000420406270, 0.000110147171),
new astro_cheb_coeff_t( 0.001073825784, 0.000442658285, 0.000146985332),
new astro_cheb_coeff_t( -0.000906160087, 0.001702360394, 0.000758987924),
new astro_cheb_coeff_t( -0.001467464335, -0.000622191266, -0.000231866243),
new astro_cheb_coeff_t( -0.000008986691, 0.000004086384, 0.000001442956),
new astro_cheb_coeff_t( -0.001099078039, -0.000544633529, -0.000205534708),
new astro_cheb_coeff_t( 0.001259974751, -0.002178533187, -0.000965315934),
new astro_cheb_coeff_t( 0.001695288316, 0.000768480768, 0.000287916141),
new astro_cheb_coeff_t( -0.001428026702, 0.002707551594, 0.001195955756)
new astro_cheb_coeff_t(-38.379127948969, -15.540131600164, 6.713024498471),
new astro_cheb_coeff_t( 14.305366595998, -27.805310343824, -12.981888636985),
new astro_cheb_coeff_t( 7.925436014130, 3.903691169710, -1.168958644595),
new astro_cheb_coeff_t( -0.442101048338, 1.685913511618, 0.659210430825),
new astro_cheb_coeff_t( -0.373216809055, -0.063688373891, 0.093260483060),
new astro_cheb_coeff_t( -0.009972684884, -0.081495131522, -0.021987413967),
new astro_cheb_coeff_t( 0.018367454594, -0.004930958318, -0.007352983738),
new astro_cheb_coeff_t( 0.003427373209, 0.005473507308, 0.001034839203),
new astro_cheb_coeff_t( -0.001351484381, 0.001104099542, 0.000687788740),
new astro_cheb_coeff_t( 0.000057615664, 0.000946156502, 0.000507901883),
new astro_cheb_coeff_t( -0.002112022612, 0.000629887022, 0.000315500774),
new astro_cheb_coeff_t( -0.000511474378, -0.001320928726, -0.000562497776),
new astro_cheb_coeff_t( -0.000198663925, 0.000068936041, 0.000036709195),
new astro_cheb_coeff_t( -0.000540552292, -0.001503978652, -0.000630773819),
new astro_cheb_coeff_t( 0.002437160925, -0.000763631463, -0.000387861693),
new astro_cheb_coeff_t( 0.000816305566, 0.002205337400, 0.000925670951),
new astro_cheb_coeff_t( -0.002021926086, 0.000622387047, 0.000316528605),
new astro_cheb_coeff_t( -0.000505895596, -0.001205612810, -0.000504580853),
new astro_cheb_coeff_t( 0.001126399530, -0.000361584688, -0.000182817780)
};
private static readonly astro_cheb_coeff_t[] cheb_8_1 =
{
new astro_cheb_coeff_t( 67.049456204563, -9.279626603192, -23.091941092128),
new astro_cheb_coeff_t( 14.860676672314, 26.594121136143, 3.819668867047),
new astro_cheb_coeff_t( -6.254409044120, 1.408757903538, 2.323726101433),
new astro_cheb_coeff_t( 0.114416381092, -0.942273228585, -0.328566335886),
new astro_cheb_coeff_t( 0.074973631246, 0.106749156044, 0.010806547171),
new astro_cheb_coeff_t( -0.018627741964, -0.009983491157, 0.002589955906),
new astro_cheb_coeff_t( 0.006167206174, -0.001042430439, -0.001521881831),
new astro_cheb_coeff_t( -0.000471293617, 0.002337935239, 0.001060879763),
new astro_cheb_coeff_t( -0.000240627462, -0.001380351742, -0.000546042590),
new astro_cheb_coeff_t( 0.001872140444, 0.000679876620, 0.000240384842),
new astro_cheb_coeff_t( -0.000334705177, 0.000693528330, 0.000301138309),
new astro_cheb_coeff_t( 0.000796124758, 0.000653183163, 0.000259527079),
new astro_cheb_coeff_t( -0.001276116664, 0.001393959948, 0.000629574865),
new astro_cheb_coeff_t( -0.001235158458, -0.000889985319, -0.000351392687),
new astro_cheb_coeff_t( -0.000019881944, 0.000048339979, 0.000021342186),
new astro_cheb_coeff_t( -0.000987113745, -0.000748420747, -0.000296503569),
new astro_cheb_coeff_t( 0.001721891782, -0.001893675502, -0.000854270937),
new astro_cheb_coeff_t( 0.001505145187, 0.001081653337, 0.000426723640),
new astro_cheb_coeff_t( -0.002019479384, 0.002375617497, 0.001068258925)
new astro_cheb_coeff_t( 55.447823115293, -27.266406575280, -25.207542726969),
new astro_cheb_coeff_t( 21.019137449061, 20.342364979145, 0.014098785243),
new astro_cheb_coeff_t( -4.749701608520, 2.918129180139, 2.342054849317),
new astro_cheb_coeff_t( -0.152026133726, -0.860351920073, -0.222763626308),
new astro_cheb_coeff_t( 0.103419154134, 0.075735980870, -0.007005683084),
new astro_cheb_coeff_t( -0.022470674224, 0.003007617977, 0.007032450935),
new astro_cheb_coeff_t( 0.001163669493, -0.003189922026, -0.001624648620),
new astro_cheb_coeff_t( -0.001137731669, 0.000262288216, 0.000038087641),
new astro_cheb_coeff_t( 0.000043103328, -0.000535097630, -0.000206619902),
new astro_cheb_coeff_t( -0.001261838718, 0.000304538227, 0.000156262972),
new astro_cheb_coeff_t( -0.000386936271, -0.002058845083, -0.000871353485),
new astro_cheb_coeff_t( 0.001504572723, -0.000267222447, -0.000151193739),
new astro_cheb_coeff_t( 0.000069990356, -0.000184521171, -0.000081257481),
new astro_cheb_coeff_t( 0.001713840868, -0.000227638497, -0.000139809761),
new astro_cheb_coeff_t( 0.000380695392, 0.002350810217, 0.000998895521),
new astro_cheb_coeff_t( -0.002512724805, 0.000368540417, 0.000219744770),
new astro_cheb_coeff_t( -0.000357746385, -0.001951245887, -0.000827980927),
new astro_cheb_coeff_t( 0.001367155227, -0.000127067590, -0.000088008420),
new astro_cheb_coeff_t( 0.000173137697, 0.001084708770, 0.000460942958)
};
private static readonly astro_cheb_coeff_t[] cheb_8_2 =
{
new astro_cheb_coeff_t( 46.038290912405, 73.773759757856, 9.148670950706),
new astro_cheb_coeff_t(-22.354364534703, 10.217143138926, 9.921247676076),
new astro_cheb_coeff_t( -2.696282001399, -4.440843715929, -0.572373037840),
new astro_cheb_coeff_t( 0.385475818800, -0.287872688575, -0.205914693555),
new astro_cheb_coeff_t( 0.020994433095, 0.004256602589, -0.004817361041),
new astro_cheb_coeff_t( 0.003212255378, 0.000574875698, -0.000764464370),
new astro_cheb_coeff_t( -0.000158619286, -0.001035559544, -0.000535612316),
new astro_cheb_coeff_t( 0.000967952107, -0.000653111849, -0.000292019750),
new astro_cheb_coeff_t( 0.001763494906, -0.000370815938, -0.000224698363),
new astro_cheb_coeff_t( 0.001157990330, 0.001849810828, 0.000759641577),
new astro_cheb_coeff_t( -0.000883535516, 0.000384038162, 0.000191242192),
new astro_cheb_coeff_t( 0.000709486562, 0.000655810827, 0.000265431131),
new astro_cheb_coeff_t( -0.001525810419, 0.001126870468, 0.000520202001),
new astro_cheb_coeff_t( -0.000983210860, -0.001116073455, -0.000456026382),
new astro_cheb_coeff_t( -0.000015655450, 0.000069184008, 0.000029796623),
new astro_cheb_coeff_t( -0.000815102021, -0.000900597010, -0.000365274209),
new astro_cheb_coeff_t( 0.002090300438, -0.001536778673, -0.000709827438),
new astro_cheb_coeff_t( 0.001234661297, 0.001342978436, 0.000545313112),
new astro_cheb_coeff_t( -0.002517963678, 0.001941826791, 0.000893859860)
new astro_cheb_coeff_t( 69.634036499141, 57.372230785853, -3.077375595621),
new astro_cheb_coeff_t(-12.411985665793, 17.572931987772, 9.221186946545),
new astro_cheb_coeff_t( -3.090831258400, -2.512294626088, 0.146706800235),
new astro_cheb_coeff_t( 0.218362234630, -0.226221283768, -0.136477898200),
new astro_cheb_coeff_t( 0.000880517265, 0.010681097884, 0.002725741572),
new astro_cheb_coeff_t( -0.001291221881, -0.003106227879, -0.001273733378),
new astro_cheb_coeff_t( -0.000500284392, -0.001446751396, -0.000635982028),
new astro_cheb_coeff_t( 0.001105591622, -0.001683856224, -0.000768604544),
new astro_cheb_coeff_t( 0.000938522644, 0.000505869572, 0.000186404007),
new astro_cheb_coeff_t( -0.000211177024, -0.001065799522, -0.000446266661),
new astro_cheb_coeff_t( 0.002134035294, -0.000029658480, -0.000063643319),
new astro_cheb_coeff_t( 0.000035325265, 0.001388374194, 0.000592202743),
new astro_cheb_coeff_t( 0.000116349193, 0.000061976724, 0.000023376874),
new astro_cheb_coeff_t( -0.000072445415, 0.001636213289, 0.000704241568),
new astro_cheb_coeff_t( -0.002575745160, -0.000105513632, 0.000017803397),
new astro_cheb_coeff_t( 0.000072226632, -0.002387946399, -0.001025976586),
new astro_cheb_coeff_t( 0.002194786367, 0.000072530940, -0.000022483321),
new astro_cheb_coeff_t( -0.000053247082, 0.001177229455, 0.000506221758),
new astro_cheb_coeff_t( -0.001172329523, -0.000045691921, 0.000008994465)
};
private static readonly astro_cheb_coeff_t[] cheb_8_3 =
{
new astro_cheb_coeff_t(-39.074661990988, 30.963513412373, 21.431709298065),
new astro_cheb_coeff_t(-12.033639281924, -31.693679132310, -6.263961539568),
new astro_cheb_coeff_t( 7.233936758611, -3.979157072767, -3.421027935569),
new astro_cheb_coeff_t( 1.383182539917, 1.090729793400, -0.076771771448),
new astro_cheb_coeff_t( -0.009894394996, 0.313614402007, 0.101180677344),
new astro_cheb_coeff_t( -0.055459383449, 0.031782406403, 0.026374448864),
new astro_cheb_coeff_t( -0.011074105991, -0.007176759494, 0.001896208351),
new astro_cheb_coeff_t( -0.000263363398, -0.001145329444, 0.000215471838),
new astro_cheb_coeff_t( 0.000405700185, -0.000839229891, -0.000418571366),
new astro_cheb_coeff_t( 0.001004921401, 0.001135118493, 0.000406734549),
new astro_cheb_coeff_t( -0.000473938695, 0.000282751002, 0.000114911593),
new astro_cheb_coeff_t( 0.000528685886, 0.000966635293, 0.000401955197),
new astro_cheb_coeff_t( -0.001838869845, 0.000806432189, 0.000394594478),
new astro_cheb_coeff_t( -0.000713122169, -0.001334810971, -0.000554511235),
new astro_cheb_coeff_t( 0.000006449359, 0.000060730000, 0.000024513230),
new astro_cheb_coeff_t( -0.000596025142, -0.000999492770, -0.000413930406),
new astro_cheb_coeff_t( 0.002364904429, -0.001099236865, -0.000528480902),
new astro_cheb_coeff_t( 0.000907458104, 0.001537243912, 0.000637001965),
new astro_cheb_coeff_t( -0.002909908764, 0.001413648354, 0.000677030924)
new astro_cheb_coeff_t( -8.991435374359, 72.522929925849, 25.335167039777),
new astro_cheb_coeff_t(-23.717658611798, -11.790452911233, 3.467137945519),
new astro_cheb_coeff_t( 0.826017751998, -4.641123526666, -1.697326777915),
new astro_cheb_coeff_t( 0.560746056871, -0.090150086821, -0.197072243469),
new astro_cheb_coeff_t( 0.053367643147, 0.030287157582, -0.006883260629),
new astro_cheb_coeff_t( 0.004886534342, 0.006021189196, 0.000375548379),
new astro_cheb_coeff_t( 0.001517320916, -0.000431833409, -0.000366094177),
new astro_cheb_coeff_t( 0.002577336038, 0.001237262625, 0.000456269058),
new astro_cheb_coeff_t( -0.000669267838, 0.001169153090, 0.000526044269),
new astro_cheb_coeff_t( 0.000941669987, 0.000052324731, 0.000006451966),
new astro_cheb_coeff_t( -0.000308122555, 0.001907421829, 0.000824565883),
new astro_cheb_coeff_t( -0.001450786896, -0.000241544461, -0.000069557948),
new astro_cheb_coeff_t( -0.000021044193, 0.000176079825, 0.000076920928),
new astro_cheb_coeff_t( -0.001711364848, -0.000406877980, -0.000132083416),
new astro_cheb_coeff_t( 0.000550039252, -0.002319991661, -0.001008513611),
new astro_cheb_coeff_t( 0.002503893667, 0.000558897059, 0.000178233903),
new astro_cheb_coeff_t( -0.000487607379, 0.001932237958, 0.000840475179),
new astro_cheb_coeff_t( -0.001325885344, -0.000211156037, -0.000058139585),
new astro_cheb_coeff_t( 0.000236977210, -0.001063738969, -0.000461951831)
};
private static readonly astro_cheb_coeff_t[] cheb_8_4 =
{
new astro_cheb_coeff_t( 23.380075041204, -38.969338804442, -19.204762094135),
new astro_cheb_coeff_t( 33.437140696536, 8.735194448531, -7.348352917314),
new astro_cheb_coeff_t( -3.127251304544, 8.324311848708, 3.540122328502),
new astro_cheb_coeff_t( -1.491354030154, -1.350371407475, 0.028214278544),
new astro_cheb_coeff_t( 0.361398480996, -0.118420687058, -0.145375605480),
new astro_cheb_coeff_t( -0.011771350229, 0.085880588309, 0.030665997197),
new astro_cheb_coeff_t( -0.015839541688, -0.014165128211, 0.000523465951),
new astro_cheb_coeff_t( 0.004213218926, -0.001426373728, -0.001906412496),
new astro_cheb_coeff_t( 0.001465150002, 0.000451513538, 0.000081936194),
new astro_cheb_coeff_t( 0.000640069511, 0.001886692235, 0.000884675556),
new astro_cheb_coeff_t( -0.000883554940, 0.000301907356, 0.000127310183),
new astro_cheb_coeff_t( 0.000245524038, 0.000910362686, 0.000385555148),
new astro_cheb_coeff_t( -0.001942010476, 0.000438682280, 0.000237124027),
new astro_cheb_coeff_t( -0.000425455660, -0.001442138768, -0.000607751390),
new astro_cheb_coeff_t( 0.000004168433, 0.000033856562, 0.000013881811),
new astro_cheb_coeff_t( -0.000337920193, -0.001074290356, -0.000452503056),
new astro_cheb_coeff_t( 0.002544755354, -0.000620356219, -0.000327246228),
new astro_cheb_coeff_t( 0.000534534110, 0.001670320887, 0.000702775941),
new astro_cheb_coeff_t( -0.003169380270, 0.000816186705, 0.000427213817)
new astro_cheb_coeff_t(-36.087786489549, -19.321019448663, 4.842126256045),
new astro_cheb_coeff_t( 16.674527202393, -26.439741396846, -13.273510277928),
new astro_cheb_coeff_t( 7.640949973276, 4.666665369749, -0.845879718769),
new astro_cheb_coeff_t( -0.675046527214, 1.618348207499, 0.708326066983),
new astro_cheb_coeff_t( -0.374519038689, -0.128911510322, 0.072787764393),
new astro_cheb_coeff_t( 0.008450995489, -0.086316399102, -0.029607183244),
new astro_cheb_coeff_t( 0.023560644312, 0.001433948061, -0.005972909639),
new astro_cheb_coeff_t( 0.000123688589, 0.008108170319, 0.002548003443),
new astro_cheb_coeff_t( -0.002730297048, -0.000039481707, 0.000390047845),
new astro_cheb_coeff_t( -0.000577835152, 0.000377966419, 0.000271660666),
new astro_cheb_coeff_t( -0.001872062542, -0.000807048678, -0.000323879099),
new astro_cheb_coeff_t( 0.000547521881, -0.001220942947, -0.000546774321),
new astro_cheb_coeff_t( -0.000238935039, -0.000136260249, -0.000047363292),
new astro_cheb_coeff_t( 0.000686748774, -0.001467331313, -0.000644194239),
new astro_cheb_coeff_t( 0.002396569437, 0.000952782447, 0.000347558040),
new astro_cheb_coeff_t( -0.000969645524, 0.002136243261, 0.000938808719),
new astro_cheb_coeff_t( -0.001971568230, -0.000768658104, -0.000280521530),
new astro_cheb_coeff_t( 0.000550474324, -0.001191027208, -0.000523701526),
new astro_cheb_coeff_t( 0.001103417783, 0.000433385295, 0.000158034752)
};
private static readonly astro_cheb_coeff_t[] cheb_8_5 =
{
new astro_cheb_coeff_t( 74.130449310804, 43.372111541004, -8.799489207171),
new astro_cheb_coeff_t( -8.705941488523, 23.344631690845, 9.908006472122),
new astro_cheb_coeff_t( -4.614752911564, -2.587334376729, 0.583321715294),
new astro_cheb_coeff_t( 0.316219286624, -0.395448970181, -0.219217574801),
new astro_cheb_coeff_t( 0.004593734664, 0.027528474371, 0.007736197280),
new astro_cheb_coeff_t( -0.001192268851, -0.004987723997, -0.001599399192),
new astro_cheb_coeff_t( 0.003051998429, -0.001287028653, -0.000780744058),
new astro_cheb_coeff_t( 0.001482572043, 0.001613554244, 0.000635747068),
new astro_cheb_coeff_t( 0.000581965277, 0.000788286674, 0.000315285159),
new astro_cheb_coeff_t( -0.000311830730, 0.001622369930, 0.000714817617),
new astro_cheb_coeff_t( -0.000711275723, -0.000160014561, -0.000050445901),
new astro_cheb_coeff_t( 0.000177159088, 0.001032713853, 0.000435835541),
new astro_cheb_coeff_t( -0.002032280820, 0.000144281331, 0.000111910344),
new astro_cheb_coeff_t( -0.000148463759, -0.001495212309, -0.000635892081),
new astro_cheb_coeff_t( -0.000009629403, -0.000013678407, -0.000006187457),
new astro_cheb_coeff_t( -0.000061196084, -0.001119783520, -0.000479221572),
new astro_cheb_coeff_t( 0.002630993795, -0.000113042927, -0.000112115452),
new astro_cheb_coeff_t( 0.000132867113, 0.001741417484, 0.000743224630),
new astro_cheb_coeff_t( -0.003293498893, 0.000182437998, 0.000158073228)
new astro_cheb_coeff_t( 58.755369508116, -24.264668969300, -25.275084172155),
new astro_cheb_coeff_t( 19.497987169479, 21.276853294102, 0.764723273399),
new astro_cheb_coeff_t( -4.823126413932, 2.498256389201, 2.232355462314),
new astro_cheb_coeff_t( -0.086140983990, -0.813675478819, -0.227988579141),
new astro_cheb_coeff_t( 0.085311207859, 0.074538364204, -0.002854595841),
new astro_cheb_coeff_t( -0.017051620380, -0.002540894346, 0.004208292723),
new astro_cheb_coeff_t( 0.002769861771, -0.000014329185, -0.000477592398),
new astro_cheb_coeff_t( -0.002551661001, 0.000069089826, 0.000046330164),
new astro_cheb_coeff_t( 0.000069355992, -0.001265302658, -0.000503662137),
new astro_cheb_coeff_t( -0.000739467933, -0.000680968125, -0.000281115427),
new astro_cheb_coeff_t( 0.001236770708, -0.001567842762, -0.000703898847),
new astro_cheb_coeff_t( 0.001243060414, 0.000731613032, 0.000283816485),
new astro_cheb_coeff_t( 0.000174026399, -0.000093710964, -0.000044485803),
new astro_cheb_coeff_t( 0.001493473235, 0.000902078907, 0.000350032270),
new astro_cheb_coeff_t( -0.001429402935, 0.001976479349, 0.000882105392),
new astro_cheb_coeff_t( -0.002183986564, -0.001289554847, -0.000499475930),
new astro_cheb_coeff_t( 0.001157663206, -0.001681190457, -0.000748793883),
new astro_cheb_coeff_t( 0.001077037844, 0.000720659055, 0.000282739654),
new astro_cheb_coeff_t( -0.000650786278, 0.000898878141, 0.000401222494)
};
private static readonly astro_cheb_coeff_t[] cheb_8_6 =
{
new astro_cheb_coeff_t( -5.727994625506, 71.194823351703, 23.946198176031),
new astro_cheb_coeff_t(-26.767323214686, -12.264949302780, 4.238297122007),
new astro_cheb_coeff_t( 0.890596204250, -5.970227904551, -2.131444078785),
new astro_cheb_coeff_t( 0.808383708156, -0.143104108476, -0.288102517987),
new astro_cheb_coeff_t( 0.089303327519, 0.049290470655, -0.010970501667),
new astro_cheb_coeff_t( 0.010197195705, 0.012879721400, 0.001317586740),
new astro_cheb_coeff_t( 0.001795282629, 0.004482403780, 0.001563326157),
new astro_cheb_coeff_t( -0.001974716105, 0.001278073933, 0.000652735133),
new astro_cheb_coeff_t( 0.000906544715, -0.000805502229, -0.000336200833),
new astro_cheb_coeff_t( 0.000283816745, 0.001799099064, 0.000756827653),
new astro_cheb_coeff_t( -0.000784971304, 0.000123081220, 0.000068812133),
new astro_cheb_coeff_t( -0.000237033406, 0.000980100466, 0.000427758498),
new astro_cheb_coeff_t( -0.001976846386, -0.000280421081, -0.000072417045),
new astro_cheb_coeff_t( 0.000195628511, -0.001446079585, -0.000624011074),
new astro_cheb_coeff_t( -0.000044622337, -0.000035865046, -0.000013581236),
new astro_cheb_coeff_t( 0.000204397832, -0.001127474894, -0.000488668673),
new astro_cheb_coeff_t( 0.002625373003, 0.000389300123, 0.000102756139),
new astro_cheb_coeff_t( -0.000277321614, 0.001732818354, 0.000749576471),
new astro_cheb_coeff_t( -0.003280537764, -0.000457571669, -0.000116383655)
new astro_cheb_coeff_t( 67.691164156698, 60.055690812059, -1.653713469469),
new astro_cheb_coeff_t(-13.392561842793, 16.736135121408, 9.258008571303),
new astro_cheb_coeff_t( -2.979947432205, -2.623400069241, 0.078535157634),
new astro_cheb_coeff_t( 0.221140466168, -0.219668370791, -0.134946210351),
new astro_cheb_coeff_t( 0.002253370723, 0.006150902785, 0.000741705969),
new astro_cheb_coeff_t( 0.003786183572, -0.002028669517, -0.001070817054),
new astro_cheb_coeff_t( -0.000729683667, 0.001185908944, 0.000459456376),
new astro_cheb_coeff_t( 0.000214692528, -0.001514035337, -0.000628903034),
new astro_cheb_coeff_t( 0.000799410963, 0.000114168654, 0.000034870976),
new astro_cheb_coeff_t( 0.001014080744, -0.000707640463, -0.000332517340),
new astro_cheb_coeff_t( 0.001555070571, 0.001399146449, 0.000560894218),
new astro_cheb_coeff_t( -0.001017832289, 0.000998745218, 0.000451886947),
new astro_cheb_coeff_t( 0.000105798659, 0.000091126421, 0.000036516053),
new astro_cheb_coeff_t( -0.001265090800, 0.001163905877, 0.000530521482),
new astro_cheb_coeff_t( -0.001874934335, -0.001660517639, -0.000665989341),
new astro_cheb_coeff_t( 0.001807826027, -0.001705845177, -0.000775290385),
new astro_cheb_coeff_t( 0.001582901643, 0.001412609292, 0.000566893630),
new astro_cheb_coeff_t( -0.000863192985, 0.000874901432, 0.000396000392),
new astro_cheb_coeff_t( -0.000859691105, -0.000743064990, -0.000297495435)
};
private static readonly astro_cheb_coeff_t[] cheb_8_7 =
{
new astro_cheb_coeff_t(-12.469752090089, 70.481525173143, 25.755334377455),
new astro_cheb_coeff_t(-23.370842315291, -13.264547442851, 2.902657719838),
new astro_cheb_coeff_t( 1.110867958719, -4.672708665650, -1.792706614402),
new astro_cheb_coeff_t( 0.596571797676, -0.066313898032, -0.200285819643),
new astro_cheb_coeff_t( 0.060080579048, 0.035889468333, -0.006426562076),
new astro_cheb_coeff_t( 0.006591799109, 0.011099902718, 0.002309289562),
new astro_cheb_coeff_t( -0.000968324396, 0.001898382496, 0.000740088714),
new astro_cheb_coeff_t( 0.000523251649, 0.000812554121, 0.000383725061),
new astro_cheb_coeff_t( -0.000319832676, 0.000199016237, 0.000096616884),
new astro_cheb_coeff_t( 0.000782553114, 0.001015845568, 0.000412740772),
new astro_cheb_coeff_t( -0.001801819810, 0.001254101038, 0.000581678095),
new astro_cheb_coeff_t( -0.000905307447, -0.001101496166, -0.000449936776),
new astro_cheb_coeff_t( -0.000183981908, 0.000144296441, 0.000067134500),
new astro_cheb_coeff_t( -0.001000404967, -0.001338920106, -0.000549210134),
new astro_cheb_coeff_t( 0.002108795205, -0.001386328192, -0.000645830667),
new astro_cheb_coeff_t( 0.001472529436, 0.001926033725, 0.000789479520),
new astro_cheb_coeff_t( -0.001749726932, 0.001130345906, 0.000527043570),
new astro_cheb_coeff_t( -0.000862478053, -0.001013136301, -0.000413188733),
new astro_cheb_coeff_t( 0.000958109900, -0.000647958487, -0.000300786397)
};
private static readonly astro_cheb_record_t[] cheb_8 =
{
new astro_cheb_record_t( -109573.5, 26141.0, cheb_8_0),
new astro_cheb_record_t( -83432.5, 26141.0, cheb_8_1),
new astro_cheb_record_t( -57291.5, 26141.0, cheb_8_2),
new astro_cheb_record_t( -31150.5, 26141.0, cheb_8_3),
new astro_cheb_record_t( -5009.5, 26141.0, cheb_8_4),
new astro_cheb_record_t( 21131.5, 26141.0, cheb_8_5),
new astro_cheb_record_t( 47272.5, 26141.0, cheb_8_6)
new astro_cheb_record_t( -109573.5, 22873.4, cheb_8_0),
new astro_cheb_record_t( -86700.1, 22873.4, cheb_8_1),
new astro_cheb_record_t( -63826.8, 22873.4, cheb_8_2),
new astro_cheb_record_t( -40953.4, 22873.4, cheb_8_3),
new astro_cheb_record_t( -18080.0, 22873.4, cheb_8_4),
new astro_cheb_record_t( 4793.4, 22873.4, cheb_8_5),
new astro_cheb_record_t( 27666.8, 22873.4, cheb_8_6),
new astro_cheb_record_t( 50540.1, 22873.4, cheb_8_7)
};
private static double ChebScale(double t_min, double t_max, double t)

View File

@@ -870,152 +870,173 @@ const vsop = {
const cheb = {
Pluto: [
{ 'tt':-109573.500000, 'ndays':26141.000000, 'coeff':[
[-30.303124711144, -18.980368465705, 3.206649343866],
[20.092745278347, -27.533908687219, -14.641121965990],
[9.137264744925, 6.513103657467, -0.720732357468],
[-1.201554708717, 2.149917852301, 1.032022293526],
[-0.566068170022, -0.285737361191, 0.081379987808],
[0.041678527795, -0.143363105040, -0.057534475984],
[0.041087908142, 0.007911321580, -0.010270655537],
[0.001611769878, 0.011409821837, 0.003679980733],
[-0.002536458296, -0.000145632543, 0.000949924030],
[0.001167651969, -0.000049912680, 0.000115867710],
[-0.000196953286, 0.000420406270, 0.000110147171],
[0.001073825784, 0.000442658285, 0.000146985332],
[-0.000906160087, 0.001702360394, 0.000758987924],
[-0.001467464335, -0.000622191266, -0.000231866243],
[-0.000008986691, 0.000004086384, 0.000001442956],
[-0.001099078039, -0.000544633529, -0.000205534708],
[0.001259974751, -0.002178533187, -0.000965315934],
[0.001695288316, 0.000768480768, 0.000287916141],
[-0.001428026702, 0.002707551594, 0.001195955756]]
{ 'tt':-109573.500000, 'ndays':22873.400000, 'coeff':[
[-38.379127948969, -15.540131600164, 6.713024498471],
[14.305366595998, -27.805310343824, -12.981888636985],
[7.925436014130, 3.903691169710, -1.168958644595],
[-0.442101048338, 1.685913511618, 0.659210430825],
[-0.373216809055, -0.063688373891, 0.093260483060],
[-0.009972684884, -0.081495131522, -0.021987413967],
[0.018367454594, -0.004930958318, -0.007352983738],
[0.003427373209, 0.005473507308, 0.001034839203],
[-0.001351484381, 0.001104099542, 0.000687788740],
[0.000057615664, 0.000946156502, 0.000507901883],
[-0.002112022612, 0.000629887022, 0.000315500774],
[-0.000511474378, -0.001320928726, -0.000562497776],
[-0.000198663925, 0.000068936041, 0.000036709195],
[-0.000540552292, -0.001503978652, -0.000630773819],
[0.002437160925, -0.000763631463, -0.000387861693],
[0.000816305566, 0.002205337400, 0.000925670951],
[-0.002021926086, 0.000622387047, 0.000316528605],
[-0.000505895596, -0.001205612810, -0.000504580853],
[0.001126399530, -0.000361584688, -0.000182817780]]
},
{ 'tt':-83432.500000, 'ndays':26141.000000, 'coeff':[
[67.049456204563, -9.279626603192, -23.091941092128],
[14.860676672314, 26.594121136143, 3.819668867047],
[-6.254409044120, 1.408757903538, 2.323726101433],
[0.114416381092, -0.942273228585, -0.328566335886],
[0.074973631246, 0.106749156044, 0.010806547171],
[-0.018627741964, -0.009983491157, 0.002589955906],
[0.006167206174, -0.001042430439, -0.001521881831],
[-0.000471293617, 0.002337935239, 0.001060879763],
[-0.000240627462, -0.001380351742, -0.000546042590],
[0.001872140444, 0.000679876620, 0.000240384842],
[-0.000334705177, 0.000693528330, 0.000301138309],
[0.000796124758, 0.000653183163, 0.000259527079],
[-0.001276116664, 0.001393959948, 0.000629574865],
[-0.001235158458, -0.000889985319, -0.000351392687],
[-0.000019881944, 0.000048339979, 0.000021342186],
[-0.000987113745, -0.000748420747, -0.000296503569],
[0.001721891782, -0.001893675502, -0.000854270937],
[0.001505145187, 0.001081653337, 0.000426723640],
[-0.002019479384, 0.002375617497, 0.001068258925]]
{ 'tt':-86700.100000, 'ndays':22873.400000, 'coeff':[
[55.447823115293, -27.266406575280, -25.207542726969],
[21.019137449061, 20.342364979145, 0.014098785243],
[-4.749701608520, 2.918129180139, 2.342054849317],
[-0.152026133726, -0.860351920073, -0.222763626308],
[0.103419154134, 0.075735980870, -0.007005683084],
[-0.022470674224, 0.003007617977, 0.007032450935],
[0.001163669493, -0.003189922026, -0.001624648620],
[-0.001137731669, 0.000262288216, 0.000038087641],
[0.000043103328, -0.000535097630, -0.000206619902],
[-0.001261838718, 0.000304538227, 0.000156262972],
[-0.000386936271, -0.002058845083, -0.000871353485],
[0.001504572723, -0.000267222447, -0.000151193739],
[0.000069990356, -0.000184521171, -0.000081257481],
[0.001713840868, -0.000227638497, -0.000139809761],
[0.000380695392, 0.002350810217, 0.000998895521],
[-0.002512724805, 0.000368540417, 0.000219744770],
[-0.000357746385, -0.001951245887, -0.000827980927],
[0.001367155227, -0.000127067590, -0.000088008420],
[0.000173137697, 0.001084708770, 0.000460942958]]
},
{ 'tt':-57291.500000, 'ndays':26141.000000, 'coeff':[
[46.038290912405, 73.773759757856, 9.148670950706],
[-22.354364534703, 10.217143138926, 9.921247676076],
[-2.696282001399, -4.440843715929, -0.572373037840],
[0.385475818800, -0.287872688575, -0.205914693555],
[0.020994433095, 0.004256602589, -0.004817361041],
[0.003212255378, 0.000574875698, -0.000764464370],
[-0.000158619286, -0.001035559544, -0.000535612316],
[0.000967952107, -0.000653111849, -0.000292019750],
[0.001763494906, -0.000370815938, -0.000224698363],
[0.001157990330, 0.001849810828, 0.000759641577],
[-0.000883535516, 0.000384038162, 0.000191242192],
[0.000709486562, 0.000655810827, 0.000265431131],
[-0.001525810419, 0.001126870468, 0.000520202001],
[-0.000983210860, -0.001116073455, -0.000456026382],
[-0.000015655450, 0.000069184008, 0.000029796623],
[-0.000815102021, -0.000900597010, -0.000365274209],
[0.002090300438, -0.001536778673, -0.000709827438],
[0.001234661297, 0.001342978436, 0.000545313112],
[-0.002517963678, 0.001941826791, 0.000893859860]]
{ 'tt':-63826.800000, 'ndays':22873.400000, 'coeff':[
[69.634036499141, 57.372230785853, -3.077375595621],
[-12.411985665793, 17.572931987772, 9.221186946545],
[-3.090831258400, -2.512294626088, 0.146706800235],
[0.218362234630, -0.226221283768, -0.136477898200],
[0.000880517265, 0.010681097884, 0.002725741572],
[-0.001291221881, -0.003106227879, -0.001273733378],
[-0.000500284392, -0.001446751396, -0.000635982028],
[0.001105591622, -0.001683856224, -0.000768604544],
[0.000938522644, 0.000505869572, 0.000186404007],
[-0.000211177024, -0.001065799522, -0.000446266661],
[0.002134035294, -0.000029658480, -0.000063643319],
[0.000035325265, 0.001388374194, 0.000592202743],
[0.000116349193, 0.000061976724, 0.000023376874],
[-0.000072445415, 0.001636213289, 0.000704241568],
[-0.002575745160, -0.000105513632, 0.000017803397],
[0.000072226632, -0.002387946399, -0.001025976586],
[0.002194786367, 0.000072530940, -0.000022483321],
[-0.000053247082, 0.001177229455, 0.000506221758],
[-0.001172329523, -0.000045691921, 0.000008994465]]
},
{ 'tt':-31150.500000, 'ndays':26141.000000, 'coeff':[
[-39.074661990988, 30.963513412373, 21.431709298065],
[-12.033639281924, -31.693679132310, -6.263961539568],
[7.233936758611, -3.979157072767, -3.421027935569],
[1.383182539917, 1.090729793400, -0.076771771448],
[-0.009894394996, 0.313614402007, 0.101180677344],
[-0.055459383449, 0.031782406403, 0.026374448864],
[-0.011074105991, -0.007176759494, 0.001896208351],
[-0.000263363398, -0.001145329444, 0.000215471838],
[0.000405700185, -0.000839229891, -0.000418571366],
[0.001004921401, 0.001135118493, 0.000406734549],
[-0.000473938695, 0.000282751002, 0.000114911593],
[0.000528685886, 0.000966635293, 0.000401955197],
[-0.001838869845, 0.000806432189, 0.000394594478],
[-0.000713122169, -0.001334810971, -0.000554511235],
[0.000006449359, 0.000060730000, 0.000024513230],
[-0.000596025142, -0.000999492770, -0.000413930406],
[0.002364904429, -0.001099236865, -0.000528480902],
[0.000907458104, 0.001537243912, 0.000637001965],
[-0.002909908764, 0.001413648354, 0.000677030924]]
{ 'tt':-40953.400000, 'ndays':22873.400000, 'coeff':[
[-8.991435374359, 72.522929925849, 25.335167039777],
[-23.717658611798, -11.790452911233, 3.467137945519],
[0.826017751998, -4.641123526666, -1.697326777915],
[0.560746056871, -0.090150086821, -0.197072243469],
[0.053367643147, 0.030287157582, -0.006883260629],
[0.004886534342, 0.006021189196, 0.000375548379],
[0.001517320916, -0.000431833409, -0.000366094177],
[0.002577336038, 0.001237262625, 0.000456269058],
[-0.000669267838, 0.001169153090, 0.000526044269],
[0.000941669987, 0.000052324731, 0.000006451966],
[-0.000308122555, 0.001907421829, 0.000824565883],
[-0.001450786896, -0.000241544461, -0.000069557948],
[-0.000021044193, 0.000176079825, 0.000076920928],
[-0.001711364848, -0.000406877980, -0.000132083416],
[0.000550039252, -0.002319991661, -0.001008513611],
[0.002503893667, 0.000558897059, 0.000178233903],
[-0.000487607379, 0.001932237958, 0.000840475179],
[-0.001325885344, -0.000211156037, -0.000058139585],
[0.000236977210, -0.001063738969, -0.000461951831]]
},
{ 'tt':-5009.500000, 'ndays':26141.000000, 'coeff':[
[23.380075041204, -38.969338804442, -19.204762094135],
[33.437140696536, 8.735194448531, -7.348352917314],
[-3.127251304544, 8.324311848708, 3.540122328502],
[-1.491354030154, -1.350371407475, 0.028214278544],
[0.361398480996, -0.118420687058, -0.145375605480],
[-0.011771350229, 0.085880588309, 0.030665997197],
[-0.015839541688, -0.014165128211, 0.000523465951],
[0.004213218926, -0.001426373728, -0.001906412496],
[0.001465150002, 0.000451513538, 0.000081936194],
[0.000640069511, 0.001886692235, 0.000884675556],
[-0.000883554940, 0.000301907356, 0.000127310183],
[0.000245524038, 0.000910362686, 0.000385555148],
[-0.001942010476, 0.000438682280, 0.000237124027],
[-0.000425455660, -0.001442138768, -0.000607751390],
[0.000004168433, 0.000033856562, 0.000013881811],
[-0.000337920193, -0.001074290356, -0.000452503056],
[0.002544755354, -0.000620356219, -0.000327246228],
[0.000534534110, 0.001670320887, 0.000702775941],
[-0.003169380270, 0.000816186705, 0.000427213817]]
{ 'tt':-18080.000000, 'ndays':22873.400000, 'coeff':[
[-36.087786489549, -19.321019448663, 4.842126256045],
[16.674527202393, -26.439741396846, -13.273510277928],
[7.640949973276, 4.666665369749, -0.845879718769],
[-0.675046527214, 1.618348207499, 0.708326066983],
[-0.374519038689, -0.128911510322, 0.072787764393],
[0.008450995489, -0.086316399102, -0.029607183244],
[0.023560644312, 0.001433948061, -0.005972909639],
[0.000123688589, 0.008108170319, 0.002548003443],
[-0.002730297048, -0.000039481707, 0.000390047845],
[-0.000577835152, 0.000377966419, 0.000271660666],
[-0.001872062542, -0.000807048678, -0.000323879099],
[0.000547521881, -0.001220942947, -0.000546774321],
[-0.000238935039, -0.000136260249, -0.000047363292],
[0.000686748774, -0.001467331313, -0.000644194239],
[0.002396569437, 0.000952782447, 0.000347558040],
[-0.000969645524, 0.002136243261, 0.000938808719],
[-0.001971568230, -0.000768658104, -0.000280521530],
[0.000550474324, -0.001191027208, -0.000523701526],
[0.001103417783, 0.000433385295, 0.000158034752]]
},
{ 'tt':21131.500000, 'ndays':26141.000000, 'coeff':[
[74.130449310804, 43.372111541004, -8.799489207171],
[-8.705941488523, 23.344631690845, 9.908006472122],
[-4.614752911564, -2.587334376729, 0.583321715294],
[0.316219286624, -0.395448970181, -0.219217574801],
[0.004593734664, 0.027528474371, 0.007736197280],
[-0.001192268851, -0.004987723997, -0.001599399192],
[0.003051998429, -0.001287028653, -0.000780744058],
[0.001482572043, 0.001613554244, 0.000635747068],
[0.000581965277, 0.000788286674, 0.000315285159],
[-0.000311830730, 0.001622369930, 0.000714817617],
[-0.000711275723, -0.000160014561, -0.000050445901],
[0.000177159088, 0.001032713853, 0.000435835541],
[-0.002032280820, 0.000144281331, 0.000111910344],
[-0.000148463759, -0.001495212309, -0.000635892081],
[-0.000009629403, -0.000013678407, -0.000006187457],
[-0.000061196084, -0.001119783520, -0.000479221572],
[0.002630993795, -0.000113042927, -0.000112115452],
[0.000132867113, 0.001741417484, 0.000743224630],
[-0.003293498893, 0.000182437998, 0.000158073228]]
{ 'tt':4793.400000, 'ndays':22873.400000, 'coeff':[
[58.755369508116, -24.264668969300, -25.275084172155],
[19.497987169479, 21.276853294102, 0.764723273399],
[-4.823126413932, 2.498256389201, 2.232355462314],
[-0.086140983990, -0.813675478819, -0.227988579141],
[0.085311207859, 0.074538364204, -0.002854595841],
[-0.017051620380, -0.002540894346, 0.004208292723],
[0.002769861771, -0.000014329185, -0.000477592398],
[-0.002551661001, 0.000069089826, 0.000046330164],
[0.000069355992, -0.001265302658, -0.000503662137],
[-0.000739467933, -0.000680968125, -0.000281115427],
[0.001236770708, -0.001567842762, -0.000703898847],
[0.001243060414, 0.000731613032, 0.000283816485],
[0.000174026399, -0.000093710964, -0.000044485803],
[0.001493473235, 0.000902078907, 0.000350032270],
[-0.001429402935, 0.001976479349, 0.000882105392],
[-0.002183986564, -0.001289554847, -0.000499475930],
[0.001157663206, -0.001681190457, -0.000748793883],
[0.001077037844, 0.000720659055, 0.000282739654],
[-0.000650786278, 0.000898878141, 0.000401222494]]
},
{ 'tt':47272.500000, 'ndays':26141.000000, 'coeff':[
[-5.727994625506, 71.194823351703, 23.946198176031],
[-26.767323214686, -12.264949302780, 4.238297122007],
[0.890596204250, -5.970227904551, -2.131444078785],
[0.808383708156, -0.143104108476, -0.288102517987],
[0.089303327519, 0.049290470655, -0.010970501667],
[0.010197195705, 0.012879721400, 0.001317586740],
[0.001795282629, 0.004482403780, 0.001563326157],
[-0.001974716105, 0.001278073933, 0.000652735133],
[0.000906544715, -0.000805502229, -0.000336200833],
[0.000283816745, 0.001799099064, 0.000756827653],
[-0.000784971304, 0.000123081220, 0.000068812133],
[-0.000237033406, 0.000980100466, 0.000427758498],
[-0.001976846386, -0.000280421081, -0.000072417045],
[0.000195628511, -0.001446079585, -0.000624011074],
[-0.000044622337, -0.000035865046, -0.000013581236],
[0.000204397832, -0.001127474894, -0.000488668673],
[0.002625373003, 0.000389300123, 0.000102756139],
[-0.000277321614, 0.001732818354, 0.000749576471],
[-0.003280537764, -0.000457571669, -0.000116383655]]
{ 'tt':27666.800000, 'ndays':22873.400000, 'coeff':[
[67.691164156698, 60.055690812059, -1.653713469469],
[-13.392561842793, 16.736135121408, 9.258008571303],
[-2.979947432205, -2.623400069241, 0.078535157634],
[0.221140466168, -0.219668370791, -0.134946210351],
[0.002253370723, 0.006150902785, 0.000741705969],
[0.003786183572, -0.002028669517, -0.001070817054],
[-0.000729683667, 0.001185908944, 0.000459456376],
[0.000214692528, -0.001514035337, -0.000628903034],
[0.000799410963, 0.000114168654, 0.000034870976],
[0.001014080744, -0.000707640463, -0.000332517340],
[0.001555070571, 0.001399146449, 0.000560894218],
[-0.001017832289, 0.000998745218, 0.000451886947],
[0.000105798659, 0.000091126421, 0.000036516053],
[-0.001265090800, 0.001163905877, 0.000530521482],
[-0.001874934335, -0.001660517639, -0.000665989341],
[0.001807826027, -0.001705845177, -0.000775290385],
[0.001582901643, 0.001412609292, 0.000566893630],
[-0.000863192985, 0.000874901432, 0.000396000392],
[-0.000859691105, -0.000743064990, -0.000297495435]]
},
{ 'tt':50540.100000, 'ndays':22873.400000, 'coeff':[
[-12.469752090089, 70.481525173143, 25.755334377455],
[-23.370842315291, -13.264547442851, 2.902657719838],
[1.110867958719, -4.672708665650, -1.792706614402],
[0.596571797676, -0.066313898032, -0.200285819643],
[0.060080579048, 0.035889468333, -0.006426562076],
[0.006591799109, 0.011099902718, 0.002309289562],
[-0.000968324396, 0.001898382496, 0.000740088714],
[0.000523251649, 0.000812554121, 0.000383725061],
[-0.000319832676, 0.000199016237, 0.000096616884],
[0.000782553114, 0.001015845568, 0.000412740772],
[-0.001801819810, 0.001254101038, 0.000581678095],
[-0.000905307447, -0.001101496166, -0.000449936776],
[-0.000183981908, 0.000144296441, 0.000067134500],
[-0.001000404967, -0.001338920106, -0.000549210134],
[0.002108795205, -0.001386328192, -0.000645830667],
[0.001472529436, 0.001926033725, 0.000789479520],
[-0.001749726932, 0.001130345906, 0.000527043570],
[-0.000862478053, -0.001013136301, -0.000413188733],
[0.000958109900, -0.000647958487, -0.000300786397]]
}]
};

View File

@@ -93,63 +93,65 @@ A={Mercury:[[[[4.40250710144,0,0],[.40989414977,1.48302034195,26087.9031415742],
4.24509236074,224.3447957019],[8.9806014E-4,3.66105364565,109.9456887885],[3.9009723E-4,1.66971401684,70.8494453042],[4.6677296E-4,1.39976401694,35.1640902212],[3.9025624E-4,3.36234773834,277.0349937414],[3.6755274E-4,3.88649278513,146.594251718],[3.0348723E-4,.70100838798,151.0476698429],[2.9156413E-4,3.180563367,77.7505439839],[2.2637073E-4,.72518687029,529.6909650946],[1.1959076E-4,1.7504339214,984.6003316219],[2.5620756E-4,5.25656086672,380.12776796]],[[.01479896629,3.67205697578,74.7815985673]]]],
Neptune:[[[[5.31188633046,0,0],[.0179847553,2.9010127389,38.1330356378],[.01019727652,.48580922867,1.4844727083],[.00124531845,4.83008090676,36.6485629295],[4.2064466E-4,5.41054993053,2.9689454166],[3.7714584E-4,6.09221808686,35.1640902212],[3.3784738E-4,1.24488874087,76.2660712756],[1.6482741E-4,7.727998E-5,491.5579294568],[9.198584E-5,4.93747051954,39.6175083461],[8.99425E-5,.27462171806,175.1660598002]],[[38.13303563957,0,0],[1.6604172E-4,4.86323329249,1.4844727083],[1.5744045E-4,2.27887427527,
38.1330356378]]],[[[.03088622933,1.44104372644,38.1330356378],[2.7780087E-4,5.91271884599,76.2660712756],[2.7623609E-4,0,0],[1.5355489E-4,2.52123799551,36.6485629295],[1.5448133E-4,3.50877079215,39.6175083461]]],[[[30.07013205828,0,0],[.27062259632,1.32999459377,38.1330356378],[.01691764014,3.25186135653,36.6485629295],[.00807830553,5.18592878704,1.4844727083],[.0053776051,4.52113935896,35.1640902212],[.00495725141,1.5710564165,491.5579294568],[.00274571975,1.84552258866,175.1660598002],[1.201232E-4,
1.92059384991,1021.2488945514],[.00121801746,5.79754470298,76.2660712756],[.00100896068,.3770272493,73.297125859],[.00135134092,3.37220609835,39.6175083461],[7.571796E-5,1.07149207335,388.4651552382]]]]},ja={Pluto:[{tt:-109573.5,ndays:26141,coeff:[[-30.303124711144,-18.980368465705,3.206649343866],[20.092745278347,-27.533908687219,-14.64112196599],[9.137264744925,6.513103657467,-.720732357468],[-1.201554708717,2.149917852301,1.032022293526],[-.566068170022,-.285737361191,.081379987808],[.041678527795,
-.14336310504,-.057534475984],[.041087908142,.00791132158,-.010270655537],[.001611769878,.011409821837,.003679980733],[-.002536458296,-1.45632543E-4,9.4992403E-4],[.001167651969,-4.991268E-5,1.1586771E-4],[-1.96953286E-4,4.2040627E-4,1.10147171E-4],[.001073825784,4.42658285E-4,1.46985332E-4],[-9.06160087E-4,.001702360394,7.58987924E-4],[-.001467464335,-6.22191266E-4,-2.31866243E-4],[-8.986691E-6,4.086384E-6,1.442956E-6],[-.001099078039,-5.44633529E-4,-2.05534708E-4],[.001259974751,-.002178533187,
-9.65315934E-4],[.001695288316,7.68480768E-4,2.87916141E-4],[-.001428026702,.002707551594,.001195955756]]},{tt:-83432.5,ndays:26141,coeff:[[67.049456204563,-9.279626603192,-23.091941092128],[14.860676672314,26.594121136143,3.819668867047],[-6.25440904412,1.408757903538,2.323726101433],[.114416381092,-.942273228585,-.328566335886],[.074973631246,.106749156044,.010806547171],[-.018627741964,-.009983491157,.002589955906],[.006167206174,-.001042430439,-.001521881831],[-4.71293617E-4,.002337935239,.001060879763],
[-2.40627462E-4,-.001380351742,-5.4604259E-4],[.001872140444,6.7987662E-4,2.40384842E-4],[-3.34705177E-4,6.9352833E-4,3.01138309E-4],[7.96124758E-4,6.53183163E-4,2.59527079E-4],[-.001276116664,.001393959948,6.29574865E-4],[-.001235158458,-8.89985319E-4,-3.51392687E-4],[-1.9881944E-5,4.8339979E-5,2.1342186E-5],[-9.87113745E-4,-7.48420747E-4,-2.96503569E-4],[.001721891782,-.001893675502,-8.54270937E-4],[.001505145187,.001081653337,4.2672364E-4],[-.002019479384,.002375617497,.001068258925]]},{tt:-57291.5,
ndays:26141,coeff:[[46.038290912405,73.773759757856,9.148670950706],[-22.354364534703,10.217143138926,9.921247676076],[-2.696282001399,-4.440843715929,-.57237303784],[.3854758188,-.287872688575,-.205914693555],[.020994433095,.004256602589,-.004817361041],[.003212255378,5.74875698E-4,-7.6446437E-4],[-1.58619286E-4,-.001035559544,-5.35612316E-4],[9.67952107E-4,-6.53111849E-4,-2.9201975E-4],[.001763494906,-3.70815938E-4,-2.24698363E-4],[.00115799033,.001849810828,7.59641577E-4],[-8.83535516E-4,3.84038162E-4,
1.91242192E-4],[7.09486562E-4,6.55810827E-4,2.65431131E-4],[-.001525810419,.001126870468,5.20202001E-4],[-9.8321086E-4,-.001116073455,-4.56026382E-4],[-1.565545E-5,6.9184008E-5,2.9796623E-5],[-8.15102021E-4,-9.0059701E-4,-3.65274209E-4],[.002090300438,-.001536778673,-7.09827438E-4],[.001234661297,.001342978436,5.45313112E-4],[-.002517963678,.001941826791,8.9385986E-4]]},{tt:-31150.5,ndays:26141,coeff:[[-39.074661990988,30.963513412373,21.431709298065],[-12.033639281924,-31.69367913231,-6.263961539568],
[7.233936758611,-3.979157072767,-3.421027935569],[1.383182539917,1.0907297934,-.076771771448],[-.009894394996,.313614402007,.101180677344],[-.055459383449,.031782406403,.026374448864],[-.011074105991,-.007176759494,.001896208351],[-2.63363398E-4,-.001145329444,2.15471838E-4],[4.05700185E-4,-8.39229891E-4,-4.18571366E-4],[.001004921401,.001135118493,4.06734549E-4],[-4.73938695E-4,2.82751002E-4,1.14911593E-4],[5.28685886E-4,9.66635293E-4,4.01955197E-4],[-.001838869845,8.06432189E-4,3.94594478E-4],[-7.13122169E-4,
-.001334810971,-5.54511235E-4],[6.449359E-6,6.073E-5,2.451323E-5],[-5.96025142E-4,-9.9949277E-4,-4.13930406E-4],[.002364904429,-.001099236865,-5.28480902E-4],[9.07458104E-4,.001537243912,6.37001965E-4],[-.002909908764,.001413648354,6.77030924E-4]]},{tt:-5009.5,ndays:26141,coeff:[[23.380075041204,-38.969338804442,-19.204762094135],[33.437140696536,8.735194448531,-7.348352917314],[-3.127251304544,8.324311848708,3.540122328502],[-1.491354030154,-1.350371407475,.028214278544],[.361398480996,-.118420687058,
-.14537560548],[-.011771350229,.085880588309,.030665997197],[-.015839541688,-.014165128211,5.23465951E-4],[.004213218926,-.001426373728,-.001906412496],[.001465150002,4.51513538E-4,8.1936194E-5],[6.40069511E-4,.001886692235,8.84675556E-4],[-8.8355494E-4,3.01907356E-4,1.27310183E-4],[2.45524038E-4,9.10362686E-4,3.85555148E-4],[-.001942010476,4.3868228E-4,2.37124027E-4],[-4.2545566E-4,-.001442138768,-6.0775139E-4],[4.168433E-6,3.3856562E-5,1.3881811E-5],[-3.37920193E-4,-.001074290356,-4.52503056E-4],
[.002544755354,-6.20356219E-4,-3.27246228E-4],[5.3453411E-4,.001670320887,7.02775941E-4],[-.00316938027,8.16186705E-4,4.27213817E-4]]},{tt:21131.5,ndays:26141,coeff:[[74.130449310804,43.372111541004,-8.799489207171],[-8.705941488523,23.344631690845,9.908006472122],[-4.614752911564,-2.587334376729,.583321715294],[.316219286624,-.395448970181,-.219217574801],[.004593734664,.027528474371,.00773619728],[-.001192268851,-.004987723997,-.001599399192],[.003051998429,-.001287028653,-7.80744058E-4],[.001482572043,
.001613554244,6.35747068E-4],[5.81965277E-4,7.88286674E-4,3.15285159E-4],[-3.1183073E-4,.00162236993,7.14817617E-4],[-7.11275723E-4,-1.60014561E-4,-5.0445901E-5],[1.77159088E-4,.001032713853,4.35835541E-4],[-.00203228082,1.44281331E-4,1.11910344E-4],[-1.48463759E-4,-.001495212309,-6.35892081E-4],[-9.629403E-6,-1.3678407E-5,-6.187457E-6],[-6.1196084E-5,-.00111978352,-4.79221572E-4],[.002630993795,-1.13042927E-4,-1.12115452E-4],[1.32867113E-4,.001741417484,7.4322463E-4],[-.003293498893,1.82437998E-4,
1.58073228E-4]]},{tt:47272.5,ndays:26141,coeff:[[-5.727994625506,71.194823351703,23.946198176031],[-26.767323214686,-12.26494930278,4.238297122007],[.89059620425,-5.970227904551,-2.131444078785],[.808383708156,-.143104108476,-.288102517987],[.089303327519,.049290470655,-.010970501667],[.010197195705,.0128797214,.00131758674],[.001795282629,.00448240378,.001563326157],[-.001974716105,.001278073933,6.52735133E-4],[9.06544715E-4,-8.05502229E-4,-3.36200833E-4],[2.83816745E-4,.001799099064,7.56827653E-4],
[-7.84971304E-4,1.2308122E-4,6.8812133E-5],[-2.37033406E-4,9.80100466E-4,4.27758498E-4],[-.001976846386,-2.80421081E-4,-7.2417045E-5],[1.95628511E-4,-.001446079585,-6.24011074E-4],[-4.4622337E-5,-3.5865046E-5,-1.3581236E-5],[2.04397832E-4,-.001127474894,-4.88668673E-4],[.002625373003,3.89300123E-4,1.02756139E-4],[-2.77321614E-4,.001732818354,7.49576471E-4],[-.003280537764,-4.57571669E-4,-1.16383655E-4]]}]},r=[{mjd:-72638,dt:38},{mjd:-65333,dt:26},{mjd:-58028,dt:21},{mjd:-50724,dt:21.1},{mjd:-43419,
dt:13.5},{mjd:-39766,dt:13.7},{mjd:-36114,dt:14.8},{mjd:-32461,dt:15.7},{mjd:-28809,dt:15.6},{mjd:-25156,dt:13.3},{mjd:-21504,dt:12.6},{mjd:-17852,dt:11.2},{mjd:-14200,dt:11.13},{mjd:-10547,dt:7.95},{mjd:-6895,dt:6.22},{mjd:-3242,dt:6.55},{mjd:-1416,dt:7.26},{mjd:410,dt:7.35},{mjd:2237,dt:5.92},{mjd:4063,dt:1.04},{mjd:5889,dt:-3.19},{mjd:7715,dt:-5.36},{mjd:9542,dt:-5.74},{mjd:11368,dt:-5.86},{mjd:13194,dt:-6.41},{mjd:15020,dt:-2.7},{mjd:16846,dt:3.92},{mjd:18672,dt:10.38},{mjd:20498,dt:17.19},{mjd:22324,
dt:21.41},{mjd:24151,dt:23.63},{mjd:25977,dt:24.02},{mjd:27803,dt:23.91},{mjd:29629,dt:24.35},{mjd:31456,dt:26.76},{mjd:33282,dt:29.15},{mjd:35108,dt:31.07},{mjd:36934,dt:33.15},{mjd:38761,dt:35.738},{mjd:40587,dt:40.182},{mjd:42413,dt:45.477},{mjd:44239,dt:50.54},{mjd:44605,dt:51.3808},{mjd:44970,dt:52.1668},{mjd:45335,dt:52.9565},{mjd:45700,dt:53.7882},{mjd:46066,dt:54.3427},{mjd:46431,dt:54.8712},{mjd:46796,dt:55.3222},{mjd:47161,dt:55.8197},{mjd:47527,dt:56.3},{mjd:47892,dt:56.8553},{mjd:48257,
dt:57.5653},{mjd:48622,dt:58.3092},{mjd:48988,dt:59.1218},{mjd:49353,dt:59.9845},{mjd:49718,dt:60.7853},{mjd:50083,dt:61.6287},{mjd:50449,dt:62.295},{mjd:50814,dt:62.9659},{mjd:51179,dt:63.4673},{mjd:51544,dt:63.8285},{mjd:51910,dt:64.0908},{mjd:52275,dt:64.2998},{mjd:52640,dt:64.4734},{mjd:53005,dt:64.5736},{mjd:53371,dt:64.6876},{mjd:53736,dt:64.8452},{mjd:54101,dt:65.1464},{mjd:54466,dt:65.4573},{mjd:54832,dt:65.7768},{mjd:55197,dt:66.0699},{mjd:55562,dt:66.3246},{mjd:55927,dt:66.603},{mjd:56293,
dt:66.9069},{mjd:56658,dt:67.281},{mjd:57023,dt:67.6439},{mjd:57388,dt:68.1024},{mjd:57754,dt:68.5927},{mjd:58119,dt:68.9676},{mjd:58484,dt:69.2201},{mjd:58849,dt:69.87},{mjd:59214,dt:70.39},{mjd:59580,dt:70.91},{mjd:59945,dt:71.4},{mjd:60310,dt:71.88},{mjd:60675,dt:72.36},{mjd:61041,dt:72.83},{mjd:61406,dt:73.32},{mjd:61680,dt:73.66}],L=function(a){if(a instanceof Date)this.date=a,this.ut=(a-aa)/864E5,this.tt=z(this.ut);else if("number"===typeof a)this.date=new Date(aa-864E5*-a),this.ut=a,this.tt=
z(this.ut);else throw"Argument must be a Date object, an AstroTime object, or a numeric UTC Julian date.";};L.prototype.toString=function(){return this.date.toISOString()};L.prototype.AddDays=function(a){return new L(this.ut+a)};d.MakeTime=function(a){return a instanceof L?a:new L(a)};var ba=[{nals:[0,0,0,0,1],cls:[-172064161,-174666,33386,92052331,9086,15377]},{nals:[0,0,2,-2,2],cls:[-13170906,-1675,-13696,5730336,-3015,-4587]},{nals:[0,0,2,0,2],cls:[-2276413,-234,2796,978459,-485,1374]},{nals:[0,
0,0,0,2],cls:[2074554,207,-698,-897492,470,-291]},{nals:[0,1,0,0,0],cls:[1475877,-3633,11817,73871,-184,-1924]},{nals:[0,1,2,-2,2],cls:[-516821,1226,-524,224386,-677,-174]},{nals:[1,0,0,0,0],cls:[711159,73,-872,-6750,0,358]},{nals:[0,0,2,0,1],cls:[-387298,-367,380,200728,18,318]},{nals:[1,0,2,0,2],cls:[-301461,-36,816,129025,-63,367]},{nals:[0,-1,2,-2,2],cls:[215829,-494,111,-95929,299,132]},{nals:[0,0,2,-2,1],cls:[128227,137,181,-68982,-9,39]},{nals:[-1,0,2,0,2],cls:[123457,11,19,-53311,32,-4]},
{nals:[-1,0,0,2,0],cls:[156994,10,-168,-1235,0,82]},{nals:[1,0,0,0,1],cls:[63110,63,27,-33228,0,-9]},{nals:[-1,0,0,0,1],cls:[-57976,-63,-189,31429,0,-75]},{nals:[-1,0,2,2,2],cls:[-59641,-11,149,25543,-11,66]},{nals:[1,0,2,0,1],cls:[-51613,-42,129,26366,0,78]},{nals:[-2,0,2,0,1],cls:[45893,50,31,-24236,-10,20]},{nals:[0,0,0,2,0],cls:[63384,11,-150,-1220,0,29]},{nals:[0,0,2,2,2],cls:[-38571,-1,158,16452,-11,68]},{nals:[0,-2,2,-2,2],cls:[32481,0,0,-13870,0,0]},{nals:[-2,0,0,2,0],cls:[-47722,0,-18,477,
0,-25]},{nals:[2,0,2,0,2],cls:[-31046,-1,131,13238,-11,59]},{nals:[1,0,2,-2,2],cls:[28593,0,-1,-12338,10,-3]},{nals:[-1,0,2,0,1],cls:[20441,21,10,-10758,0,-3]},{nals:[2,0,0,0,0],cls:[29243,0,-74,-609,0,13]},{nals:[0,0,2,0,0],cls:[25887,0,-66,-550,0,11]},{nals:[0,1,0,0,1],cls:[-14053,-25,79,8551,-2,-45]},{nals:[-1,0,0,2,1],cls:[15164,10,11,-8001,0,-1]},{nals:[0,2,2,-2,2],cls:[-15794,72,-16,6850,-42,-5]},{nals:[0,0,-2,2,0],cls:[21783,0,13,-167,0,13]},{nals:[1,0,0,-2,1],cls:[-12873,-10,-37,6953,0,-14]},
{nals:[0,-1,0,0,1],cls:[-12654,11,63,6415,0,26]},{nals:[-1,0,2,2,1],cls:[-10204,0,25,5222,0,15]},{nals:[0,2,0,0,0],cls:[16707,-85,-10,168,-1,10]},{nals:[1,0,2,2,2],cls:[-7691,0,44,3268,0,19]},{nals:[-2,0,2,0,0],cls:[-11024,0,-14,104,0,2]},{nals:[0,1,2,0,2],cls:[7566,-21,-11,-3250,0,-5]},{nals:[0,0,2,2,1],cls:[-6637,-11,25,3353,0,14]},{nals:[0,-1,2,0,2],cls:[-7141,21,8,3070,0,4]},{nals:[0,0,0,2,1],cls:[-6302,-11,2,3272,0,4]},{nals:[1,0,2,-2,1],cls:[5800,10,2,-3045,0,-1]},{nals:[2,0,2,-2,2],cls:[6443,
0,-7,-2768,0,-4]},{nals:[-2,0,0,2,1],cls:[-5774,-11,-15,3041,0,-5]},{nals:[2,0,2,0,1],cls:[-5350,0,21,2695,0,12]},{nals:[0,-1,2,-2,1],cls:[-4752,-11,-3,2719,0,-3]},{nals:[0,0,0,-2,1],cls:[-4940,-11,-21,2720,0,-9]},{nals:[-1,-1,0,2,0],cls:[7350,0,-8,-51,0,4]},{nals:[2,0,0,-2,1],cls:[4065,0,6,-2206,0,1]},{nals:[1,0,0,2,0],cls:[6579,0,-24,-199,0,2]},{nals:[0,1,2,-2,1],cls:[3579,0,5,-1900,0,1]},{nals:[1,-1,0,0,0],cls:[4725,0,-6,-41,0,3]},{nals:[-2,0,2,0,2],cls:[-3075,0,-2,1313,0,-1]},{nals:[3,0,2,0,2],
cls:[-2904,0,15,1233,0,7]},{nals:[0,-1,0,2,0],cls:[4348,0,-10,-81,0,2]},{nals:[1,-1,2,0,2],cls:[-2878,0,8,1232,0,4]},{nals:[0,0,0,1,0],cls:[-4230,0,5,-20,0,-2]},{nals:[-1,-1,2,2,2],cls:[-2819,0,7,1207,0,3]},{nals:[-1,0,2,0,0],cls:[-4056,0,5,40,0,-2]},{nals:[0,-1,2,2,2],cls:[-2647,0,11,1129,0,5]},{nals:[-2,0,0,0,1],cls:[-2294,0,-10,1266,0,-4]},{nals:[1,1,2,0,2],cls:[2481,0,-7,-1062,0,-3]},{nals:[2,0,0,0,1],cls:[2179,0,-2,-1129,0,-2]},{nals:[-1,1,0,1,0],cls:[3276,0,1,-9,0,0]},{nals:[1,1,0,0,0],cls:[-3389,
0,5,35,0,-2]},{nals:[1,0,2,0,0],cls:[3339,0,-13,-107,0,1]},{nals:[-1,0,2,-2,1],cls:[-1987,0,-6,1073,0,-2]},{nals:[1,0,0,0,2],cls:[-1981,0,0,854,0,0]},{nals:[-1,0,0,1,0],cls:[4026,0,-353,-553,0,-139]},{nals:[0,0,2,1,2],cls:[1660,0,-5,-710,0,-2]},{nals:[-1,0,2,4,2],cls:[-1521,0,9,647,0,4]},{nals:[-1,1,0,1,1],cls:[1314,0,0,-700,0,0]},{nals:[0,-2,2,-2,1],cls:[-1283,0,0,672,0,0]},{nals:[1,0,2,2,1],cls:[-1331,0,8,663,0,4]},{nals:[-2,0,2,2,2],cls:[1383,0,-2,-594,0,-2]},{nals:[-1,0,0,0,2],cls:[1405,0,4,-610,
0,2]},{nals:[1,1,2,-2,2],cls:[1290,0,0,-556,0,0]}],Q,t=function(a,b,c,d){this.x=a;this.y=b;this.z=c;this.t=d};t.prototype.Length=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)};var W=function(a,b,c){this.lat=a;this.lon=b;this.dist=c};d.MakeSpherical=function(a,b,c){return new W(a,b,c)};var da=function(a,b,c){this.ra=a;this.dec=b;this.dist=c},w=function(a){this.rot=a};d.MakeRotation=function(a){if(!la(a))throw"Argument must be a [3][3] array of numbers";return new w(a)};var qa=
function(a,b,c,d){this.azimuth=a;this.altitude=b;this.ra=c;this.dec=d},ma=function(a,b,c,d,g){this.ex=a;this.ey=b;this.ez=c;this.elat=d;this.elon=g};d.Horizon=function(a,b,c,e,g){a=d.MakeTime(a);var h=Math.sin(.017453292519943295*b.latitude),l=Math.cos(.017453292519943295*b.latitude),k=Math.sin(.017453292519943295*b.longitude),m=Math.cos(.017453292519943295*b.longitude);b=Math.sin(.017453292519943295*e);var f=Math.cos(.017453292519943295*e),n=Math.sin(.2617993877991494*c),p=Math.cos(.2617993877991494*
c),q=[l*m,l*k,h];h=[-h*m,-h*k,l];k=[k,-m,0];l=-15*S(a);a=E(l,q);q=E(l,h);k=E(l,k);b=[f*p,f*n,b];n=b[0]*a[0]+b[1]*a[1]+b[2]*a[2];q=b[0]*q[0]+b[1]*q[1]+b[2]*q[2];k=b[0]*k[0]+b[1]*k[1]+b[2]*k[2];p=Math.sqrt(q*q+k*k);f=0;0<p&&(f=57.29577951308232*-Math.atan2(k,q),0>f&&(f+=360),360<=f&&(f-=360));n=57.29577951308232*Math.atan2(p,n);p=e;if(g&&(e=n,g=d.Refraction(g,90-n),n-=g,0<g&&3E-4<n)){c=Math.sin(.017453292519943295*n);p=Math.cos(.017453292519943295*n);q=Math.sin(.017453292519943295*e);e=Math.cos(.017453292519943295*
e);g=[];for(k=0;3>k;++k)g.push((b[k]-e*a[k])/q*c+a[k]*p);p=Math.sqrt(g[0]*g[0]+g[1]*g[1]);0<p?(c=57.29577951308232*Math.atan2(g[1],g[0])/15,0>c&&(c+=24),24<=c&&(c-=24)):c=0;p=57.29577951308232*Math.atan2(g[2],p)}return new qa(f,90-n,c,p)};var ra=function(a,b,c){this.latitude=a;this.longitude=b;this.height=c};d.MakeObserver=function(a,b,c){return new ra(a,b,c||0)};d.SunPosition=function(a){a=d.MakeTime(a).AddDays(-.005775518331089121);var b=B(A.Earth,a);b=R(0,[-b.x,-b.y,-b.z],a.tt);b=Y(a,0,b);a=.017453292519943295*
P(a).tobl;return ea(b[0],b[1],b[2],Math.cos(a),Math.sin(a))};d.Equator=function(a,b,c,e,g){b=d.MakeTime(b);var h=S(b),l=.017453292519943295*c.latitude,k=Math.sin(l);l=Math.cos(l);var m=1/Math.sqrt(l*l+.9933056020041345*k*k),f=c.height/1E3,n=6378.1366*m+f;c=.017453292519943295*(15*h+c.longitude);c=Y(b,-1,[n*l*Math.cos(c)/1.4959787069098932E8,n*l*Math.sin(c)/1.4959787069098932E8,(6335.438815127603*m+f)*k/1.4959787069098932E8]);c=R(b.tt,c,0);a=d.GeoVector(a,b,g);a=[a.x-c[0],a.y-c[1],a.z-c[2]];if(!e)return ca(a);
e=R(0,a,b.tt);e=Y(b,0,e);return ca(e)};d.Ecliptic=function(a,b,c){void 0===U&&(U=.017453292519943295*P(d.MakeTime(aa)).mobl,ha=Math.cos(U),ia=Math.sin(U));return ea(a,b,c,ha,ia)};d.GeoMoon=function(a){a=d.MakeTime(a);var b=D(a),c=b.distance_au*Math.cos(b.geo_eclip_lat);b=[c*Math.cos(b.geo_eclip_lon),c*Math.sin(b.geo_eclip_lon),b.distance_au*Math.sin(b.geo_eclip_lat)];var e=.017453292519943295*C(a);c=Math.cos(e);e=Math.sin(e);b=R(a.tt,[b[0],b[1]*c-b[2]*e,b[1]*e+b[2]*c],0);return new t(b[0],b[1],b[2],
a)};d.HelioVector=function(a,b){b=d.MakeTime(b);if(a in A)return B(A[a],b);if(a in ja){a:{var c=$jscomp.makeIterator(ja[a]);for(a=c.next();!a.done;a=c.next()){a=a.value;var e=a.tt;var g=a.tt+a.ndays;e=(2*b.tt-(g+e))/(g-e);if(-1<=e&&1>=e){var h=[];for(g=0;3>g;++g){var l=1;var k=a.coeff[0][g];var m=e;k+=a.coeff[1][g]*m;for(c=2;c<a.coeff.length;++c){var f=2*e*m-l;k+=a.coeff[c][g]*f;l=m;m=f}h.push(k-a.coeff[0][g]/2)}b=new t(h[0],h[1],h[2],b);break a}}throw"Cannot extrapolate Chebyshev model for given Terrestrial Time: "+
b.tt;}return b}if("Sun"===a)return new t(0,0,0,b);if("Moon"===a)return a=B(A.Earth,b),e=d.GeoMoon(b),new t(a.x+e.x,a.y+e.y,a.z+e.z,b);throw'Astronomy.HelioVector: Unknown body "'+a+'"';};d.GeoVector=function(a,b,c){b=d.MakeTime(b);if("Moon"===a)return d.GeoMoon(b);if("Earth"===a)return new t(0,0,0,b);var e;c||(e=B(A.Earth,b));for(var g,h,l=b,k=0;10>k;++k){g=d.HelioVector(a,l);c&&(e=B(A.Earth,l));h=new t(g.x-e.x,g.y-e.y,g.z-e.z,b);if("Sun"===a)return h;var m=b.AddDays(-h.Length()/173.1446326846693);
g=Math.abs(m.tt-l.tt);if(1E-9>g)return h;l=m}throw"Light-travel time solver did not converge: dt="+g;};d.Search=function(a,b,c,e){function g(b){++H.search_func;return a(b)}var h=Math.abs((e&&e.dt_tolerance_seconds||1)/86400);++H.search;var l=e&&e.init_f1||g(b),k=e&&e.init_f2||g(c),m,f=0;e=e&&e.iter_limit||20;for(var n=!0;;){if(++f>e)throw"Excessive iteration in Search()";var p=new L(b.ut+.5*(c.ut-b.ut)),q=p.ut-b.ut;if(Math.abs(q)<h)return p;n?m=g(p):n=!0;var v=na(p.ut,c.ut-p.ut,l,m,k);if(v){var r=
d.MakeTime(v.t),t=g(r);if(0!==v.df_dt){if(Math.abs(t/v.df_dt)<h)return r;v=1.2*Math.abs(t/v.df_dt);if(v<q/10&&(q=r.AddDays(-v),r=r.AddDays(+v),0>(q.ut-b.ut)*(q.ut-c.ut)&&0>(r.ut-b.ut)*(r.ut-c.ut))){v=g(q);var u=g(r);if(0>v&&0<=u){l=v;k=u;b=q;c=r;m=t;n=!1;continue}}}}if(0>l&&0<=m)c=p,k=m;else if(0>m&&0<=k)b=p,l=m;else return null}};d.SearchSunLongitude=function(a,b,c){b=d.MakeTime(b);c=b.AddDays(c);return d.Search(function(b){b=d.SunPosition(b);return I(b.elon-a)},b,c)};d.LongitudeFromSun=function(a,
b){if("Earth"===a)throw"The Earth does not have a longitude as seen from itself.";b=d.MakeTime(b);a=d.GeoVector(a,b,!0);a=d.Ecliptic(a.x,a.y,a.z);b=d.GeoVector("Sun",b,!0);b=d.Ecliptic(b.x,b.y,b.z);for(b=a.elon-b.elon;0>b;)b+=360;for(;360<=b;)b-=360;return b};d.AngleFromSun=function(a,b){if("Earth"==a)throw"The Earth does not have an angle as seen from itself.";var c=d.GeoVector("Sun",b,!0);a=d.GeoVector(a,b,!0);return y(c,a)};d.EclipticLongitude=function(a,b){if("Sun"===a)throw"Cannot calculate heliocentric longitude of the Sun.";
a=d.HelioVector(a,b);return d.Ecliptic(a.x,a.y,a.z).elon};var sa=function(a,b,c,d,g,h,l,k){this.time=a;this.mag=b;this.phase_angle=c;this.phase_fraction=(1+Math.cos(.017453292519943295*c))/2;this.helio_dist=d;this.geo_dist=g;this.gc=h;this.hc=l;this.ring_tilt=k};d.Illumination=function(a,b){if("Earth"===a)throw"The illumination of the Earth is not defined.";var c=d.MakeTime(b),e=B(A.Earth,c);if("Sun"===a){var g=new t(-e.x,-e.y,-e.z,c);b=new t(0,0,0,c);e=0}else"Moon"===a?(g=d.GeoMoon(c),b=new t(e.x+
g.x,e.y+g.y,e.z+g.z,c)):(b=d.HelioVector(a,b),g=new t(b.x-e.x,b.y-e.y,b.z-e.z,c)),e=y(g,b);var h=g.Length(),l=b.Length(),k=null;if("Sun"===a)a=oa+5*Math.log10(h);else if("Moon"===a){a=.017453292519943295*e;var m=a*a;a=-12.717+1.49*Math.abs(a)+.0431*m*m;a+=5*Math.log10(h/.002573570052980638*l)}else if("Saturn"===a)a=e,k=d.Ecliptic(g.x,g.y,g.z),m=.017453292519943295*k.elat,k=Math.asin(Math.sin(m)*Math.cos(.4897393881096089)-Math.cos(m)*Math.sin(.4897393881096089)*Math.sin(.017453292519943295*k.elon-
.017453292519943295*(169.51+3.82E-5*c.tt))),m=Math.sin(Math.abs(k)),a=-9+.044*a+m*(-2.6+1.2*m)+5*Math.log10(l*h),k*=57.29577951308232;else{var f=m=0,n=0;switch(a){case "Mercury":a=-.6;m=4.98;f=-4.88;n=3.02;break;case "Venus":163.6>e?(a=-4.47,m=1.03,f=.57,n=.13):(a=.98,m=-1.02);break;case "Mars":a=-1.52;m=1.6;break;case "Jupiter":a=-9.4;m=.5;break;case "Uranus":a=-7.19;m=.25;break;case "Neptune":a=-6.87;break;case "Pluto":a=-1;m=4;break;default:throw"VisualMagnitude: unsupported body "+a;}var p=e/
100;a=a+p*(m+p*(f+p*n))+5*Math.log10(l*h)}return new sa(c,a,e,l,h,g,b,k)};d.SearchRelativeLongitude=function(a,b,c){function e(c){var e=d.EclipticLongitude(a,c);c=d.EclipticLongitude("Earth",c);return I(h*(c-e)-b)}var g=T[a];if(!g)throw"Cannot search relative longitude because body is not a planet: "+a;if("Earth"===a)throw"Cannot search relative longitude for the Earth (it is always 0)";var h=g.OrbitalPeriod>T.Earth.OrbitalPeriod?1:-1;g=F(a);c=d.MakeTime(c);var l=e(c);0<l&&(l-=360);++H.longitude_search;
for(var k=0;100>k;++k){++H.longitude_iter;var m=-l/360*g;c=c.AddDays(m);if(1>86400*Math.abs(m))return c;m=l;l=e(c);30>Math.abs(m)&&m!==l&&(m/=m-l,.5<m&&2>m&&(g*=m))}throw"Relative longitude search failed to converge for "+a+" near "+c.toString()+" (error_angle = "+l+").";};d.MoonPhase=function(a){return d.LongitudeFromSun("Moon",a)};d.SearchMoonPhase=function(a,b,c){function e(b){b=d.MoonPhase(b);return I(b-a)}b=d.MakeTime(b);var g=e(b);0<g&&(g-=360);var h=-(29.530588*g)/360;g=h-.9;if(g>c)return null;
c=Math.min(c,h+.9);g=b.AddDays(g);b=b.AddDays(c);return d.Search(e,g,b)};var ta=function(a,b){this.quarter=a;this.time=b};d.SearchMoonQuarter=function(a){var b=d.MoonPhase(a);b=(Math.floor(b/90)+1)%4;return(a=d.SearchMoonPhase(90*b,a,10))&&new ta(b,a)};d.NextMoonQuarter=function(a){a=new Date(a.time.date.getTime()+5184E5);return d.SearchMoonQuarter(a)};d.SearchRiseSet=function(a,b,c,e,g){function h(e){var f=d.Equator(a,e,b,!0,!0);e=d.Horizon(e,b,f.ra,f.dec).altitude+l/f.dist*57.29577951308232+pa;
return c*e}var l={Sun:.0046505,Moon:1.15717E-5}[a]||0;if("Earth"===a)throw"Cannot find rise or set time of the Earth.";if(1===c){var k=12;var m=0}else if(-1===c)k=0,m=12;else throw"Astronomy.SearchRiseSet: Invalid direction parameter "+c+" -- must be +1 or -1";e=d.MakeTime(e);var f=h(e);var n;if(0<f){f=d.SearchHourAngle(a,b,k,e);var p=f.time;f=h(p)}else p=e;var q=d.SearchHourAngle(a,b,m,p);for(n=h(q.time);;){if(0>=f&&0<n&&(p=d.Search(h,p,q.time,{init_f1:f,init_f2:n})))return p;f=d.SearchHourAngle(a,
b,k,q.time);q=d.SearchHourAngle(a,b,m,f.time);if(f.time.ut>=e.ut+g)return null;p=f.time;f=h(f.time);n=h(q.time)}};var ua=function(a,b){this.time=a;this.hor=b};d.SearchHourAngle=function(a,b,c,e){e=d.MakeTime(e);var g=0;if("Earth"===a)throw"Cannot search for hour angle of the Earth.";if(0>c||24<=c)throw"Invalid hour angle "+c;for(;;){++g;var h=S(e),l=d.Equator(a,e,b,!0,!0);h=(c+l.ra-b.longitude/15-h)%24;1===g?0>h&&(h+=24):-12>h?h+=24:12<h&&(h-=24);if(.1>3600*Math.abs(h))return a=d.Horizon(e,b,l.ra,
l.dec,"normal"),new ua(e,a);e=e.AddDays(h/24*.9972695717592592)}};var va=function(a,b,c,d){this.mar_equinox=a;this.jun_solstice=b;this.sep_equinox=c;this.dec_solstice=d};d.Seasons=function(a){function b(b,c,e){c=new Date(Date.UTC(a,c-1,e));b=d.SearchSunLongitude(b,c,4);if(!b)throw"Cannot find season change near "+c.toISOString();return b}a instanceof Date&&(a=a.getUTCFullYear());var c=b(0,3,19),e=b(90,6,19),g=b(180,9,21),h=b(270,12,20);return new va(c,e,g,h)};var wa=function(a,b,c,d){this.time=a;
this.visibility=b;this.elongation=c;this.ecliptic_separation=d};d.Elongation=function(a,b){b=d.MakeTime(b);var c=d.LongitudeFromSun(a,b);if(180<c){var e="morning";c=360-c}else e="evening";a=d.AngleFromSun(a,b);return new wa(b,e,a,c)};d.SearchMaxElongation=function(a,b){function c(b){var c=b.AddDays(-.005);b=b.AddDays(.005);c=d.AngleFromSun(a,c);b=d.AngleFromSun(a,b);return(c-b)/.01}b=d.MakeTime(b);var e={Mercury:{s1:50,s2:85},Venus:{s1:40,s2:50}}[a];if(!e)throw"SearchMaxElongation works for Mercury and Venus only.";
for(var g=0;2>=++g;){var h=d.EclipticLongitude(a,b),l=d.EclipticLongitude("Earth",b);l=I(h-l);var k=h=void 0,m=k=h=void 0;l>=-e.s1&&l<+e.s1?(m=0,h=+e.s1,k=+e.s2):l>=+e.s2||l<-e.s2?(m=0,h=-e.s2,k=-e.s1):0<=l?(m=-F(a)/4,h=+e.s1,k=+e.s2):(m=-F(a)/4,h=-e.s2,k=-e.s1);l=b.AddDays(m);h=d.SearchRelativeLongitude(a,h,l);k=d.SearchRelativeLongitude(a,k,h);l=c(h);if(0<=l)throw"SearchMaxElongation: internal error: m1 = "+l;m=c(k);if(0>=m)throw"SearchMaxElongation: internal error: m2 = "+m;l=d.Search(c,h,k,{init_f1:l,
init_f2:m,dt_tolerance_seconds:10});if(!l)throw"SearchMaxElongation: failed search iter "+g+" (t1="+h.toString()+", t2="+k.toString()+")";if(l.tt>=b.tt)return d.Elongation(a,l);b=k.AddDays(1)}throw"SearchMaxElongation: failed to find event after 2 tries.";};d.SearchPeakMagnitude=function(a,b){function c(b){var c=b.AddDays(-.005);b=b.AddDays(.005);c=d.Illumination(a,c).mag;return(d.Illumination(a,b).mag-c)/.01}if("Venus"!==a)throw"SearchPeakMagnitude currently works for Venus only.";b=d.MakeTime(b);
for(var e=0;2>=++e;){var g=d.EclipticLongitude(a,b),h=d.EclipticLongitude("Earth",b);h=I(g-h);var l=g=void 0,k=l=g=void 0;-10<=h&&10>h?(k=0,g=10,l=30):30<=h||-30>h?(k=0,g=-30,l=-10):0<=h?(k=-F(a)/4,g=10,l=30):(k=-F(a)/4,g=-30,l=-10);h=b.AddDays(k);g=d.SearchRelativeLongitude(a,g,h);l=d.SearchRelativeLongitude(a,l,g);h=c(g);if(0<=h)throw"SearchPeakMagnitude: internal error: m1 = "+h;k=c(l);if(0>=k)throw"SearchPeakMagnitude: internal error: m2 = "+k;h=d.Search(c,g,l,{init_f1:h,init_f2:k,dt_tolerance_seconds:10});
if(!h)throw"SearchPeakMagnitude: failed search iter "+e+" (t1="+g.toString()+", t2="+l.toString()+")";if(h.tt>=b.tt)return d.Illumination(a,h);b=l.AddDays(1)}throw"SearchPeakMagnitude: failed to find event after 2 tries.";};var ka=function(a,b,c){this.time=a;this.kind=b;this.dist_au=c;this.dist_km=1.4959787069098932E8*c};d.SearchLunarApsis=function(a){function b(a){var b=a.AddDays(-5E-4);a=a.AddDays(5E-4);b=D(b).distance_au;return(D(a).distance_au-b)/.001}function c(a){return-b(a)}a=d.MakeTime(a);
var e=b(a);++H.lunar_apsis_calls;for(var g=0;59.061176>5*g;++g){++H.lunar_apsis_iter;var h=a.AddDays(5),l=b(h);if(0>=e*l){if(0>e||0<l){a=d.Search(b,a,h,{init_f1:e,init_f2:l});if(null==a)throw"SearchLunarApsis INTERNAL ERROR: perigee search failed!";e=D(a).distance_au;return new ka(a,0,e)}if(0<e||0>l){a=d.Search(c,a,h,{init_f1:-e,init_f2:-l});if(null==a)throw"SearchLunarApsis INTERNAL ERROR: apogee search failed!";e=D(a).distance_au;return new ka(a,1,e)}throw"SearchLunarApsis INTERNAL ERROR: cannot classify apsis event!";
}a=h;e=l}throw"SearchLunarApsis INTERNAL ERROR: could not find apsis within 2 synodic months of start date.";};d.NextLunarApsis=function(a){var b=d.SearchLunarApsis(a.time.AddDays(11));if(1!==b.kind+a.kind)throw"NextLunarApsis INTERNAL ERROR: did not find alternating apogee/perigee: prev="+a.kind+" @ "+a.time.toString()+", next="+b.kind+" @ "+b.time.toString();return b};d.InverseRotation=function(a){return new w([[a.rot[0][0],a.rot[1][0],a.rot[2][0]],[a.rot[0][1],a.rot[1][1],a.rot[2][1]],[a.rot[0][2],
a.rot[1][2],a.rot[2][2]]])};d.CombineRotation=function(a,b){return new w([[b.rot[0][0]*a.rot[0][0]+b.rot[1][0]*a.rot[0][1]+b.rot[2][0]*a.rot[0][2],b.rot[0][1]*a.rot[0][0]+b.rot[1][1]*a.rot[0][1]+b.rot[2][1]*a.rot[0][2],b.rot[0][2]*a.rot[0][0]+b.rot[1][2]*a.rot[0][1]+b.rot[2][2]*a.rot[0][2]],[b.rot[0][0]*a.rot[1][0]+b.rot[1][0]*a.rot[1][1]+b.rot[2][0]*a.rot[1][2],b.rot[0][1]*a.rot[1][0]+b.rot[1][1]*a.rot[1][1]+b.rot[2][1]*a.rot[1][2],b.rot[0][2]*a.rot[1][0]+b.rot[1][2]*a.rot[1][1]+b.rot[2][2]*a.rot[1][2]],
[b.rot[0][0]*a.rot[2][0]+b.rot[1][0]*a.rot[2][1]+b.rot[2][0]*a.rot[2][2],b.rot[0][1]*a.rot[2][0]+b.rot[1][1]*a.rot[2][1]+b.rot[2][1]*a.rot[2][2],b.rot[0][2]*a.rot[2][0]+b.rot[1][2]*a.rot[2][1]+b.rot[2][2]*a.rot[2][2]]])};d.VectorFromSphere=function(a,b){var c=.017453292519943295*a.lat,d=.017453292519943295*a.lon,g=a.dist*Math.cos(c);return new t(g*Math.cos(d),g*Math.sin(d),a.dist*Math.sin(c),b)};d.VectorFromEquator=function(a,b){return d.VectorFromSphere(new W(a.dec,15*a.ra,a.dist),b)};d.EquatorFromVector=
function(a){a=d.SphereFromVector(a);return new da(a.lon/15,a.lat,a.dist)};d.SphereFromVector=function(a){var b=a.x*a.x+a.y*a.y,c=Math.sqrt(b+a.z*a.z);if(0===b){if(0===a.z)throw"Zero-length vector not allowed.";var d=0;a=0>a.z?-90:90}else d=57.29577951308232*Math.atan2(a.y,a.x),0>d&&(d+=360),a=57.29577951308232*Math.atan2(a.z,Math.sqrt(b));return new W(a,d,c)};d.HorizonFromVector=function(a,b){a=d.SphereFromVector(a);a.lon=fa(a.lon);a.lat+=d.Refraction(b,a.lat);return a};d.VectorFromHorizon=function(a,
b,c){var e=fa(a.lon);c=a.lat+d.InverseRefraction(c,a.lat);a=new W(c,e,a.dist);return d.VectorFromSphere(a,b)};d.Refraction=function(a,b){if(-90>b||90<b)return 0;if("normal"===a||"jplhor"===a){var c=b;-1>c&&(c=-1);c=1.02/Math.tan(.017453292519943295*(c+10.3/(c+5.11)))/60;"normal"===a&&-1>b&&(c*=(b+90)/89)}else c=0;return c};d.InverseRefraction=function(a,b){if(-90>b||90<b)return 0;for(var c=b-d.Refraction(a,b);;){var e=c+d.Refraction(a,c)-b;if(1E-14>Math.abs(e))return c-b;c-=e}};d.RotateVector=function(a,
b){return new t(a.rot[0][0]*b.x+a.rot[1][0]*b.y+a.rot[2][0]*b.z,a.rot[0][1]*b.x+a.rot[1][1]*b.y+a.rot[2][1]*b.z,a.rot[0][2]*b.x+a.rot[1][2]*b.y+a.rot[2][2]*b.z,b.t)};d.Rotation_EQJ_ECL=function(){return new w([[1,0,0],[0,.9174821430670688,-.3977769691083922],[0,.3977769691083922,.9174821430670688]])};d.Rotation_ECL_EQJ=function(){return new w([[1,0,0],[0,.9174821430670688,.3977769691083922],[0,-.3977769691083922,.9174821430670688]])};d.Rotation_EQJ_EQD=function(a){var b=X(0,a.tt);a=Z(a,0);return d.CombineRotation(b,
a)};d.Rotation_EQD_EQJ=function(a){var b=Z(a,1);a=X(a.tt,0);return d.CombineRotation(b,a)};d.Rotation_EQD_HOR=function(a,b){var c=Math.sin(.017453292519943295*b.latitude),d=Math.cos(.017453292519943295*b.latitude),g=Math.sin(.017453292519943295*b.longitude),h=Math.cos(.017453292519943295*b.longitude);b=[d*h,d*g,c];c=[-c*h,-c*g,d];g=[g,-h,0];a=-15*S(a);b=E(a,b);c=E(a,c);a=E(a,g);return new w([[c[0],a[0],b[0]],[c[1],a[1],b[1]],[c[2],a[2],b[2]]])};d.Rotation_HOR_EQD=function(a,b){a=d.Rotation_EQD_HOR(a,
b);return d.InverseRotation(a)};d.Rotation_HOR_EQJ=function(a,b){b=d.Rotation_HOR_EQD(a,b);a=d.Rotation_EQD_EQJ(a);return d.CombineRotation(b,a)};d.Rotation_EQJ_HOR=function(a,b){a=d.Rotation_HOR_EQJ(a,b);return d.InverseRotation(a)};d.Rotation_EQD_ECL=function(a){a=d.Rotation_EQD_EQJ(a);var b=d.Rotation_EQJ_ECL();return d.CombineRotation(a,b)};d.Rotation_ECL_EQD=function(a){a=d.Rotation_EQD_ECL(a);return d.InverseRotation(a)};d.Rotation_ECL_HOR=function(a,b){var c=d.Rotation_ECL_EQD(a);a=d.Rotation_EQD_HOR(a,
b);return d.CombineRotation(c,a)};d.Rotation_HOR_ECL=function(a,b){a=d.Rotation_ECL_HOR(a,b);return d.InverseRotation(a)}})("undefined"===typeof exports?this.Astronomy={}:exports);
1.92059384991,1021.2488945514],[.00121801746,5.79754470298,76.2660712756],[.00100896068,.3770272493,73.297125859],[.00135134092,3.37220609835,39.6175083461],[7.571796E-5,1.07149207335,388.4651552382]]]]},ja={Pluto:[{tt:-109573.5,ndays:22873.4,coeff:[[-38.379127948969,-15.540131600164,6.713024498471],[14.305366595998,-27.805310343824,-12.981888636985],[7.92543601413,3.90369116971,-1.168958644595],[-.442101048338,1.685913511618,.659210430825],[-.373216809055,-.063688373891,.09326048306],[-.009972684884,
-.081495131522,-.021987413967],[.018367454594,-.004930958318,-.007352983738],[.003427373209,.005473507308,.001034839203],[-.001351484381,.001104099542,6.8778874E-4],[5.7615664E-5,9.46156502E-4,5.07901883E-4],[-.002112022612,6.29887022E-4,3.15500774E-4],[-5.11474378E-4,-.001320928726,-5.62497776E-4],[-1.98663925E-4,6.8936041E-5,3.6709195E-5],[-5.40552292E-4,-.001503978652,-6.30773819E-4],[.002437160925,-7.63631463E-4,-3.87861693E-4],[8.16305566E-4,.0022053374,9.25670951E-4],[-.002021926086,6.22387047E-4,
3.16528605E-4],[-5.05895596E-4,-.00120561281,-5.04580853E-4],[.00112639953,-3.61584688E-4,-1.8281778E-4]]},{tt:-86700.1,ndays:22873.4,coeff:[[55.447823115293,-27.26640657528,-25.207542726969],[21.019137449061,20.342364979145,.014098785243],[-4.74970160852,2.918129180139,2.342054849317],[-.152026133726,-.860351920073,-.222763626308],[.103419154134,.07573598087,-.007005683084],[-.022470674224,.003007617977,.007032450935],[.001163669493,-.003189922026,-.00162464862],[-.001137731669,2.62288216E-4,3.8087641E-5],
[4.3103328E-5,-5.3509763E-4,-2.06619902E-4],[-.001261838718,3.04538227E-4,1.56262972E-4],[-3.86936271E-4,-.002058845083,-8.71353485E-4],[.001504572723,-2.67222447E-4,-1.51193739E-4],[6.9990356E-5,-1.84521171E-4,-8.1257481E-5],[.001713840868,-2.27638497E-4,-1.39809761E-4],[3.80695392E-4,.002350810217,9.98895521E-4],[-.002512724805,3.68540417E-4,2.1974477E-4],[-3.57746385E-4,-.001951245887,-8.27980927E-4],[.001367155227,-1.2706759E-4,-8.800842E-5],[1.73137697E-4,.00108470877,4.60942958E-4]]},{tt:-63826.8,
ndays:22873.4,coeff:[[69.634036499141,57.372230785853,-3.077375595621],[-12.411985665793,17.572931987772,9.221186946545],[-3.0908312584,-2.512294626088,.146706800235],[.21836223463,-.226221283768,-.1364778982],[8.80517265E-4,.010681097884,.002725741572],[-.001291221881,-.003106227879,-.001273733378],[-5.00284392E-4,-.001446751396,-6.35982028E-4],[.001105591622,-.001683856224,-7.68604544E-4],[9.38522644E-4,5.05869572E-4,1.86404007E-4],[-2.11177024E-4,-.001065799522,-4.46266661E-4],[.002134035294,-2.965848E-5,
-6.3643319E-5],[3.5325265E-5,.001388374194,5.92202743E-4],[1.16349193E-4,6.1976724E-5,2.3376874E-5],[-7.2445415E-5,.001636213289,7.04241568E-4],[-.00257574516,-1.05513632E-4,1.7803397E-5],[7.2226632E-5,-.002387946399,-.001025976586],[.002194786367,7.253094E-5,-2.2483321E-5],[-5.3247082E-5,.001177229455,5.06221758E-4],[-.001172329523,-4.5691921E-5,8.994465E-6]]},{tt:-40953.4,ndays:22873.4,coeff:[[-8.991435374359,72.522929925849,25.335167039777],[-23.717658611798,-11.790452911233,3.467137945519],[.826017751998,
-4.641123526666,-1.697326777915],[.560746056871,-.090150086821,-.197072243469],[.053367643147,.030287157582,-.006883260629],[.004886534342,.006021189196,3.75548379E-4],[.001517320916,-4.31833409E-4,-3.66094177E-4],[.002577336038,.001237262625,4.56269058E-4],[-6.69267838E-4,.00116915309,5.26044269E-4],[9.41669987E-4,5.2324731E-5,6.451966E-6],[-3.08122555E-4,.001907421829,8.24565883E-4],[-.001450786896,-2.41544461E-4,-6.9557948E-5],[-2.1044193E-5,1.76079825E-4,7.6920928E-5],[-.001711364848,-4.0687798E-4,
-1.32083416E-4],[5.50039252E-4,-.002319991661,-.001008513611],[.002503893667,5.58897059E-4,1.78233903E-4],[-4.87607379E-4,.001932237958,8.40475179E-4],[-.001325885344,-2.11156037E-4,-5.8139585E-5],[2.3697721E-4,-.001063738969,-4.61951831E-4]]},{tt:-18080,ndays:22873.4,coeff:[[-36.087786489549,-19.321019448663,4.842126256045],[16.674527202393,-26.439741396846,-13.273510277928],[7.640949973276,4.666665369749,-.845879718769],[-.675046527214,1.618348207499,.708326066983],[-.374519038689,-.128911510322,
.072787764393],[.008450995489,-.086316399102,-.029607183244],[.023560644312,.001433948061,-.005972909639],[1.23688589E-4,.008108170319,.002548003443],[-.002730297048,-3.9481707E-5,3.90047845E-4],[-5.77835152E-4,3.77966419E-4,2.71660666E-4],[-.001872062542,-8.07048678E-4,-3.23879099E-4],[5.47521881E-4,-.001220942947,-5.46774321E-4],[-2.38935039E-4,-1.36260249E-4,-4.7363292E-5],[6.86748774E-4,-.001467331313,-6.44194239E-4],[.002396569437,9.52782447E-4,3.4755804E-4],[-9.69645524E-4,.002136243261,9.38808719E-4],
[-.00197156823,-7.68658104E-4,-2.8052153E-4],[5.50474324E-4,-.001191027208,-5.23701526E-4],[.001103417783,4.33385295E-4,1.58034752E-4]]},{tt:4793.4,ndays:22873.4,coeff:[[58.755369508116,-24.2646689693,-25.275084172155],[19.497987169479,21.276853294102,.764723273399],[-4.823126413932,2.498256389201,2.232355462314],[-.08614098399,-.813675478819,-.227988579141],[.085311207859,.074538364204,-.002854595841],[-.01705162038,-.002540894346,.004208292723],[.002769861771,-1.4329185E-5,-4.77592398E-4],[-.002551661001,
6.9089826E-5,4.6330164E-5],[6.9355992E-5,-.001265302658,-5.03662137E-4],[-7.39467933E-4,-6.80968125E-4,-2.81115427E-4],[.001236770708,-.001567842762,-7.03898847E-4],[.001243060414,7.31613032E-4,2.83816485E-4],[1.74026399E-4,-9.3710964E-5,-4.4485803E-5],[.001493473235,9.02078907E-4,3.5003227E-4],[-.001429402935,.001976479349,8.82105392E-4],[-.002183986564,-.001289554847,-4.9947593E-4],[.001157663206,-.001681190457,-7.48793883E-4],[.001077037844,7.20659055E-4,2.82739654E-4],[-6.50786278E-4,8.98878141E-4,
4.01222494E-4]]},{tt:27666.8,ndays:22873.4,coeff:[[67.691164156698,60.055690812059,-1.653713469469],[-13.392561842793,16.736135121408,9.258008571303],[-2.979947432205,-2.623400069241,.078535157634],[.221140466168,-.219668370791,-.134946210351],[.002253370723,.006150902785,7.41705969E-4],[.003786183572,-.002028669517,-.001070817054],[-7.29683667E-4,.001185908944,4.59456376E-4],[2.14692528E-4,-.001514035337,-6.28903034E-4],[7.99410963E-4,1.14168654E-4,3.4870976E-5],[.001014080744,-7.07640463E-4,-3.3251734E-4],
[.001555070571,.001399146449,5.60894218E-4],[-.001017832289,9.98745218E-4,4.51886947E-4],[1.05798659E-4,9.1126421E-5,3.6516053E-5],[-.0012650908,.001163905877,5.30521482E-4],[-.001874934335,-.001660517639,-6.65989341E-4],[.001807826027,-.001705845177,-7.75290385E-4],[.001582901643,.001412609292,5.6689363E-4],[-8.63192985E-4,8.74901432E-4,3.96000392E-4],[-8.59691105E-4,-7.4306499E-4,-2.97495435E-4]]},{tt:50540.1,ndays:22873.4,coeff:[[-12.469752090089,70.481525173143,25.755334377455],[-23.370842315291,
-13.264547442851,2.902657719838],[1.110867958719,-4.67270866565,-1.792706614402],[.596571797676,-.066313898032,-.200285819643],[.060080579048,.035889468333,-.006426562076],[.006591799109,.011099902718,.002309289562],[-9.68324396E-4,.001898382496,7.40088714E-4],[5.23251649E-4,8.12554121E-4,3.83725061E-4],[-3.19832676E-4,1.99016237E-4,9.6616884E-5],[7.82553114E-4,.001015845568,4.12740772E-4],[-.00180181981,.001254101038,5.81678095E-4],[-9.05307447E-4,-.001101496166,-4.49936776E-4],[-1.83981908E-4,1.44296441E-4,
6.71345E-5],[-.001000404967,-.001338920106,-5.49210134E-4],[.002108795205,-.001386328192,-6.45830667E-4],[.001472529436,.001926033725,7.8947952E-4],[-.001749726932,.001130345906,5.2704357E-4],[-8.62478053E-4,-.001013136301,-4.13188733E-4],[9.581099E-4,-6.47958487E-4,-3.00786397E-4]]}]},r=[{mjd:-72638,dt:38},{mjd:-65333,dt:26},{mjd:-58028,dt:21},{mjd:-50724,dt:21.1},{mjd:-43419,dt:13.5},{mjd:-39766,dt:13.7},{mjd:-36114,dt:14.8},{mjd:-32461,dt:15.7},{mjd:-28809,dt:15.6},{mjd:-25156,dt:13.3},{mjd:-21504,
dt:12.6},{mjd:-17852,dt:11.2},{mjd:-14200,dt:11.13},{mjd:-10547,dt:7.95},{mjd:-6895,dt:6.22},{mjd:-3242,dt:6.55},{mjd:-1416,dt:7.26},{mjd:410,dt:7.35},{mjd:2237,dt:5.92},{mjd:4063,dt:1.04},{mjd:5889,dt:-3.19},{mjd:7715,dt:-5.36},{mjd:9542,dt:-5.74},{mjd:11368,dt:-5.86},{mjd:13194,dt:-6.41},{mjd:15020,dt:-2.7},{mjd:16846,dt:3.92},{mjd:18672,dt:10.38},{mjd:20498,dt:17.19},{mjd:22324,dt:21.41},{mjd:24151,dt:23.63},{mjd:25977,dt:24.02},{mjd:27803,dt:23.91},{mjd:29629,dt:24.35},{mjd:31456,dt:26.76},{mjd:33282,
dt:29.15},{mjd:35108,dt:31.07},{mjd:36934,dt:33.15},{mjd:38761,dt:35.738},{mjd:40587,dt:40.182},{mjd:42413,dt:45.477},{mjd:44239,dt:50.54},{mjd:44605,dt:51.3808},{mjd:44970,dt:52.1668},{mjd:45335,dt:52.9565},{mjd:45700,dt:53.7882},{mjd:46066,dt:54.3427},{mjd:46431,dt:54.8712},{mjd:46796,dt:55.3222},{mjd:47161,dt:55.8197},{mjd:47527,dt:56.3},{mjd:47892,dt:56.8553},{mjd:48257,dt:57.5653},{mjd:48622,dt:58.3092},{mjd:48988,dt:59.1218},{mjd:49353,dt:59.9845},{mjd:49718,dt:60.7853},{mjd:50083,dt:61.6287},
{mjd:50449,dt:62.295},{mjd:50814,dt:62.9659},{mjd:51179,dt:63.4673},{mjd:51544,dt:63.8285},{mjd:51910,dt:64.0908},{mjd:52275,dt:64.2998},{mjd:52640,dt:64.4734},{mjd:53005,dt:64.5736},{mjd:53371,dt:64.6876},{mjd:53736,dt:64.8452},{mjd:54101,dt:65.1464},{mjd:54466,dt:65.4573},{mjd:54832,dt:65.7768},{mjd:55197,dt:66.0699},{mjd:55562,dt:66.3246},{mjd:55927,dt:66.603},{mjd:56293,dt:66.9069},{mjd:56658,dt:67.281},{mjd:57023,dt:67.6439},{mjd:57388,dt:68.1024},{mjd:57754,dt:68.5927},{mjd:58119,dt:68.9676},
{mjd:58484,dt:69.2201},{mjd:58849,dt:69.87},{mjd:59214,dt:70.39},{mjd:59580,dt:70.91},{mjd:59945,dt:71.4},{mjd:60310,dt:71.88},{mjd:60675,dt:72.36},{mjd:61041,dt:72.83},{mjd:61406,dt:73.32},{mjd:61680,dt:73.66}],L=function(a){if(a instanceof Date)this.date=a,this.ut=(a-aa)/864E5,this.tt=z(this.ut);else if("number"===typeof a)this.date=new Date(aa-864E5*-a),this.ut=a,this.tt=z(this.ut);else throw"Argument must be a Date object, an AstroTime object, or a numeric UTC Julian date.";};L.prototype.toString=
function(){return this.date.toISOString()};L.prototype.AddDays=function(a){return new L(this.ut+a)};d.MakeTime=function(a){return a instanceof L?a:new L(a)};var ba=[{nals:[0,0,0,0,1],cls:[-172064161,-174666,33386,92052331,9086,15377]},{nals:[0,0,2,-2,2],cls:[-13170906,-1675,-13696,5730336,-3015,-4587]},{nals:[0,0,2,0,2],cls:[-2276413,-234,2796,978459,-485,1374]},{nals:[0,0,0,0,2],cls:[2074554,207,-698,-897492,470,-291]},{nals:[0,1,0,0,0],cls:[1475877,-3633,11817,73871,-184,-1924]},{nals:[0,1,2,-2,
2],cls:[-516821,1226,-524,224386,-677,-174]},{nals:[1,0,0,0,0],cls:[711159,73,-872,-6750,0,358]},{nals:[0,0,2,0,1],cls:[-387298,-367,380,200728,18,318]},{nals:[1,0,2,0,2],cls:[-301461,-36,816,129025,-63,367]},{nals:[0,-1,2,-2,2],cls:[215829,-494,111,-95929,299,132]},{nals:[0,0,2,-2,1],cls:[128227,137,181,-68982,-9,39]},{nals:[-1,0,2,0,2],cls:[123457,11,19,-53311,32,-4]},{nals:[-1,0,0,2,0],cls:[156994,10,-168,-1235,0,82]},{nals:[1,0,0,0,1],cls:[63110,63,27,-33228,0,-9]},{nals:[-1,0,0,0,1],cls:[-57976,
-63,-189,31429,0,-75]},{nals:[-1,0,2,2,2],cls:[-59641,-11,149,25543,-11,66]},{nals:[1,0,2,0,1],cls:[-51613,-42,129,26366,0,78]},{nals:[-2,0,2,0,1],cls:[45893,50,31,-24236,-10,20]},{nals:[0,0,0,2,0],cls:[63384,11,-150,-1220,0,29]},{nals:[0,0,2,2,2],cls:[-38571,-1,158,16452,-11,68]},{nals:[0,-2,2,-2,2],cls:[32481,0,0,-13870,0,0]},{nals:[-2,0,0,2,0],cls:[-47722,0,-18,477,0,-25]},{nals:[2,0,2,0,2],cls:[-31046,-1,131,13238,-11,59]},{nals:[1,0,2,-2,2],cls:[28593,0,-1,-12338,10,-3]},{nals:[-1,0,2,0,1],cls:[20441,
21,10,-10758,0,-3]},{nals:[2,0,0,0,0],cls:[29243,0,-74,-609,0,13]},{nals:[0,0,2,0,0],cls:[25887,0,-66,-550,0,11]},{nals:[0,1,0,0,1],cls:[-14053,-25,79,8551,-2,-45]},{nals:[-1,0,0,2,1],cls:[15164,10,11,-8001,0,-1]},{nals:[0,2,2,-2,2],cls:[-15794,72,-16,6850,-42,-5]},{nals:[0,0,-2,2,0],cls:[21783,0,13,-167,0,13]},{nals:[1,0,0,-2,1],cls:[-12873,-10,-37,6953,0,-14]},{nals:[0,-1,0,0,1],cls:[-12654,11,63,6415,0,26]},{nals:[-1,0,2,2,1],cls:[-10204,0,25,5222,0,15]},{nals:[0,2,0,0,0],cls:[16707,-85,-10,168,
-1,10]},{nals:[1,0,2,2,2],cls:[-7691,0,44,3268,0,19]},{nals:[-2,0,2,0,0],cls:[-11024,0,-14,104,0,2]},{nals:[0,1,2,0,2],cls:[7566,-21,-11,-3250,0,-5]},{nals:[0,0,2,2,1],cls:[-6637,-11,25,3353,0,14]},{nals:[0,-1,2,0,2],cls:[-7141,21,8,3070,0,4]},{nals:[0,0,0,2,1],cls:[-6302,-11,2,3272,0,4]},{nals:[1,0,2,-2,1],cls:[5800,10,2,-3045,0,-1]},{nals:[2,0,2,-2,2],cls:[6443,0,-7,-2768,0,-4]},{nals:[-2,0,0,2,1],cls:[-5774,-11,-15,3041,0,-5]},{nals:[2,0,2,0,1],cls:[-5350,0,21,2695,0,12]},{nals:[0,-1,2,-2,1],cls:[-4752,
-11,-3,2719,0,-3]},{nals:[0,0,0,-2,1],cls:[-4940,-11,-21,2720,0,-9]},{nals:[-1,-1,0,2,0],cls:[7350,0,-8,-51,0,4]},{nals:[2,0,0,-2,1],cls:[4065,0,6,-2206,0,1]},{nals:[1,0,0,2,0],cls:[6579,0,-24,-199,0,2]},{nals:[0,1,2,-2,1],cls:[3579,0,5,-1900,0,1]},{nals:[1,-1,0,0,0],cls:[4725,0,-6,-41,0,3]},{nals:[-2,0,2,0,2],cls:[-3075,0,-2,1313,0,-1]},{nals:[3,0,2,0,2],cls:[-2904,0,15,1233,0,7]},{nals:[0,-1,0,2,0],cls:[4348,0,-10,-81,0,2]},{nals:[1,-1,2,0,2],cls:[-2878,0,8,1232,0,4]},{nals:[0,0,0,1,0],cls:[-4230,
0,5,-20,0,-2]},{nals:[-1,-1,2,2,2],cls:[-2819,0,7,1207,0,3]},{nals:[-1,0,2,0,0],cls:[-4056,0,5,40,0,-2]},{nals:[0,-1,2,2,2],cls:[-2647,0,11,1129,0,5]},{nals:[-2,0,0,0,1],cls:[-2294,0,-10,1266,0,-4]},{nals:[1,1,2,0,2],cls:[2481,0,-7,-1062,0,-3]},{nals:[2,0,0,0,1],cls:[2179,0,-2,-1129,0,-2]},{nals:[-1,1,0,1,0],cls:[3276,0,1,-9,0,0]},{nals:[1,1,0,0,0],cls:[-3389,0,5,35,0,-2]},{nals:[1,0,2,0,0],cls:[3339,0,-13,-107,0,1]},{nals:[-1,0,2,-2,1],cls:[-1987,0,-6,1073,0,-2]},{nals:[1,0,0,0,2],cls:[-1981,0,0,
854,0,0]},{nals:[-1,0,0,1,0],cls:[4026,0,-353,-553,0,-139]},{nals:[0,0,2,1,2],cls:[1660,0,-5,-710,0,-2]},{nals:[-1,0,2,4,2],cls:[-1521,0,9,647,0,4]},{nals:[-1,1,0,1,1],cls:[1314,0,0,-700,0,0]},{nals:[0,-2,2,-2,1],cls:[-1283,0,0,672,0,0]},{nals:[1,0,2,2,1],cls:[-1331,0,8,663,0,4]},{nals:[-2,0,2,2,2],cls:[1383,0,-2,-594,0,-2]},{nals:[-1,0,0,0,2],cls:[1405,0,4,-610,0,2]},{nals:[1,1,2,-2,2],cls:[1290,0,0,-556,0,0]}],Q,t=function(a,b,c,d){this.x=a;this.y=b;this.z=c;this.t=d};t.prototype.Length=function(){return Math.sqrt(this.x*
this.x+this.y*this.y+this.z*this.z)};var W=function(a,b,c){this.lat=a;this.lon=b;this.dist=c};d.MakeSpherical=function(a,b,c){return new W(a,b,c)};var da=function(a,b,c){this.ra=a;this.dec=b;this.dist=c},w=function(a){this.rot=a};d.MakeRotation=function(a){if(!la(a))throw"Argument must be a [3][3] array of numbers";return new w(a)};var qa=function(a,b,c,d){this.azimuth=a;this.altitude=b;this.ra=c;this.dec=d},ma=function(a,b,c,d,g){this.ex=a;this.ey=b;this.ez=c;this.elat=d;this.elon=g};d.Horizon=function(a,
b,c,e,g){a=d.MakeTime(a);var h=Math.sin(.017453292519943295*b.latitude),l=Math.cos(.017453292519943295*b.latitude),k=Math.sin(.017453292519943295*b.longitude),m=Math.cos(.017453292519943295*b.longitude);b=Math.sin(.017453292519943295*e);var f=Math.cos(.017453292519943295*e),n=Math.sin(.2617993877991494*c),p=Math.cos(.2617993877991494*c),q=[l*m,l*k,h];h=[-h*m,-h*k,l];k=[k,-m,0];l=-15*S(a);a=E(l,q);q=E(l,h);k=E(l,k);b=[f*p,f*n,b];n=b[0]*a[0]+b[1]*a[1]+b[2]*a[2];q=b[0]*q[0]+b[1]*q[1]+b[2]*q[2];k=b[0]*
k[0]+b[1]*k[1]+b[2]*k[2];p=Math.sqrt(q*q+k*k);f=0;0<p&&(f=57.29577951308232*-Math.atan2(k,q),0>f&&(f+=360),360<=f&&(f-=360));n=57.29577951308232*Math.atan2(p,n);p=e;if(g&&(e=n,g=d.Refraction(g,90-n),n-=g,0<g&&3E-4<n)){c=Math.sin(.017453292519943295*n);p=Math.cos(.017453292519943295*n);q=Math.sin(.017453292519943295*e);e=Math.cos(.017453292519943295*e);g=[];for(k=0;3>k;++k)g.push((b[k]-e*a[k])/q*c+a[k]*p);p=Math.sqrt(g[0]*g[0]+g[1]*g[1]);0<p?(c=57.29577951308232*Math.atan2(g[1],g[0])/15,0>c&&(c+=24),
24<=c&&(c-=24)):c=0;p=57.29577951308232*Math.atan2(g[2],p)}return new qa(f,90-n,c,p)};var ra=function(a,b,c){this.latitude=a;this.longitude=b;this.height=c};d.MakeObserver=function(a,b,c){return new ra(a,b,c||0)};d.SunPosition=function(a){a=d.MakeTime(a).AddDays(-.005775518331089121);var b=B(A.Earth,a);b=R(0,[-b.x,-b.y,-b.z],a.tt);b=Y(a,0,b);a=.017453292519943295*P(a).tobl;return ea(b[0],b[1],b[2],Math.cos(a),Math.sin(a))};d.Equator=function(a,b,c,e,g){b=d.MakeTime(b);var h=S(b),l=.017453292519943295*
c.latitude,k=Math.sin(l);l=Math.cos(l);var m=1/Math.sqrt(l*l+.9933056020041345*k*k),f=c.height/1E3,n=6378.1366*m+f;c=.017453292519943295*(15*h+c.longitude);c=Y(b,-1,[n*l*Math.cos(c)/1.4959787069098932E8,n*l*Math.sin(c)/1.4959787069098932E8,(6335.438815127603*m+f)*k/1.4959787069098932E8]);c=R(b.tt,c,0);a=d.GeoVector(a,b,g);a=[a.x-c[0],a.y-c[1],a.z-c[2]];if(!e)return ca(a);e=R(0,a,b.tt);e=Y(b,0,e);return ca(e)};d.Ecliptic=function(a,b,c){void 0===U&&(U=.017453292519943295*P(d.MakeTime(aa)).mobl,ha=
Math.cos(U),ia=Math.sin(U));return ea(a,b,c,ha,ia)};d.GeoMoon=function(a){a=d.MakeTime(a);var b=D(a),c=b.distance_au*Math.cos(b.geo_eclip_lat);b=[c*Math.cos(b.geo_eclip_lon),c*Math.sin(b.geo_eclip_lon),b.distance_au*Math.sin(b.geo_eclip_lat)];var e=.017453292519943295*C(a);c=Math.cos(e);e=Math.sin(e);b=R(a.tt,[b[0],b[1]*c-b[2]*e,b[1]*e+b[2]*c],0);return new t(b[0],b[1],b[2],a)};d.HelioVector=function(a,b){b=d.MakeTime(b);if(a in A)return B(A[a],b);if(a in ja){a:{var c=$jscomp.makeIterator(ja[a]);
for(a=c.next();!a.done;a=c.next()){a=a.value;var e=a.tt;var g=a.tt+a.ndays;e=(2*b.tt-(g+e))/(g-e);if(-1<=e&&1>=e){var h=[];for(g=0;3>g;++g){var l=1;var k=a.coeff[0][g];var m=e;k+=a.coeff[1][g]*m;for(c=2;c<a.coeff.length;++c){var f=2*e*m-l;k+=a.coeff[c][g]*f;l=m;m=f}h.push(k-a.coeff[0][g]/2)}b=new t(h[0],h[1],h[2],b);break a}}throw"Cannot extrapolate Chebyshev model for given Terrestrial Time: "+b.tt;}return b}if("Sun"===a)return new t(0,0,0,b);if("Moon"===a)return a=B(A.Earth,b),e=d.GeoMoon(b),new t(a.x+
e.x,a.y+e.y,a.z+e.z,b);throw'Astronomy.HelioVector: Unknown body "'+a+'"';};d.GeoVector=function(a,b,c){b=d.MakeTime(b);if("Moon"===a)return d.GeoMoon(b);if("Earth"===a)return new t(0,0,0,b);var e;c||(e=B(A.Earth,b));for(var g,h,l=b,k=0;10>k;++k){g=d.HelioVector(a,l);c&&(e=B(A.Earth,l));h=new t(g.x-e.x,g.y-e.y,g.z-e.z,b);if("Sun"===a)return h;var m=b.AddDays(-h.Length()/173.1446326846693);g=Math.abs(m.tt-l.tt);if(1E-9>g)return h;l=m}throw"Light-travel time solver did not converge: dt="+g;};d.Search=
function(a,b,c,e){function g(b){++H.search_func;return a(b)}var h=Math.abs((e&&e.dt_tolerance_seconds||1)/86400);++H.search;var l=e&&e.init_f1||g(b),k=e&&e.init_f2||g(c),m,f=0;e=e&&e.iter_limit||20;for(var n=!0;;){if(++f>e)throw"Excessive iteration in Search()";var p=new L(b.ut+.5*(c.ut-b.ut)),q=p.ut-b.ut;if(Math.abs(q)<h)return p;n?m=g(p):n=!0;var v=na(p.ut,c.ut-p.ut,l,m,k);if(v){var r=d.MakeTime(v.t),t=g(r);if(0!==v.df_dt){if(Math.abs(t/v.df_dt)<h)return r;v=1.2*Math.abs(t/v.df_dt);if(v<q/10&&(q=
r.AddDays(-v),r=r.AddDays(+v),0>(q.ut-b.ut)*(q.ut-c.ut)&&0>(r.ut-b.ut)*(r.ut-c.ut))){v=g(q);var u=g(r);if(0>v&&0<=u){l=v;k=u;b=q;c=r;m=t;n=!1;continue}}}}if(0>l&&0<=m)c=p,k=m;else if(0>m&&0<=k)b=p,l=m;else return null}};d.SearchSunLongitude=function(a,b,c){b=d.MakeTime(b);c=b.AddDays(c);return d.Search(function(b){b=d.SunPosition(b);return I(b.elon-a)},b,c)};d.LongitudeFromSun=function(a,b){if("Earth"===a)throw"The Earth does not have a longitude as seen from itself.";b=d.MakeTime(b);a=d.GeoVector(a,
b,!0);a=d.Ecliptic(a.x,a.y,a.z);b=d.GeoVector("Sun",b,!0);b=d.Ecliptic(b.x,b.y,b.z);for(b=a.elon-b.elon;0>b;)b+=360;for(;360<=b;)b-=360;return b};d.AngleFromSun=function(a,b){if("Earth"==a)throw"The Earth does not have an angle as seen from itself.";var c=d.GeoVector("Sun",b,!0);a=d.GeoVector(a,b,!0);return y(c,a)};d.EclipticLongitude=function(a,b){if("Sun"===a)throw"Cannot calculate heliocentric longitude of the Sun.";a=d.HelioVector(a,b);return d.Ecliptic(a.x,a.y,a.z).elon};var sa=function(a,b,
c,d,g,h,l,k){this.time=a;this.mag=b;this.phase_angle=c;this.phase_fraction=(1+Math.cos(.017453292519943295*c))/2;this.helio_dist=d;this.geo_dist=g;this.gc=h;this.hc=l;this.ring_tilt=k};d.Illumination=function(a,b){if("Earth"===a)throw"The illumination of the Earth is not defined.";var c=d.MakeTime(b),e=B(A.Earth,c);if("Sun"===a){var g=new t(-e.x,-e.y,-e.z,c);b=new t(0,0,0,c);e=0}else"Moon"===a?(g=d.GeoMoon(c),b=new t(e.x+g.x,e.y+g.y,e.z+g.z,c)):(b=d.HelioVector(a,b),g=new t(b.x-e.x,b.y-e.y,b.z-e.z,
c)),e=y(g,b);var h=g.Length(),l=b.Length(),k=null;if("Sun"===a)a=oa+5*Math.log10(h);else if("Moon"===a){a=.017453292519943295*e;var m=a*a;a=-12.717+1.49*Math.abs(a)+.0431*m*m;a+=5*Math.log10(h/.002573570052980638*l)}else if("Saturn"===a)a=e,k=d.Ecliptic(g.x,g.y,g.z),m=.017453292519943295*k.elat,k=Math.asin(Math.sin(m)*Math.cos(.4897393881096089)-Math.cos(m)*Math.sin(.4897393881096089)*Math.sin(.017453292519943295*k.elon-.017453292519943295*(169.51+3.82E-5*c.tt))),m=Math.sin(Math.abs(k)),a=-9+.044*
a+m*(-2.6+1.2*m)+5*Math.log10(l*h),k*=57.29577951308232;else{var f=m=0,n=0;switch(a){case "Mercury":a=-.6;m=4.98;f=-4.88;n=3.02;break;case "Venus":163.6>e?(a=-4.47,m=1.03,f=.57,n=.13):(a=.98,m=-1.02);break;case "Mars":a=-1.52;m=1.6;break;case "Jupiter":a=-9.4;m=.5;break;case "Uranus":a=-7.19;m=.25;break;case "Neptune":a=-6.87;break;case "Pluto":a=-1;m=4;break;default:throw"VisualMagnitude: unsupported body "+a;}var p=e/100;a=a+p*(m+p*(f+p*n))+5*Math.log10(l*h)}return new sa(c,a,e,l,h,g,b,k)};d.SearchRelativeLongitude=
function(a,b,c){function e(c){var e=d.EclipticLongitude(a,c);c=d.EclipticLongitude("Earth",c);return I(h*(c-e)-b)}var g=T[a];if(!g)throw"Cannot search relative longitude because body is not a planet: "+a;if("Earth"===a)throw"Cannot search relative longitude for the Earth (it is always 0)";var h=g.OrbitalPeriod>T.Earth.OrbitalPeriod?1:-1;g=F(a);c=d.MakeTime(c);var l=e(c);0<l&&(l-=360);++H.longitude_search;for(var k=0;100>k;++k){++H.longitude_iter;var m=-l/360*g;c=c.AddDays(m);if(1>86400*Math.abs(m))return c;
m=l;l=e(c);30>Math.abs(m)&&m!==l&&(m/=m-l,.5<m&&2>m&&(g*=m))}throw"Relative longitude search failed to converge for "+a+" near "+c.toString()+" (error_angle = "+l+").";};d.MoonPhase=function(a){return d.LongitudeFromSun("Moon",a)};d.SearchMoonPhase=function(a,b,c){function e(b){b=d.MoonPhase(b);return I(b-a)}b=d.MakeTime(b);var g=e(b);0<g&&(g-=360);var h=-(29.530588*g)/360;g=h-.9;if(g>c)return null;c=Math.min(c,h+.9);g=b.AddDays(g);b=b.AddDays(c);return d.Search(e,g,b)};var ta=function(a,b){this.quarter=
a;this.time=b};d.SearchMoonQuarter=function(a){var b=d.MoonPhase(a);b=(Math.floor(b/90)+1)%4;return(a=d.SearchMoonPhase(90*b,a,10))&&new ta(b,a)};d.NextMoonQuarter=function(a){a=new Date(a.time.date.getTime()+5184E5);return d.SearchMoonQuarter(a)};d.SearchRiseSet=function(a,b,c,e,g){function h(e){var f=d.Equator(a,e,b,!0,!0);e=d.Horizon(e,b,f.ra,f.dec).altitude+l/f.dist*57.29577951308232+pa;return c*e}var l={Sun:.0046505,Moon:1.15717E-5}[a]||0;if("Earth"===a)throw"Cannot find rise or set time of the Earth.";
if(1===c){var k=12;var m=0}else if(-1===c)k=0,m=12;else throw"Astronomy.SearchRiseSet: Invalid direction parameter "+c+" -- must be +1 or -1";e=d.MakeTime(e);var f=h(e);var n;if(0<f){f=d.SearchHourAngle(a,b,k,e);var p=f.time;f=h(p)}else p=e;var q=d.SearchHourAngle(a,b,m,p);for(n=h(q.time);;){if(0>=f&&0<n&&(p=d.Search(h,p,q.time,{init_f1:f,init_f2:n})))return p;f=d.SearchHourAngle(a,b,k,q.time);q=d.SearchHourAngle(a,b,m,f.time);if(f.time.ut>=e.ut+g)return null;p=f.time;f=h(f.time);n=h(q.time)}};var ua=
function(a,b){this.time=a;this.hor=b};d.SearchHourAngle=function(a,b,c,e){e=d.MakeTime(e);var g=0;if("Earth"===a)throw"Cannot search for hour angle of the Earth.";if(0>c||24<=c)throw"Invalid hour angle "+c;for(;;){++g;var h=S(e),l=d.Equator(a,e,b,!0,!0);h=(c+l.ra-b.longitude/15-h)%24;1===g?0>h&&(h+=24):-12>h?h+=24:12<h&&(h-=24);if(.1>3600*Math.abs(h))return a=d.Horizon(e,b,l.ra,l.dec,"normal"),new ua(e,a);e=e.AddDays(h/24*.9972695717592592)}};var va=function(a,b,c,d){this.mar_equinox=a;this.jun_solstice=
b;this.sep_equinox=c;this.dec_solstice=d};d.Seasons=function(a){function b(b,c,e){c=new Date(Date.UTC(a,c-1,e));b=d.SearchSunLongitude(b,c,4);if(!b)throw"Cannot find season change near "+c.toISOString();return b}a instanceof Date&&(a=a.getUTCFullYear());var c=b(0,3,19),e=b(90,6,19),g=b(180,9,21),h=b(270,12,20);return new va(c,e,g,h)};var wa=function(a,b,c,d){this.time=a;this.visibility=b;this.elongation=c;this.ecliptic_separation=d};d.Elongation=function(a,b){b=d.MakeTime(b);var c=d.LongitudeFromSun(a,
b);if(180<c){var e="morning";c=360-c}else e="evening";a=d.AngleFromSun(a,b);return new wa(b,e,a,c)};d.SearchMaxElongation=function(a,b){function c(b){var c=b.AddDays(-.005);b=b.AddDays(.005);c=d.AngleFromSun(a,c);b=d.AngleFromSun(a,b);return(c-b)/.01}b=d.MakeTime(b);var e={Mercury:{s1:50,s2:85},Venus:{s1:40,s2:50}}[a];if(!e)throw"SearchMaxElongation works for Mercury and Venus only.";for(var g=0;2>=++g;){var h=d.EclipticLongitude(a,b),l=d.EclipticLongitude("Earth",b);l=I(h-l);var k=h=void 0,m=k=h=
void 0;l>=-e.s1&&l<+e.s1?(m=0,h=+e.s1,k=+e.s2):l>=+e.s2||l<-e.s2?(m=0,h=-e.s2,k=-e.s1):0<=l?(m=-F(a)/4,h=+e.s1,k=+e.s2):(m=-F(a)/4,h=-e.s2,k=-e.s1);l=b.AddDays(m);h=d.SearchRelativeLongitude(a,h,l);k=d.SearchRelativeLongitude(a,k,h);l=c(h);if(0<=l)throw"SearchMaxElongation: internal error: m1 = "+l;m=c(k);if(0>=m)throw"SearchMaxElongation: internal error: m2 = "+m;l=d.Search(c,h,k,{init_f1:l,init_f2:m,dt_tolerance_seconds:10});if(!l)throw"SearchMaxElongation: failed search iter "+g+" (t1="+h.toString()+
", t2="+k.toString()+")";if(l.tt>=b.tt)return d.Elongation(a,l);b=k.AddDays(1)}throw"SearchMaxElongation: failed to find event after 2 tries.";};d.SearchPeakMagnitude=function(a,b){function c(b){var c=b.AddDays(-.005);b=b.AddDays(.005);c=d.Illumination(a,c).mag;return(d.Illumination(a,b).mag-c)/.01}if("Venus"!==a)throw"SearchPeakMagnitude currently works for Venus only.";b=d.MakeTime(b);for(var e=0;2>=++e;){var g=d.EclipticLongitude(a,b),h=d.EclipticLongitude("Earth",b);h=I(g-h);var l=g=void 0,k=
l=g=void 0;-10<=h&&10>h?(k=0,g=10,l=30):30<=h||-30>h?(k=0,g=-30,l=-10):0<=h?(k=-F(a)/4,g=10,l=30):(k=-F(a)/4,g=-30,l=-10);h=b.AddDays(k);g=d.SearchRelativeLongitude(a,g,h);l=d.SearchRelativeLongitude(a,l,g);h=c(g);if(0<=h)throw"SearchPeakMagnitude: internal error: m1 = "+h;k=c(l);if(0>=k)throw"SearchPeakMagnitude: internal error: m2 = "+k;h=d.Search(c,g,l,{init_f1:h,init_f2:k,dt_tolerance_seconds:10});if(!h)throw"SearchPeakMagnitude: failed search iter "+e+" (t1="+g.toString()+", t2="+l.toString()+
")";if(h.tt>=b.tt)return d.Illumination(a,h);b=l.AddDays(1)}throw"SearchPeakMagnitude: failed to find event after 2 tries.";};var ka=function(a,b,c){this.time=a;this.kind=b;this.dist_au=c;this.dist_km=1.4959787069098932E8*c};d.SearchLunarApsis=function(a){function b(a){var b=a.AddDays(-5E-4);a=a.AddDays(5E-4);b=D(b).distance_au;return(D(a).distance_au-b)/.001}function c(a){return-b(a)}a=d.MakeTime(a);var e=b(a);++H.lunar_apsis_calls;for(var g=0;59.061176>5*g;++g){++H.lunar_apsis_iter;var h=a.AddDays(5),
l=b(h);if(0>=e*l){if(0>e||0<l){a=d.Search(b,a,h,{init_f1:e,init_f2:l});if(null==a)throw"SearchLunarApsis INTERNAL ERROR: perigee search failed!";e=D(a).distance_au;return new ka(a,0,e)}if(0<e||0>l){a=d.Search(c,a,h,{init_f1:-e,init_f2:-l});if(null==a)throw"SearchLunarApsis INTERNAL ERROR: apogee search failed!";e=D(a).distance_au;return new ka(a,1,e)}throw"SearchLunarApsis INTERNAL ERROR: cannot classify apsis event!";}a=h;e=l}throw"SearchLunarApsis INTERNAL ERROR: could not find apsis within 2 synodic months of start date.";
};d.NextLunarApsis=function(a){var b=d.SearchLunarApsis(a.time.AddDays(11));if(1!==b.kind+a.kind)throw"NextLunarApsis INTERNAL ERROR: did not find alternating apogee/perigee: prev="+a.kind+" @ "+a.time.toString()+", next="+b.kind+" @ "+b.time.toString();return b};d.InverseRotation=function(a){return new w([[a.rot[0][0],a.rot[1][0],a.rot[2][0]],[a.rot[0][1],a.rot[1][1],a.rot[2][1]],[a.rot[0][2],a.rot[1][2],a.rot[2][2]]])};d.CombineRotation=function(a,b){return new w([[b.rot[0][0]*a.rot[0][0]+b.rot[1][0]*
a.rot[0][1]+b.rot[2][0]*a.rot[0][2],b.rot[0][1]*a.rot[0][0]+b.rot[1][1]*a.rot[0][1]+b.rot[2][1]*a.rot[0][2],b.rot[0][2]*a.rot[0][0]+b.rot[1][2]*a.rot[0][1]+b.rot[2][2]*a.rot[0][2]],[b.rot[0][0]*a.rot[1][0]+b.rot[1][0]*a.rot[1][1]+b.rot[2][0]*a.rot[1][2],b.rot[0][1]*a.rot[1][0]+b.rot[1][1]*a.rot[1][1]+b.rot[2][1]*a.rot[1][2],b.rot[0][2]*a.rot[1][0]+b.rot[1][2]*a.rot[1][1]+b.rot[2][2]*a.rot[1][2]],[b.rot[0][0]*a.rot[2][0]+b.rot[1][0]*a.rot[2][1]+b.rot[2][0]*a.rot[2][2],b.rot[0][1]*a.rot[2][0]+b.rot[1][1]*
a.rot[2][1]+b.rot[2][1]*a.rot[2][2],b.rot[0][2]*a.rot[2][0]+b.rot[1][2]*a.rot[2][1]+b.rot[2][2]*a.rot[2][2]]])};d.VectorFromSphere=function(a,b){var c=.017453292519943295*a.lat,d=.017453292519943295*a.lon,g=a.dist*Math.cos(c);return new t(g*Math.cos(d),g*Math.sin(d),a.dist*Math.sin(c),b)};d.VectorFromEquator=function(a,b){return d.VectorFromSphere(new W(a.dec,15*a.ra,a.dist),b)};d.EquatorFromVector=function(a){a=d.SphereFromVector(a);return new da(a.lon/15,a.lat,a.dist)};d.SphereFromVector=function(a){var b=
a.x*a.x+a.y*a.y,c=Math.sqrt(b+a.z*a.z);if(0===b){if(0===a.z)throw"Zero-length vector not allowed.";var d=0;a=0>a.z?-90:90}else d=57.29577951308232*Math.atan2(a.y,a.x),0>d&&(d+=360),a=57.29577951308232*Math.atan2(a.z,Math.sqrt(b));return new W(a,d,c)};d.HorizonFromVector=function(a,b){a=d.SphereFromVector(a);a.lon=fa(a.lon);a.lat+=d.Refraction(b,a.lat);return a};d.VectorFromHorizon=function(a,b,c){var e=fa(a.lon);c=a.lat+d.InverseRefraction(c,a.lat);a=new W(c,e,a.dist);return d.VectorFromSphere(a,
b)};d.Refraction=function(a,b){if(-90>b||90<b)return 0;if("normal"===a||"jplhor"===a){var c=b;-1>c&&(c=-1);c=1.02/Math.tan(.017453292519943295*(c+10.3/(c+5.11)))/60;"normal"===a&&-1>b&&(c*=(b+90)/89)}else c=0;return c};d.InverseRefraction=function(a,b){if(-90>b||90<b)return 0;for(var c=b-d.Refraction(a,b);;){var e=c+d.Refraction(a,c)-b;if(1E-14>Math.abs(e))return c-b;c-=e}};d.RotateVector=function(a,b){return new t(a.rot[0][0]*b.x+a.rot[1][0]*b.y+a.rot[2][0]*b.z,a.rot[0][1]*b.x+a.rot[1][1]*b.y+a.rot[2][1]*
b.z,a.rot[0][2]*b.x+a.rot[1][2]*b.y+a.rot[2][2]*b.z,b.t)};d.Rotation_EQJ_ECL=function(){return new w([[1,0,0],[0,.9174821430670688,-.3977769691083922],[0,.3977769691083922,.9174821430670688]])};d.Rotation_ECL_EQJ=function(){return new w([[1,0,0],[0,.9174821430670688,.3977769691083922],[0,-.3977769691083922,.9174821430670688]])};d.Rotation_EQJ_EQD=function(a){var b=X(0,a.tt);a=Z(a,0);return d.CombineRotation(b,a)};d.Rotation_EQD_EQJ=function(a){var b=Z(a,1);a=X(a.tt,0);return d.CombineRotation(b,a)};
d.Rotation_EQD_HOR=function(a,b){var c=Math.sin(.017453292519943295*b.latitude),d=Math.cos(.017453292519943295*b.latitude),g=Math.sin(.017453292519943295*b.longitude),h=Math.cos(.017453292519943295*b.longitude);b=[d*h,d*g,c];c=[-c*h,-c*g,d];g=[g,-h,0];a=-15*S(a);b=E(a,b);c=E(a,c);a=E(a,g);return new w([[c[0],a[0],b[0]],[c[1],a[1],b[1]],[c[2],a[2],b[2]]])};d.Rotation_HOR_EQD=function(a,b){a=d.Rotation_EQD_HOR(a,b);return d.InverseRotation(a)};d.Rotation_HOR_EQJ=function(a,b){b=d.Rotation_HOR_EQD(a,
b);a=d.Rotation_EQD_EQJ(a);return d.CombineRotation(b,a)};d.Rotation_EQJ_HOR=function(a,b){a=d.Rotation_HOR_EQJ(a,b);return d.InverseRotation(a)};d.Rotation_EQD_ECL=function(a){a=d.Rotation_EQD_EQJ(a);var b=d.Rotation_EQJ_ECL();return d.CombineRotation(a,b)};d.Rotation_ECL_EQD=function(a){a=d.Rotation_EQD_ECL(a);return d.InverseRotation(a)};d.Rotation_ECL_HOR=function(a,b){var c=d.Rotation_ECL_EQD(a);a=d.Rotation_EQD_HOR(a,b);return d.CombineRotation(c,a)};d.Rotation_HOR_ECL=function(a,b){a=d.Rotation_ECL_HOR(a,
b);return d.InverseRotation(a)}})("undefined"===typeof exports?this.Astronomy={}:exports);

View File

@@ -2939,152 +2939,173 @@ def _CalcEarth(time):
# BEGIN CHEBYSHEV
_pluto = [
{ 'tt':-109573.500000, 'ndays':26141.000000, 'coeff':[
[-30.303124711144, -18.980368465705, 3.206649343866],
[20.092745278347, -27.533908687219, -14.641121965990],
[9.137264744925, 6.513103657467, -0.720732357468],
[-1.201554708717, 2.149917852301, 1.032022293526],
[-0.566068170022, -0.285737361191, 0.081379987808],
[0.041678527795, -0.143363105040, -0.057534475984],
[0.041087908142, 0.007911321580, -0.010270655537],
[0.001611769878, 0.011409821837, 0.003679980733],
[-0.002536458296, -0.000145632543, 0.000949924030],
[0.001167651969, -0.000049912680, 0.000115867710],
[-0.000196953286, 0.000420406270, 0.000110147171],
[0.001073825784, 0.000442658285, 0.000146985332],
[-0.000906160087, 0.001702360394, 0.000758987924],
[-0.001467464335, -0.000622191266, -0.000231866243],
[-0.000008986691, 0.000004086384, 0.000001442956],
[-0.001099078039, -0.000544633529, -0.000205534708],
[0.001259974751, -0.002178533187, -0.000965315934],
[0.001695288316, 0.000768480768, 0.000287916141],
[-0.001428026702, 0.002707551594, 0.001195955756]]
{ 'tt':-109573.500000, 'ndays':22873.400000, 'coeff':[
[-38.379127948969, -15.540131600164, 6.713024498471],
[14.305366595998, -27.805310343824, -12.981888636985],
[7.925436014130, 3.903691169710, -1.168958644595],
[-0.442101048338, 1.685913511618, 0.659210430825],
[-0.373216809055, -0.063688373891, 0.093260483060],
[-0.009972684884, -0.081495131522, -0.021987413967],
[0.018367454594, -0.004930958318, -0.007352983738],
[0.003427373209, 0.005473507308, 0.001034839203],
[-0.001351484381, 0.001104099542, 0.000687788740],
[0.000057615664, 0.000946156502, 0.000507901883],
[-0.002112022612, 0.000629887022, 0.000315500774],
[-0.000511474378, -0.001320928726, -0.000562497776],
[-0.000198663925, 0.000068936041, 0.000036709195],
[-0.000540552292, -0.001503978652, -0.000630773819],
[0.002437160925, -0.000763631463, -0.000387861693],
[0.000816305566, 0.002205337400, 0.000925670951],
[-0.002021926086, 0.000622387047, 0.000316528605],
[-0.000505895596, -0.001205612810, -0.000504580853],
[0.001126399530, -0.000361584688, -0.000182817780]]
},
{ 'tt':-83432.500000, 'ndays':26141.000000, 'coeff':[
[67.049456204563, -9.279626603192, -23.091941092128],
[14.860676672314, 26.594121136143, 3.819668867047],
[-6.254409044120, 1.408757903538, 2.323726101433],
[0.114416381092, -0.942273228585, -0.328566335886],
[0.074973631246, 0.106749156044, 0.010806547171],
[-0.018627741964, -0.009983491157, 0.002589955906],
[0.006167206174, -0.001042430439, -0.001521881831],
[-0.000471293617, 0.002337935239, 0.001060879763],
[-0.000240627462, -0.001380351742, -0.000546042590],
[0.001872140444, 0.000679876620, 0.000240384842],
[-0.000334705177, 0.000693528330, 0.000301138309],
[0.000796124758, 0.000653183163, 0.000259527079],
[-0.001276116664, 0.001393959948, 0.000629574865],
[-0.001235158458, -0.000889985319, -0.000351392687],
[-0.000019881944, 0.000048339979, 0.000021342186],
[-0.000987113745, -0.000748420747, -0.000296503569],
[0.001721891782, -0.001893675502, -0.000854270937],
[0.001505145187, 0.001081653337, 0.000426723640],
[-0.002019479384, 0.002375617497, 0.001068258925]]
{ 'tt':-86700.100000, 'ndays':22873.400000, 'coeff':[
[55.447823115293, -27.266406575280, -25.207542726969],
[21.019137449061, 20.342364979145, 0.014098785243],
[-4.749701608520, 2.918129180139, 2.342054849317],
[-0.152026133726, -0.860351920073, -0.222763626308],
[0.103419154134, 0.075735980870, -0.007005683084],
[-0.022470674224, 0.003007617977, 0.007032450935],
[0.001163669493, -0.003189922026, -0.001624648620],
[-0.001137731669, 0.000262288216, 0.000038087641],
[0.000043103328, -0.000535097630, -0.000206619902],
[-0.001261838718, 0.000304538227, 0.000156262972],
[-0.000386936271, -0.002058845083, -0.000871353485],
[0.001504572723, -0.000267222447, -0.000151193739],
[0.000069990356, -0.000184521171, -0.000081257481],
[0.001713840868, -0.000227638497, -0.000139809761],
[0.000380695392, 0.002350810217, 0.000998895521],
[-0.002512724805, 0.000368540417, 0.000219744770],
[-0.000357746385, -0.001951245887, -0.000827980927],
[0.001367155227, -0.000127067590, -0.000088008420],
[0.000173137697, 0.001084708770, 0.000460942958]]
},
{ 'tt':-57291.500000, 'ndays':26141.000000, 'coeff':[
[46.038290912405, 73.773759757856, 9.148670950706],
[-22.354364534703, 10.217143138926, 9.921247676076],
[-2.696282001399, -4.440843715929, -0.572373037840],
[0.385475818800, -0.287872688575, -0.205914693555],
[0.020994433095, 0.004256602589, -0.004817361041],
[0.003212255378, 0.000574875698, -0.000764464370],
[-0.000158619286, -0.001035559544, -0.000535612316],
[0.000967952107, -0.000653111849, -0.000292019750],
[0.001763494906, -0.000370815938, -0.000224698363],
[0.001157990330, 0.001849810828, 0.000759641577],
[-0.000883535516, 0.000384038162, 0.000191242192],
[0.000709486562, 0.000655810827, 0.000265431131],
[-0.001525810419, 0.001126870468, 0.000520202001],
[-0.000983210860, -0.001116073455, -0.000456026382],
[-0.000015655450, 0.000069184008, 0.000029796623],
[-0.000815102021, -0.000900597010, -0.000365274209],
[0.002090300438, -0.001536778673, -0.000709827438],
[0.001234661297, 0.001342978436, 0.000545313112],
[-0.002517963678, 0.001941826791, 0.000893859860]]
{ 'tt':-63826.800000, 'ndays':22873.400000, 'coeff':[
[69.634036499141, 57.372230785853, -3.077375595621],
[-12.411985665793, 17.572931987772, 9.221186946545],
[-3.090831258400, -2.512294626088, 0.146706800235],
[0.218362234630, -0.226221283768, -0.136477898200],
[0.000880517265, 0.010681097884, 0.002725741572],
[-0.001291221881, -0.003106227879, -0.001273733378],
[-0.000500284392, -0.001446751396, -0.000635982028],
[0.001105591622, -0.001683856224, -0.000768604544],
[0.000938522644, 0.000505869572, 0.000186404007],
[-0.000211177024, -0.001065799522, -0.000446266661],
[0.002134035294, -0.000029658480, -0.000063643319],
[0.000035325265, 0.001388374194, 0.000592202743],
[0.000116349193, 0.000061976724, 0.000023376874],
[-0.000072445415, 0.001636213289, 0.000704241568],
[-0.002575745160, -0.000105513632, 0.000017803397],
[0.000072226632, -0.002387946399, -0.001025976586],
[0.002194786367, 0.000072530940, -0.000022483321],
[-0.000053247082, 0.001177229455, 0.000506221758],
[-0.001172329523, -0.000045691921, 0.000008994465]]
},
{ 'tt':-31150.500000, 'ndays':26141.000000, 'coeff':[
[-39.074661990988, 30.963513412373, 21.431709298065],
[-12.033639281924, -31.693679132310, -6.263961539568],
[7.233936758611, -3.979157072767, -3.421027935569],
[1.383182539917, 1.090729793400, -0.076771771448],
[-0.009894394996, 0.313614402007, 0.101180677344],
[-0.055459383449, 0.031782406403, 0.026374448864],
[-0.011074105991, -0.007176759494, 0.001896208351],
[-0.000263363398, -0.001145329444, 0.000215471838],
[0.000405700185, -0.000839229891, -0.000418571366],
[0.001004921401, 0.001135118493, 0.000406734549],
[-0.000473938695, 0.000282751002, 0.000114911593],
[0.000528685886, 0.000966635293, 0.000401955197],
[-0.001838869845, 0.000806432189, 0.000394594478],
[-0.000713122169, -0.001334810971, -0.000554511235],
[0.000006449359, 0.000060730000, 0.000024513230],
[-0.000596025142, -0.000999492770, -0.000413930406],
[0.002364904429, -0.001099236865, -0.000528480902],
[0.000907458104, 0.001537243912, 0.000637001965],
[-0.002909908764, 0.001413648354, 0.000677030924]]
{ 'tt':-40953.400000, 'ndays':22873.400000, 'coeff':[
[-8.991435374359, 72.522929925849, 25.335167039777],
[-23.717658611798, -11.790452911233, 3.467137945519],
[0.826017751998, -4.641123526666, -1.697326777915],
[0.560746056871, -0.090150086821, -0.197072243469],
[0.053367643147, 0.030287157582, -0.006883260629],
[0.004886534342, 0.006021189196, 0.000375548379],
[0.001517320916, -0.000431833409, -0.000366094177],
[0.002577336038, 0.001237262625, 0.000456269058],
[-0.000669267838, 0.001169153090, 0.000526044269],
[0.000941669987, 0.000052324731, 0.000006451966],
[-0.000308122555, 0.001907421829, 0.000824565883],
[-0.001450786896, -0.000241544461, -0.000069557948],
[-0.000021044193, 0.000176079825, 0.000076920928],
[-0.001711364848, -0.000406877980, -0.000132083416],
[0.000550039252, -0.002319991661, -0.001008513611],
[0.002503893667, 0.000558897059, 0.000178233903],
[-0.000487607379, 0.001932237958, 0.000840475179],
[-0.001325885344, -0.000211156037, -0.000058139585],
[0.000236977210, -0.001063738969, -0.000461951831]]
},
{ 'tt':-5009.500000, 'ndays':26141.000000, 'coeff':[
[23.380075041204, -38.969338804442, -19.204762094135],
[33.437140696536, 8.735194448531, -7.348352917314],
[-3.127251304544, 8.324311848708, 3.540122328502],
[-1.491354030154, -1.350371407475, 0.028214278544],
[0.361398480996, -0.118420687058, -0.145375605480],
[-0.011771350229, 0.085880588309, 0.030665997197],
[-0.015839541688, -0.014165128211, 0.000523465951],
[0.004213218926, -0.001426373728, -0.001906412496],
[0.001465150002, 0.000451513538, 0.000081936194],
[0.000640069511, 0.001886692235, 0.000884675556],
[-0.000883554940, 0.000301907356, 0.000127310183],
[0.000245524038, 0.000910362686, 0.000385555148],
[-0.001942010476, 0.000438682280, 0.000237124027],
[-0.000425455660, -0.001442138768, -0.000607751390],
[0.000004168433, 0.000033856562, 0.000013881811],
[-0.000337920193, -0.001074290356, -0.000452503056],
[0.002544755354, -0.000620356219, -0.000327246228],
[0.000534534110, 0.001670320887, 0.000702775941],
[-0.003169380270, 0.000816186705, 0.000427213817]]
{ 'tt':-18080.000000, 'ndays':22873.400000, 'coeff':[
[-36.087786489549, -19.321019448663, 4.842126256045],
[16.674527202393, -26.439741396846, -13.273510277928],
[7.640949973276, 4.666665369749, -0.845879718769],
[-0.675046527214, 1.618348207499, 0.708326066983],
[-0.374519038689, -0.128911510322, 0.072787764393],
[0.008450995489, -0.086316399102, -0.029607183244],
[0.023560644312, 0.001433948061, -0.005972909639],
[0.000123688589, 0.008108170319, 0.002548003443],
[-0.002730297048, -0.000039481707, 0.000390047845],
[-0.000577835152, 0.000377966419, 0.000271660666],
[-0.001872062542, -0.000807048678, -0.000323879099],
[0.000547521881, -0.001220942947, -0.000546774321],
[-0.000238935039, -0.000136260249, -0.000047363292],
[0.000686748774, -0.001467331313, -0.000644194239],
[0.002396569437, 0.000952782447, 0.000347558040],
[-0.000969645524, 0.002136243261, 0.000938808719],
[-0.001971568230, -0.000768658104, -0.000280521530],
[0.000550474324, -0.001191027208, -0.000523701526],
[0.001103417783, 0.000433385295, 0.000158034752]]
},
{ 'tt':21131.500000, 'ndays':26141.000000, 'coeff':[
[74.130449310804, 43.372111541004, -8.799489207171],
[-8.705941488523, 23.344631690845, 9.908006472122],
[-4.614752911564, -2.587334376729, 0.583321715294],
[0.316219286624, -0.395448970181, -0.219217574801],
[0.004593734664, 0.027528474371, 0.007736197280],
[-0.001192268851, -0.004987723997, -0.001599399192],
[0.003051998429, -0.001287028653, -0.000780744058],
[0.001482572043, 0.001613554244, 0.000635747068],
[0.000581965277, 0.000788286674, 0.000315285159],
[-0.000311830730, 0.001622369930, 0.000714817617],
[-0.000711275723, -0.000160014561, -0.000050445901],
[0.000177159088, 0.001032713853, 0.000435835541],
[-0.002032280820, 0.000144281331, 0.000111910344],
[-0.000148463759, -0.001495212309, -0.000635892081],
[-0.000009629403, -0.000013678407, -0.000006187457],
[-0.000061196084, -0.001119783520, -0.000479221572],
[0.002630993795, -0.000113042927, -0.000112115452],
[0.000132867113, 0.001741417484, 0.000743224630],
[-0.003293498893, 0.000182437998, 0.000158073228]]
{ 'tt':4793.400000, 'ndays':22873.400000, 'coeff':[
[58.755369508116, -24.264668969300, -25.275084172155],
[19.497987169479, 21.276853294102, 0.764723273399],
[-4.823126413932, 2.498256389201, 2.232355462314],
[-0.086140983990, -0.813675478819, -0.227988579141],
[0.085311207859, 0.074538364204, -0.002854595841],
[-0.017051620380, -0.002540894346, 0.004208292723],
[0.002769861771, -0.000014329185, -0.000477592398],
[-0.002551661001, 0.000069089826, 0.000046330164],
[0.000069355992, -0.001265302658, -0.000503662137],
[-0.000739467933, -0.000680968125, -0.000281115427],
[0.001236770708, -0.001567842762, -0.000703898847],
[0.001243060414, 0.000731613032, 0.000283816485],
[0.000174026399, -0.000093710964, -0.000044485803],
[0.001493473235, 0.000902078907, 0.000350032270],
[-0.001429402935, 0.001976479349, 0.000882105392],
[-0.002183986564, -0.001289554847, -0.000499475930],
[0.001157663206, -0.001681190457, -0.000748793883],
[0.001077037844, 0.000720659055, 0.000282739654],
[-0.000650786278, 0.000898878141, 0.000401222494]]
},
{ 'tt':47272.500000, 'ndays':26141.000000, 'coeff':[
[-5.727994625506, 71.194823351703, 23.946198176031],
[-26.767323214686, -12.264949302780, 4.238297122007],
[0.890596204250, -5.970227904551, -2.131444078785],
[0.808383708156, -0.143104108476, -0.288102517987],
[0.089303327519, 0.049290470655, -0.010970501667],
[0.010197195705, 0.012879721400, 0.001317586740],
[0.001795282629, 0.004482403780, 0.001563326157],
[-0.001974716105, 0.001278073933, 0.000652735133],
[0.000906544715, -0.000805502229, -0.000336200833],
[0.000283816745, 0.001799099064, 0.000756827653],
[-0.000784971304, 0.000123081220, 0.000068812133],
[-0.000237033406, 0.000980100466, 0.000427758498],
[-0.001976846386, -0.000280421081, -0.000072417045],
[0.000195628511, -0.001446079585, -0.000624011074],
[-0.000044622337, -0.000035865046, -0.000013581236],
[0.000204397832, -0.001127474894, -0.000488668673],
[0.002625373003, 0.000389300123, 0.000102756139],
[-0.000277321614, 0.001732818354, 0.000749576471],
[-0.003280537764, -0.000457571669, -0.000116383655]]
{ 'tt':27666.800000, 'ndays':22873.400000, 'coeff':[
[67.691164156698, 60.055690812059, -1.653713469469],
[-13.392561842793, 16.736135121408, 9.258008571303],
[-2.979947432205, -2.623400069241, 0.078535157634],
[0.221140466168, -0.219668370791, -0.134946210351],
[0.002253370723, 0.006150902785, 0.000741705969],
[0.003786183572, -0.002028669517, -0.001070817054],
[-0.000729683667, 0.001185908944, 0.000459456376],
[0.000214692528, -0.001514035337, -0.000628903034],
[0.000799410963, 0.000114168654, 0.000034870976],
[0.001014080744, -0.000707640463, -0.000332517340],
[0.001555070571, 0.001399146449, 0.000560894218],
[-0.001017832289, 0.000998745218, 0.000451886947],
[0.000105798659, 0.000091126421, 0.000036516053],
[-0.001265090800, 0.001163905877, 0.000530521482],
[-0.001874934335, -0.001660517639, -0.000665989341],
[0.001807826027, -0.001705845177, -0.000775290385],
[0.001582901643, 0.001412609292, 0.000566893630],
[-0.000863192985, 0.000874901432, 0.000396000392],
[-0.000859691105, -0.000743064990, -0.000297495435]]
},
{ 'tt':50540.100000, 'ndays':22873.400000, 'coeff':[
[-12.469752090089, 70.481525173143, 25.755334377455],
[-23.370842315291, -13.264547442851, 2.902657719838],
[1.110867958719, -4.672708665650, -1.792706614402],
[0.596571797676, -0.066313898032, -0.200285819643],
[0.060080579048, 0.035889468333, -0.006426562076],
[0.006591799109, 0.011099902718, 0.002309289562],
[-0.000968324396, 0.001898382496, 0.000740088714],
[0.000523251649, 0.000812554121, 0.000383725061],
[-0.000319832676, 0.000199016237, 0.000096616884],
[0.000782553114, 0.001015845568, 0.000412740772],
[-0.001801819810, 0.001254101038, 0.000581678095],
[-0.000905307447, -0.001101496166, -0.000449936776],
[-0.000183981908, 0.000144296441, 0.000067134500],
[-0.001000404967, -0.001338920106, -0.000549210134],
[0.002108795205, -0.001386328192, -0.000645830667],
[0.001472529436, 0.001926033725, 0.000789479520],
[-0.001749726932, 0.001130345906, 0.000527043570],
[-0.000862478053, -0.001013136301, -0.000413188733],
[0.000958109900, -0.000647958487, -0.000300786397]]
}]
def _ChebScale(t_min, t_max, t):