Commit Graph

10 Commits

Author SHA1 Message Date
Don Cross
b6db310641 Keeping useful changes from abandoned branch small_pluto.
I was experimenting with an alternative way to calculate Pluto's position.
That idea didn't work out, but in the process, I did make some changes
I want to keep:

1. A typecast in generate/codegen.c that eliminates a build warning
   in Windows (Visual Studio 2015).

2. Expanded generate/vsop/vsop.c to calculate both position and velocity
   vectors. This was tricky to get working, and could come in handy.
2020-08-15 13:28:16 -04:00
Don Cross
f754a6de82 Fixed #58 - Solar System Barycenter, Earth/Moon Barycenter.
Can now calculate the heliocentric Solar System Barycenter (SSB)
and Earth/Moon Barycenter (EMB).

Changes made in C, C#, JavaScript and Python:
Added new body codes SSB, EMB.
Added support for calculating both in HelioVector functions.
Verified that all calculations match NOVAS.
Verified that all calculations match each other across languages.
2020-04-29 21:53:57 -04:00
Don Cross
819e59745d Decreased Neptune apsis prediction errors from 49.25 days to 15.45 days.
Include an extra 4 terms in the radial component of the VSOP
model for Neptune. The code automatically picks the 4 terms
that maximize the time derivative's highest possible contribution.
2020-01-05 20:44:29 -05:00
Don Cross
59237cc021 Split VsopTruncate into VsopTruncate/VsopTrim.
The VsopTruncate function had logic to remove any trailing
empty series from a coordinate formula. Now I have split
this out into a separate function called VsopTrim.
I did this because I want to experiment with re-extending
VSOP models to improve prediction of planet apsides,
so some series that are empty might become non-empty again
before being saved to disk.
2020-01-05 12:38:08 -05:00
Don Cross
5df1af7428 Deleted trailing whitespace in vsop.c 2020-01-05 11:47:46 -05:00
Don Cross
4b38e8ccf6 Fixed typo in comment. 2020-01-04 22:33:31 -05:00
Don Cross
07201afe0a Generate planet perihelion/aphelion test data from NOVAS.
Created my own unit test data from NOVAS for planet apsides.
Handle oddities with Neptune's orbit as a special case.
Removed hacks in ctest.c.
2020-01-04 07:05:43 -05:00
Don Cross
c5d2beb40b Break out error stats by remote body. 2019-05-19 14:04:27 -04:00
Don Cross
8dbe1d1f28 Renamed VSOP data types to lower case and to end with '_t'. 2019-04-09 13:42:32 -04:00
Don Cross
b98d6c03a2 Added VSOP87 data and my C code for using it. 2019-04-08 08:39:34 -04:00