Closed vishwa2710 closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 81.78%. Comparing base (
b40541c
) to head (ceeda22
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
In this MR, we add the concept of a
central celestial object
to the Environment, and additionally create a "global" environment instance which is a singleton. This is to simplify the instantiation of several objects in OSTk Physics, Astro and Simulation which typically operate for a central celestial object.Like in simulation toolkits, where you specify your environment and then conduct your analysis, we can now create an Environment and set it to global. This environment will then be used as required by various functions. We still retain the ability to provide celestial specific parameters, if we want to override the global environment. Therefore this is a backwards compatible change.
We can instantiate orbits similarly and convert COEs etc. using these defaults.