Closed eguaio closed 4 years ago
One test failed only in Python 3.8 for reasons unrelated to this PR.
Unfortunately there's no wheel for numba on Python 3.4. Therefore, we'll have to:
pip install ... .[dev]
on Python 3.4Oh, you already did the latter! Merging :shipit:
Add a generator of eclipses dates to the predictors. The
shadow
function inutils
is artificially adapted to get a continuous function (get_satellite_minus_penumbra_verticals
) that is positive in illumination phase and negative in eclipses (umbra and penumbra). The function has a local minimum in the eclipse, but can also have local minimum in the illuminated phase. That function is later used ineclipses_since
method ofpredictors
to quickly search the eclipses times. This is done in two steps: