Fix PCK rate computation
This commit is contained in:
parent
6f792c5865
commit
e8c25e1ae9
|
@ -292,7 +292,7 @@ You can ask for velocity as well.
|
|||
>>> print(r)
|
||||
[3.928e-02 3.878e-01 3.253e+03]
|
||||
>>> print(v)
|
||||
[2.318e-03 1.672e-04 9.177e-01]
|
||||
[6.707e-09 4.838e-10 2.655e-06]
|
||||
|
||||
Legacy Ephemeris Packages
|
||||
-------------------------
|
||||
|
|
|
@ -216,6 +216,7 @@ class Segment(object):
|
|||
|
||||
#rates = (dT.T * coefficients).sum(axis=2)
|
||||
rates = w0 + s * dw0 - dw1
|
||||
rates /= intlen / 2.0
|
||||
if scalar:
|
||||
rates = rates[:,0]
|
||||
|
||||
|
|
Loading…
Reference in New Issue