Brandon Rhodes
1bec4666f2
Fix CI: only run pyflakes if already installed
2020-07-09 15:02:52 -04:00
Brandon Rhodes
dbd2d3c9ec
Start running pyflakes locally again; and, fixes
2020-07-09 14:56:57 -04:00
Brandon Rhodes
fa8fdc2315
Remove internal round-trips through unit objects
2020-07-09 14:51:43 -04:00
Brandon Rhodes
3f2b8a6941
Have comet and minor planet orbits take GM as arg
...
This replaces the flawed design where GM is a hidden parameter, which
would put Skyfield in a bad position when a higher precision estimate
for GM became available: Skyfield would have had to choose between
keeping the old value for compatibility (maybe with a way to supply an
updated value instead), or updating the value and suddenly having the
new version of Skyfield give different results. Instead, each user’s
program will now make explicit its choice of constant.
2020-07-09 14:18:09 -04:00
Brandon Rhodes
c39c67a051
Move all MPC-specific knowledge into "mpc" module
2020-07-09 11:30:54 -04:00
Brandon Rhodes
f8af2591c5
Document minor planet orbits; many tweaks
2020-07-08 06:26:51 -04:00
Brandon Rhodes
8a0a60fd6a
Sample script for filtering the MPCORB file
2020-07-07 21:05:24 -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
b14185584e
Document how to generate a comet position
2020-07-07 14:15:04 -04:00
Brandon Rhodes
872583504c
Rewrite comet import with RE-powered CSV transform
...
Nearly as fast as the previous “fast” version, but (a) this one never
gets the wrong values in the wrong columns, and (b) it returns the full
names instead of the awkward packed designations.
2020-07-07 13:42:58 -04:00
Brandon Rhodes
b254335063
Fix #395 by making Time objects hashable
2020-07-02 12:47:07 -04:00
Brandon Rhodes
d67462be78
Fix docstring of Geocentric to name GCRS, not ITRF
2020-07-01 13:53:24 -04:00
Brandon Rhodes
ba1172a0cc
Add some TODO items inspired by a Stack Overflow Q
2020-07-01 12:29:25 -04:00
Brandon Rhodes
a59e0d8796
Use packed designation for minor planet target
2020-06-17 16:06:47 -04:00
Brandon Rhodes
0249ff9c68
Move unpacking into a separate function
2020-06-17 15:59:52 -04:00
Brandon Rhodes
393deb3df6
Try unpacking comet designation automatically
2020-06-17 15:50:17 -04:00
Brandon Rhodes
f24edc2c61
Give comet objects a string target as well
2020-06-17 15:09:35 -04:00
Brandon Rhodes
8cf61540c6
Use minor planet name as its "target" value
2020-06-17 12:23:51 -04:00
Brandon Rhodes
77564f8b23
Fix an unused import
2020-06-17 11:11:51 -04:00
Brandon Rhodes
733185e07e
First successful test of a minor planet position!
2020-06-17 11:06:11 -04:00
Brandon Rhodes
f9e854c029
Expand test to both comet import routines
2020-06-16 16:28:03 -04:00
Brandon Rhodes
32f4a86cf5
Also check comet distance in test
2020-06-16 15:37:49 -04:00
Brandon Rhodes
56d7656cbf
Also rotate velocity of Kepler position
2020-06-16 15:33:20 -04:00
Brandon Rhodes
ac19f76593
Factor ecliptic matrix building into a function
2020-06-16 15:17:03 -04:00
Brandon Rhodes
7b93ce0fc8
Switch test away from deprecated ".ix", to fix CI
2020-06-16 12:52:54 -04:00
Brandon Rhodes
c1904851dc
First tested round-trip of a comet position!
...
This also starts simplifying the keplerlib itself.
2020-06-16 12:44:48 -04:00
Brandon Rhodes
d4e83ce822
Rename the “horizons/” directory to “authorities/”
...
And add the directory’s first non-HORIZONS file; hence, the name change.
2020-06-16 12:38:15 -04:00
Brandon Rhodes
59b7319724
Remove some completed TODO items
2020-06-16 09:57:29 -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
8e03c8200c
Add changelog entry about TLE behavior
2020-06-16 07:26:42 -04:00
Brandon Rhodes
94a307a9fa
For #391 , set a very low bar for satellite names
...
Hopefully not too many users will get nonsense text as a result, and
hopefully those that do will see the option letting them avoid it.
2020-06-15 22:46:37 -04:00
Brandon Rhodes
9fe659a280
Add "spktype21" to dependencies needed under CI
2020-06-15 18:11:38 -04:00
Brandon Rhodes
7f74ff5578
Preliminary fix for #387 : documenting “spktype21”
2020-06-15 15:22:11 -04:00
Brandon Rhodes
a782987278
Fix all dangling cross references in the docs
2020-06-15 13:45:35 -04:00
Brandon Rhodes
063ffb351c
Script to detect broken Sphinx cross references
2020-06-15 13:41:03 -04:00
Brandon Rhodes
f4a6cd5996
Some light editing of the Positions page
2020-06-15 12:36:47 -04:00
Brandon Rhodes
4b00b17a39
Add a CHANGELOG item about step_days
2020-06-15 11:29:35 -04:00
Brandon Rhodes
afb51ccfb0
Reduce example's precision to save CI
2020-06-15 10:48:02 -04:00
Brandon Rhodes
4bde096e6e
Rework extrema API to also use `step_days`
2020-06-15 10:27:41 -04:00
Brandon Rhodes
e50838bfe6
Remove awkward "rough_period" discrete search API
2020-06-15 09:27:27 -04:00
Brandon Rhodes
c10e740159
Replace raw einsum() with more meaningful calls
2020-06-12 18:29:30 -04:00
Brandon Rhodes
7e2fc1919f
Make matrix, vector multiply functions public
2020-06-12 14:18:08 -04:00
Brandon Rhodes
56f1ada71f
Make ecliptic_xyz() safe for deep broadcasting
2020-06-12 14:01:24 -04:00
Brandon Rhodes
a304fc411a
Remove unused import
2020-06-12 11:31:06 -04:00
Brandon Rhodes
14356ac986
Give EarthSatellite builtin timescale by default
...
Earth satellites used to use a timescale without leap seconds to
represent the epoch, which caused problems when users tried using that
date in calculations, so a `ts` parameter was added to the constructor.
But now that Skyfield has the concept of builtin leap second files,
let’s switch Earth satellites to those if no `ts` is passed.
2020-06-12 11:21:31 -04:00
Brandon Rhodes
0c86b6d568
Remove several unused imports
2020-06-11 13:23:20 -04:00
Brandon Rhodes
edd79543e5
Make separation_from() faster and more accurate
...
Josh Patterson supplied this `angle_between()` based on a W. Kahan
floating-point accuracy paper (which Josh helpfully linked in his
docstring; I had been looking for the paper last week and now will be
able to consult it!), so let’s eliminate a few of its redundant
calculations and make it the logic behind `separation_from()`.
2020-06-11 13:13:57 -04:00
Brandon Rhodes
48073d95b9
Speedup satellite at() by abandoning NumPy cross()
2020-06-11 12:21:15 -04:00
Brandon Rhodes
c0dd3d7517
Fix a pyflakes complaint
2020-06-10 13:51:53 -04:00