-
Notifications
You must be signed in to change notification settings - Fork 116
Description
Hi,
during the years, the code grew with several places for almost the same calculations.
just two examples:
https://github.com/aerospaceresearch/orbitdeterminator/blob/master/orbitdeterminator/kep_determination/gauss_method.py#L100-L135
https://github.com/aerospaceresearch/orbitdeterminator/blob/master/orbitdeterminator/kep_determination/gauss_method.py#L552-L640
and
https://github.com/aerospaceresearch/orbitdeterminator/blob/master/orbitdeterminator/kep_determination/orbital_elements.py
maybe there are even more.
it is time to clean that up a bit, make them more universal, and find a better place for it.
so the tasks are:
identify the different duplicates.
find a better, central location
implement an universal approach (by calling them, by naming convention and more.
testing them that they keep the expected results.