From 0bd2fe6706ceb0f2a35de599156f2ddf8fa5252a Mon Sep 17 00:00:00 2001 From: lgolston <30876419+lgolston@users.noreply.github.com> Date: Wed, 13 Sep 2023 22:51:23 -0500 Subject: [PATCH] Edit typo --- README.rst | 4 ++-- orbit_predictor/utils.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 8f0b561..4a1dfb1 100644 --- a/README.rst +++ b/README.rst @@ -90,7 +90,7 @@ Currently you have available these sources How to contribute ----------------- -- Write pep8 complaint code. -- Wrap the code on 100 collumns. +- Write pep8 compliant code. +- Wrap the code on 100 columns. - Always use a branch for each feature and Merge Proposals. - Always run the tests before to push. (test implies pep8 validation) diff --git a/orbit_predictor/utils.py b/orbit_predictor/utils.py index a3f8e9a..5bda17c 100644 --- a/orbit_predictor/utils.py +++ b/orbit_predictor/utils.py @@ -402,7 +402,7 @@ def get_satellite_minus_penumbra_verticals(r, when_utc, r_p=R_E_MEAN_KM): The zeros of the function are only in the transitions from illuminated to penumbra (when going from positive to negative) and from penumbra to illuminated (when going from negative to positive). - BEWARE: it can have local minimuns with positive values. + BEWARE: it can have local minimums with positive values. Works for highly elliptical orbits too. The internals are the same as shadow function based on Algorithm 34 from Vallado, section 5.3.