Sun observer angle calculation (or solar probe angle) #188
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
New feature: computation of the sun angle between an observer (e.g. a probe) and another celestial object (e.g. the primary body that probe orbits). This allows the computation of the Sun-probe-Earth angle, for example, if the observer is the probe and the target is the primary body it orbits.
Architectural Changes
No change
New Features
sun_angle_deg_from_frames
function signaturesImprovements
No change
Bug Fixes
No change
Testing and validation
gmat-hermite.bsp
file, which contains ~ 3 hours of Earth centered propagation, the computation of the SPE is (almost) exactly 90 degrees greater than the Sun elevation at the point exactly nadir of the spacecraft at a geodetic height of zero kilometers. An error of 0.05 degrees is acceptable because the SPE does not account for the flattening of the Earth but the elevation does since it's computed from the latitude and longitude in the IAU Earth frame, which accounts for that flattening ratio.Documentation
This PR does not primarily deal with documentation changes.