Commit Graph

58 Commits

Author SHA1 Message Date
Brandon Rhodes 24b0ac3700 For #406, add Time constructors from datetimes
This was previously an implicit power of `ts.utc()` which was more
difficult for users to find.
2020-07-17 09:41:48 -04:00
Brandon Rhodes 5f655a517e Commit a copy of CometEls.txt for CI to use 2020-07-07 15:17:52 -04:00
Brandon Rhodes a782987278 Fix all dangling cross references in the docs 2020-06-15 13:45:35 -04:00
Brandon Rhodes e62b0ca093 Update CHANGELOG and declare version 1.22 2020-06-08 10:46:59 -04:00
Brandon Rhodes ccdfdba649 Bring Time attribute documentation up to date
Also, add methods by which users can ask for the nutation and precession
matrices in case they are doing low-level operations.
2020-06-07 11:12:12 -04:00
Brandon Rhodes 61e8e0e947 Fix #374 by adding close() to SpiceKernel 2020-06-04 12:11:18 -04:00
Brandon Rhodes 2be22b0160 Fix #382 by adding Loader.build_url() method 2020-05-31 12:17:43 -04:00
Brandon Rhodes 7d3e3c6e46 Explain why is_sunlit() ignores light time to Sun
And on the way, add a light-time method to the Distance object.
2020-05-29 22:28:00 -04:00
Brandon Rhodes 5ef19c99c3 Remove draft `is_sunlit()` and tidy up its docs 2020-05-28 14:50:48 -04:00
Brandon Rhodes 313edcab70 Add arcminutes(), arcseconds(), and mas() methods
And while I’m at it, switch to 2-step conversions between radians and
other units.  While it was faster to do only a single multiply against a
pre-computed constant like (tau / 360.0), I suspect that two operations
might behave better when the angle is, for example, exactly a multiple
of tau.  I should really learn float behavior better (or experiment more).
2020-05-27 13:30:51 -04:00
Brandon Rhodes 52cd9a4bfb For #377, add `position_of_radec()`
This deprecates a poorly designed routine (see the changes to its
docstring for details) and replaces it with a better one.
2020-05-20 10:24:34 -04:00
Brandon Rhodes 095e226a64 Fix #345 by deprecating my terrible satellite dict
Why did I think a dictionary with heterogeneous keys was a good idea?
Extra expense for users who didn’t need it; confusion for those who did.
2020-03-24 09:17:46 -04:00
Brandon Rhodes f822f23e31 Document the new planetary reference frames 2019-12-20 11:33:02 -05:00
Brandon Rhodes 2c457ecbc1 Rework position angle routine using pure angles 2019-12-05 18:25:27 -05:00
Brandon Rhodes 9a8bdaf2a5 Unsuccessful try at Position Angle: vector-based 2019-12-05 16:35:40 -05:00
Brandon Rhodes 6a9a6ea2e2 Try to fix #295 with better documentation
Hopefully this will encourage users to interpret Geocentric coordinates
as fixed in space instead of in a rotating frame of reference.
2019-11-10 21:59:29 -05:00
Brandon Rhodes 8b1ad61c7d Add docs for dark_twilight_day() 2019-11-08 12:49:33 -05:00
Brandon Rhodes 348f03caa3 Constellation lookup function, which fixes #228 2019-10-09 15:36:36 -04:00
Brandon Rhodes 5a4aa58055 Add position_from_radec() function 2019-10-09 07:05:49 -04:00
Brandon Rhodes 039561e4a7 Add docs about builtin time scale files 2019-07-20 19:48:22 -04:00
Brandon Rhodes 2dafedd157 Fix typo in docs
Pointed out by Micah Cliffe.
2019-03-30 09:26:54 -04:00
Brandon Rhodes 4d20c62564 Add the ability to find solstices and equinoxes 2018-09-23 17:00:00 -04:00
Brandon Rhodes 49644c6d8d Version 1.8 by documenting Almanac module 2018-09-12 07:06:49 -04:00
Brandon Rhodes 5c39a93f73 Update documentation for version 1.7 2018-09-03 22:45:55 -04:00
Josh Paterson 3fca1db672 Ability to calculate osculating orbital elements
Contributed by @JoshPaterson, the resulting osculating elements match
those generated for the same positions by JPL HORIZONS.

Fixes #175 by merging and squashing his work.
2018-07-26 22:57:35 -04:00
Brandon Rhodes 002f2abc32 Separate methods for creating times from JD’s
It was awkward to hide the ability to create times from the Julian day
behind the very last argument in the time constructor argument lists.
Let’s start moving in a better direction that makes the ability more
discoverable, and starts to backtrack on one of those awkward situations
where half the arguments to a given method are always useless.

Fixes #181.
2018-07-08 21:31:50 -04:00
Brandon Rhodes 0e9c01959b Add Julian decimal years ``Time`` attribute ``.J`` 2018-05-20 21:04:36 -04:00
Brandon Rhodes 685c15f7ef Add “.dut1” attribute to Time objects
Fixes #176.
2018-05-20 20:49:23 -04:00
Brandon Rhodes 8ad36deba9 Put “Skyfield” at the top of each page
That way, folks will know what project’s site they’ve landed on if they
arrive from a search engine.  And it lets me remove the redundant
“Skyfield” that I added to one particular doc’s title a few minutes ago,
but that failed to solve the problem for all other pages.
2018-05-19 17:10:54 -04:00
Brandon Rhodes 637917d9f3 Add “Skyfield” to the API reference’s title 2018-05-19 16:29:49 -04:00
Brandon Rhodes 14368a36b2 Document the method `Geocentric.subpoint()`
Fixes #121.
2018-05-19 16:28:11 -04:00
Brandon Rhodes cdf4f9c22b Test against small excerpts from JUP310
Instead of requiring tests to download the nearly 1GB `jup310.bsp` file,
let’s supply small excerpts from the file for the tests to use.
2018-02-11 15:30:33 -05:00
Brandon Rhodes 4d630e978e Make API overview order consistent with TOC order 2017-03-15 00:05:12 -04:00
Brandon Rhodes 5d51be03b3 Add satellites, Topos, and vectors to the docs 2017-03-14 21:54:00 -04:00
Brandon Rhodes d75f56cdc1 Fix a few dangling cross references 2016-08-27 23:44:39 -04:00
Brandon Rhodes d8d4134533 Revamp, unify, and simplify iokit.Loader logic 2016-07-10 17:22:06 -04:00
Brandon Rhodes 14b812dc8c Add docstring and API docs for the Star class 2016-07-09 22:07:31 -04:00
Brandon Rhodes 12abbc218e Fix unknown docs refs; minimally document load() 2016-03-30 10:34:08 -04:00
Brandon Rhodes 917f535ad4 Fix #83 with new angular separation method 2016-03-30 02:11:15 -04:00
Brandon Rhodes 6f9f7b965d Split API Reference into several pages 2016-03-30 01:32:36 -04:00
Brandon Rhodes e9b9dc6932 Bring units into the documentation 2016-03-28 12:34:30 -04:00
Brandon Rhodes f10b4e88f8 Better document how bodies generate positions 2016-03-28 09:57:29 -04:00
Brandon Rhodes c1e2b4a491 Make jpllib docstrings more elaborate 2016-03-28 05:22:05 -04:00
Brandon Rhodes 5f92fab111 Explain the Geometry class in the API docs 2016-03-27 09:44:37 -04:00
Brandon Rhodes 72d3e6a050 Start adding jpllib to the API docs 2016-03-26 23:23:59 -04:00
Brandon Rhodes 31634b0c0f Document the ICRF class; add J2000, B1950 objects 2016-03-26 22:18:40 -04:00
Brandon Rhodes bf5bbc0179 Experiment in making pretty index for API 2016-03-26 18:43:43 -04:00
Brandon Rhodes 9da1bdb16a Update most of the docs to talk about Time objects
Except, predictably, for the ``time.rst`` file, which will probably have
to be rewritten before this new version of Skyfield can be released.
2016-03-23 01:55:18 -04:00
Brandon Rhodes e71e50a00a Rename `JulianDate` to `Time`
This improvement removes the apparent redundancy from a statement like:

    jd = ts.tt(jd=value)

(why are the raw value and the object both named `jd`, a user might
wonder?) and also hopefully makes it less likely that new users will
think that a `JulianDate` object specifies merely a date but not also a
specific time.
2016-03-23 01:07:19 -04:00
Brandon Rhodes 38d7c1aca0 Rename "TimeScales" to "Timescale" 2016-02-22 09:19:47 -05:00