Commit Graph

286 Commits

Author SHA1 Message Date
Marten van Kerkwijk da94ee2145 Allow two-part julian dates for extra precision 2013-06-12 15:50:56 -04:00
Brandon Rhodes b2190b68cb Add a README describing how to build ephemerides 2013-06-11 23:03:47 -04:00
Brandon Rhodes 2efb2e5c9c Have build.py generate setup.py, __init__.py files 2013-06-11 23:03:16 -04:00
Brandon Rhodes 962333d26f Simplify a test signature to avoid *arg passing 2013-06-03 23:05:16 -04:00
Brandon Rhodes 9a20e921d0 Mention the units of velocity values 2013-01-18 11:41:47 -05:00
Brandon Rhodes b029419349 Add jalpha and jomega to the documentation 2013-01-18 11:39:42 -05:00
Brandon Rhodes 28dc945fa2 Final tweaks to the description before 1.0 release 2013-01-18 11:37:00 -05:00
Brandon Rhodes ff7fa26cee Clean up metadata for 1.0 release 2013-01-18 11:30:35 -05:00
Brandon Rhodes f10b892aee Simplify API with dedicated `position()` method 2013-01-18 11:19:04 -05:00
Brandon Rhodes cef8d2d26d Got most JPL test coordinates passing like before 2013-01-18 02:53:46 -05:00
Brandon Rhodes 6645e06103 Handle correctly the last date in the ephemeris 2013-01-18 02:19:41 -05:00
Brandon Rhodes 9e33152377 Switch to smaller DE421 ephemeris for unit tests 2013-01-18 02:05:58 -05:00
Brandon Rhodes a500c5daca Ephemeris object now knows its name 2013-01-18 01:59:49 -05:00
Brandon Rhodes 4b19c4da35 Explicitly check that input dates are within range 2013-01-18 01:51:39 -05:00
Brandon Rhodes d3036467b8 Abandoned table lookups following performance test 2013-01-18 01:17:44 -05:00
Brandon Rhodes afec6b0d25 Switch to table lookup to avoid repeat arithmetic 2013-01-17 23:51:02 -05:00
Brandon Rhodes f46a745461 Start reworking compute() to accept array as input 2013-01-13 12:06:26 -05:00
Brandon Rhodes 080a329699 Renamed tests against JPL data to "jpltest.py" 2013-01-13 07:41:29 -05:00
Brandon Rhodes 4f741d4967 Add .names() method to an Ephemeris
Also, made clearer that the compute() call needs a name as its argument.
2013-01-13 07:38:52 -05:00
Brandon Rhodes 27a301dcac Add a command to re-fetch build ephemerides
This ability allows development to re-commence on a machine after a
quick download of the ephemeris files, instead of having to rebuild
the ephemerides over again from their JPL data sets (that take quite
a long time to download!).
2013-01-13 07:37:18 -05:00
Brandon Rhodes 48458032b5 Add ignores for *.pyc and *.egg-info 2013-01-13 07:02:21 -05:00
Brandon Rhodes 56764a26c2 Improved the expressions in .gitignore 2012-11-23 22:24:20 -05:00
Brandon Rhodes e733f2f928 A "tox.ini" that runs tests successfully under 2.7 2012-11-21 14:14:54 -05:00
Brandon Rhodes a90a96b88f Gave each ephemeris package its own setup.py. 2012-11-21 13:23:22 -05:00
Brandon Rhodes ca75aa0d2f Moved everything a redundant directory level lower
My cute trick of driving all six of these packages from a single
setup.py proved useless for "tox" which insists on calling setup.py
the normal way, without an extra argument. So everything goes a level
deeper so that it can get its own setup.py.
2012-11-21 13:13:49 -05:00
Brandon Rhodes 0ba7ae73cb Added our NOVAS tar.gz to the package listing 2012-09-19 19:28:39 -04:00
Brandon Rhodes 57663ed8fd Whoops, PyPI uses `single quotes` for mere italics 2012-09-07 09:10:55 -04:00
Brandon Rhodes d4ec03cf8a Designated ICRF and listed data sets in the readme 2012-09-07 09:05:09 -04:00
Brandon Rhodes 5942845df8 Added Python 3.2 compatibility 2012-09-02 23:41:16 -04:00
Brandon Rhodes 7573a21492 Fixed the suggested commands for getting test sets 2012-09-02 17:05:08 -04:00
Brandon Rhodes a8498f9e7b Test error message now also shows the exception 2012-07-18 23:45:14 -04:00
Brandon Rhodes d6b46fcb03 Added a message for how to download the test data 2012-07-18 23:41:21 -04:00
Brandon Rhodes 7d3e863369 Created an S3 index of the DE* ephemeris packages that were too large for PyPI, and updated setup.py so the packages' URLs on PyPI point to the index file. 2012-04-02 22:34:13 -04:00
Brandon Rhodes 2fbb85ca7c Created a command to upload sdists to S3 since PyPI refuses packages this big. 2012-04-02 16:15:14 -04:00
Brandon Rhodes dba90332a7 Corrected the jplephem documentation so that it uses DE421 as its example (as that is the only ephemeris small enough that PyPI has accepted it for upload), and so that the links for the five ephemerides actually point at five different links (whoops). 2012-04-01 12:19:10 -04:00
Brandon Rhodes 5853740c33 Moved the "pip install" commands in the package's PyPI description to the top. 2012-03-30 12:28:20 -04:00
Brandon Rhodes 1deeb609ba Made setup.py work for "jplephem" too, and gave it a "long description" for PyPI. 2012-03-30 12:07:12 -04:00
Brandon Rhodes a17b688608 Removed an unused import. 2012-03-30 11:50:34 -04:00
Brandon Rhodes 84fbca43b6 Taught our unified "setup.py" to function properly inside an sdist when running inside of "pip" or some other tool. 2012-03-30 11:05:01 -04:00
Brandon Rhodes c13c6ddba8 Changed the ephemeris version numbers to the year of their release, since a meaningless ugly "1.0" sitting next to each of their titles on PyPI is unbearable. 2012-03-30 10:50:53 -04:00
Brandon Rhodes 364d59ecc8 After extensive research, came up with reasonable and mutually cross-referencing module descriptions for each of the five major JPL ephemerides. 2012-03-30 10:37:02 -04:00
Brandon Rhodes d48bd6287e Added DE421 to the mix, and tried to give them all reasonable docstrings. 2012-03-30 01:19:44 -04:00
Brandon Rhodes 98564d584e Continued refining de405's docstring, and added one for de406. 2012-03-30 00:37:46 -04:00
Brandon Rhodes 569f3ca4c5 Started writing a setup.py to enable distribution of the ephemerides on PyPI, and gave de405 an __init__.py as a first step in that direction. 2012-03-29 21:26:52 -04:00
Brandon Rhodes 3c0626a6e5 Got the last of the four major ephemera, DE406, passing its tests by working around a discrepancy between what DE406's header says is the last date in the polynomials, and the actual last date. 2012-03-29 20:28:36 -04:00
Brandon Rhodes e1105df039 Skip creating empty libration or nutation files when no coefficients are there. 2012-03-29 18:04:32 -04:00
Brandon Rhodes cca60c1c2a Improved test, sensitivity per JPL's FORTRAN code; three of four major ephemera pass. 2012-03-29 17:47:57 -04:00
Brandon Rhodes 81909cbf1e Enhanced the ephemeris so it can compute a point at the very end of its range. 2012-03-29 17:47:32 -04:00
Brandon Rhodes ca710f59e2 Expanded the test runner so that it runs agains all four ephemeris sets. 2012-03-29 17:11:31 -04:00
Brandon Rhodes 18e95c919d Switched to useful filenames: jpl-earthmoon.npy instead of jpl-03.npy, etc. 2012-03-29 17:06:40 -04:00