Commit Graph

286 Commits

Author SHA1 Message Date
Brandon Rhodes fbd1951f03 Made the build script more memory-efficient so I can build DE422 on my laptop. 2012-03-29 12:28:57 -04:00
Brandon Rhodes 799d6ee382 Expanded list of ephemera we build by default to include 423 (which runs my laptop out of RAM, but, one thing at at time!). 2012-03-23 10:39:39 -04:00
Brandon Rhodes 15df274d5e Added a "gitignore" file to hide generated ephemeris directories from git. 2012-03-23 09:21:08 -04:00
Brandon Rhodes 997b424e1f Split the experimental "poke.py" into two real modules in a real package. 2012-03-23 09:05:30 -04:00
Brandon Rhodes 03857b03bf Slight stylistic improvements to "poke.py" before splitting it into 2 files. 2012-03-23 08:13:47 -04:00
Brandon Rhodes 7b0457c802 Script build.py now saves numpy arrays to directories with names like "de405". 2012-03-23 07:47:08 -04:00
Brandon Rhodes 4b69c740c0 Started commenting and simplifying computational code. 2012-03-21 22:37:08 -04:00
Brandon Rhodes daea979537 Renamed the data files to "jpl-*" to give credit where credit is due. 2012-03-21 22:08:35 -04:00
Brandon Rhodes c8bab3f77a Quieted down the tests now that the entire run is passing. 2012-03-21 15:20:27 -04:00
Brandon Rhodes 6b07348b38 Complete success: librations tests now pass, so the complete JPL test file is now passing! 2012-03-21 14:18:19 -04:00
Brandon Rhodes 932e1dda16 Got nutations working! The build script needed to know that nutation only has two components, not three. 2012-03-21 14:12:41 -04:00
Brandon Rhodes 3866017b57 Rolled the vestigial pleph function into the test main(). 2012-03-21 13:55:01 -04:00
Brandon Rhodes 6300d59197 Figured out how to compute the Moon's position, and got all tests succeeding for targets 1 through 13. 2012-03-21 11:53:57 -04:00
Brandon Rhodes 4f8638f961 Bugfix: the build.py script was pulling the first set of coefficients N times, instead of pulling all N sets of coefficients. 2012-03-21 10:58:25 -04:00
Brandon Rhodes d40cfc0b03 Adjusted the Ephemeris object so that each coefficient series is only loaded once from disk, then cached in RAM in case it needs to be used again. 2012-03-21 10:49:06 -04:00
Brandon Rhodes f6dfd7084c Removed AU and EMRAT constants from Python, in favor of reading them from the cached JPL constants. 2012-03-21 10:46:15 -04:00
Brandon Rhodes 97461b0794 Adjusted test to consider only field #1, for only planets, to begin with; now passes for the entire data set. 2012-03-21 10:37:35 -04:00
Brandon Rhodes 3f31451089 Made the test output slightly more verbose as I trace though FORTRAN code trying to figure out why the third test data point fails. 2012-03-21 05:43:27 -04:00
Brandon Rhodes 107f9ac952 Refactored into its own function the logic that computes the position of a test-file "target", that can be something composite, like the position of the Earth. 2012-03-21 05:27:56 -04:00
Brandon Rhodes b7503b1398 Made it one coordinate farther in the test file by now supporting velocities. 2012-03-21 05:18:01 -04:00
Brandon Rhodes c2961de518 Renamed my fake constants to lowercase, so they are clearly different than the real JPL constants from the header file. And, gave them cooler names. 2012-03-21 04:42:13 -04:00
Brandon Rhodes 2f48befe84 Replaced several loops with numpy array operations. 2012-03-21 04:33:42 -04:00
Brandon Rhodes 88ea3cf183 Reworked poking-around script poke.py to successfully compute a position by using the new numpy arrays instead of reading the ephemeris files itself. 2012-03-21 04:22:42 -04:00
Brandon Rhodes c0ebde5a52 Improved build.py so that it creates arrays built from all files that compose an ephemeris set. 2012-03-21 03:51:23 -04:00
Brandon Rhodes 327d4865b6 Added a synthetic pair of constants that represent the start and end times of the entire ephemeris. 2012-03-21 03:31:43 -04:00
Brandon Rhodes 85624d1894 The build script now reads the 1600 file and generates a .npy for each planet. 2012-03-21 03:27:18 -04:00
Brandon Rhodes d0b5546301 Wrote a script that opens a DE directory and, so far, saves all of the named constants defined in its header file. 2012-03-21 02:30:46 -04:00
Brandon Rhodes 656793fc04 Renamed the shell script that fetches NASA data with wget to "fetch.sh". 2012-03-21 01:43:37 -04:00
Brandon Rhodes 67d60cc883 Learned how to compute position of Earth as opposed to Earth-Moon barycenter, driving error of first data point beneath 1e-13. Success! 2012-03-21 01:25:08 -04:00
Brandon Rhodes 2f19c24588 Brought in numpy to subtract vectors and actually compute first test point; the agreement is close but not yet 1e-13 as desired by NASA. 2012-03-21 01:00:26 -04:00
Brandon Rhodes 85c6d1c4fd Now plots a year's worth of orbit for the planets in the inner solar system. 2012-03-21 00:07:07 -04:00
Brandon Rhodes 5a2aa637bd Produced a first reasonable-looking set of coordinates for the Earth. 2012-03-20 05:33:51 -04:00
Brandon Rhodes 49a723b18e Wrote a primitive routine to read in a directory of coefficients. 2012-03-20 03:39:35 -04:00
Brandon Rhodes 1f24e6b1d4 Started writing a primitive Python program to parse the ephemeris data. 2012-03-20 02:07:56 -04:00
Brandon Rhodes e3029ec70c Wrote a quick script to download the NASA ephemeris files over FTP with wget. 2012-03-20 02:07:28 -04:00
Brandon Rhodes e7d7d077b7 first commit 2012-03-19 11:09:56 -04:00