Improved performance of Neptune apsis search.

The apsis search for Neptune was sampling 1000 points
in its first pass. It turns out 100 is enough.
This commit is contained in:
Don Cross
2020-01-07 11:57:54 -05:00
parent 7afdd4b7e1
commit ec6a82b133
6 changed files with 6 additions and 6 deletions

View File

@@ -5383,7 +5383,7 @@ def _SearchNeptuneApsis(startTime):
t1 = startTime.AddDays(_NEPTUNE_ORBITAL_PERIOD * ( -30 / 360))
t2 = startTime.AddDays(_NEPTUNE_ORBITAL_PERIOD * (+270 / 360))
t_min = t_max = t1
npoints = 1000
npoints = 100
interval = (t2.ut - t1.ut) / (npoints - 1)
for i in range(npoints):