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
d23ce4e1ee
For #406 , mention more modern timezone sources
2020-07-17 08:18:50 -04:00
Brandon Rhodes
40675178ac
Explain: it’s more efficient to loop over strings
2020-06-16 09:52:50 -04:00
Brandon Rhodes
89ed1cb824
Add time array “for” loops in Date arrays section
...
For #390 . There is a single `for` loop illustrated in the previous
section, but users not concerned with leap seconds might easily skip
that whole topic; so let’s also include some `for` loops in the section
on date arrays, where they certainly belong.
2020-06-16 08:07:01 -04:00
Brandon Rhodes
a782987278
Fix all dangling cross references in the docs
2020-06-15 13:45:35 -04:00
Brandon Rhodes
ca0c5fd645
Stop using the Greek letter Δ when I really mean ∆
2020-06-07 17:43:17 -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
4fe491bbfb
Add attributes year, month, etc to `t.utc` objects
2020-05-24 15:05:32 -04:00
Brandon Rhodes
aabb29b57a
Use two floats for the TDB Julian date as well
2020-05-10 18:45:32 -04:00
Brandon Rhodes
2baa5d0b06
Fix #293 by keeping two TT floats inside each Time
...
More work will be necessary to carry through the extra precision
everywhere, but this is a start that addresses the most visible
manifestation of the previously low precision.
2020-05-10 13:19:47 -04:00
Brandon Rhodes
c7d04df0d7
More documentation on built-in time scale files
2019-07-22 09:02:09 -04:00
Richard Shaw
4e8db48d18
Support for CIRS coordinates ( #192 )
2018-09-05 16:55:37 -04:00
Brandon Rhodes
3e47aeb4c2
Add explanation of time precision to docs
...
Fixes #113 .
2018-05-19 17:01:46 -04:00
Brandon Rhodes
853d0e2172
Tweak docs for modern Python, NumPy formatting
...
This fixes several failing doctests, whose only differences are things
like whitespace and the number of decimal places displayed. These
outputs should be more stable now that I’ve pinned the versions of
Python and NumPy.
2018-04-15 18:46:29 -04:00
Brandon Rhodes
b3e74e7051
Avoid "'any' reference target not found" warning
2017-08-21 12:06:15 -04:00
Brandon Rhodes
aaf0855d5e
Fix tiny typo
2017-08-21 11:58:56 -04:00
Brandon Rhodes
37fe1f7f83
Document the range of `gmst` and `gast` attributes
2017-08-21 11:57:30 -04:00
Brandon Rhodes
e5ecd07ab3
Verbal tweaks made while reviewing documentation
2017-02-26 22:38:03 -05:00
Brandon Rhodes
1dab207b8b
Fix #93 with two documentation tweaks
2016-06-08 00:55:24 -04:00
Brandon Rhodes
bf5bbc0179
Experiment in making pretty index for API
2016-03-26 18:43:43 -04:00
Brandon Rhodes
36e59b2fa5
That thing I called ICRS? Yeah, totally the ICRF.
2016-03-25 11:29:25 -04:00
Brandon Rhodes
d1c77ad0c2
Rewrite time.rst docs for new Timescale API
2016-03-24 00:25:03 -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
13320838ab
Update documentation with new load.timescale()
2016-03-20 21:39:15 -04:00
Brandon Rhodes
953f999097
Remove "utc" parameter from JulianDate init
2016-02-23 20:34:39 -05:00
Brandon Rhodes
5b00dc5667
Remove @takes_julian_date from Body.at()
2016-02-23 12:47:19 -05:00
Brandon Rhodes
642c178453
Remove "delta_t" parameter from JulianDate()
2016-02-23 08:37:35 -05:00
Brandon Rhodes
82de3dc081
Remove module-level timelib.now() function
2016-02-22 09:30:40 -05:00
Brandon Rhodes
6769b6b39f
Add comments to clarify some code blocks
2015-11-02 00:19:16 -05:00
Brandon Rhodes
99448048ac
Fixes for Python 2.6 and Sphinx doctests
2015-10-19 00:23:42 -04:00
Brandon Rhodes
07f27a1327
Hide download progress bar during Sphinx doctests
2015-10-18 21:49:29 -04:00
Brandon Rhodes
0ca9273742
Begin switch to ephemeris['planet-name'] lookups
2015-10-17 00:13:48 -04:00
Brandon Rhodes
2a093f4e4d
Try rewriting `time.rst` to new API idea
2015-08-15 19:55:57 -07:00
Brandon Rhodes
59675cf216
Rename "AU" to "au" with a few warnings for users
2015-02-22 20:39:23 -05:00
Brandon Rhodes
32450bf7e6
Add notes about GAST and GMST to the docs
2015-01-26 14:51:30 -05:00
Brandon Rhodes
8bf91a7d63
Bring documentation up to date for 0.4 release
2014-11-23 16:23:25 -05:00
Brandon Rhodes
f047989aa3
Rename utc_datetime() since it keeps confusing me
...
This is a classic case of where I want a short pithy name for a
function, but I find that I keep misusing it over and over again. So,
with due trepidation, I am changing the name to describe its actual
return value. Will anyone be able to stand using Skyfield now?
2014-11-04 19:30:38 -05:00
Brandon Rhodes
3a79bcc8d3
Fix time.rst "print" statements for Python 3
2014-06-11 16:03:08 -04:00
Brandon Rhodes
b99e9ca4e2
Tweak the time.rst documentation page
...
Created greater symmetry between the single and multiple earth position
example, and improved the verbiage in a few other places.
2014-06-11 14:51:35 -04:00
Brandon Rhodes
f14c93d81c
Fix the link to the requirements.txt documentation
2014-06-11 14:38:11 -04:00
Christoph Deil
ae73177f8d
Use print function in examples (for Python 3 compatibility)
2014-05-29 23:51:40 +02:00
Brandon Rhodes
a5a0755230
Defer UTC computation to a single unified routine
2014-01-26 16:26:22 -05:00
Brandon Rhodes
5ac91f4a00
Fix two phrases in the Time document
2014-01-26 14:44:07 -05:00
Brandon Rhodes
c032dd03e2
Move "currentmodule" declarations after titles
2014-01-20 20:50:56 -05:00
Brandon Rhodes
24b4391ae8
Describe the matrices that a JulianDate can cache
2014-01-19 17:00:33 -05:00
Brandon Rhodes
3307d50098
Explain Delta T, and promise better support soon
2014-01-19 12:23:18 -05:00
Brandon Rhodes
e9605142a5
Explain the three uniform time scales
2014-01-19 11:26:51 -05:00
Brandon Rhodes
987ebd1e55
Explain using array JulianDates
2014-01-19 10:28:05 -05:00
Brandon Rhodes
25fedfc42b
Add quick reference to building Julian date object
2014-01-19 08:53:44 -05:00
Brandon Rhodes
57a0376cd1
Add `leap_second` return value for bad datetimes
2014-01-19 01:48:08 -05:00