-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add covariance propagation / mapping via sampling #82
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No substantial feedback on the approach. Just some comments on variables/typing and some updated doc strings.
orbit_ids_idx | ||
] | ||
|
||
ephemeris = Ephemeris.from_kwargs( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like we are retyping this variable multiple times? First whatever comes back from pyoorb, then a 2D numpy array, and now our Ephemeris / VariantEphemeris classes. Can we split them out into separate variables? Especially from mutable to immutable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Spit it into ephemeris_array_3D
, ephemeris_array
, ephemeris
, and variant_ephemeris
(last two being the qv tables) .
5bd3584
to
9e91de2
Compare
46d1706
to
8f7d9a4
Compare
9e91de2
to
892d076
Compare
…orbits and Propagator.generate_ephemeris
Remove variable shadowing in PYOORB._generate_ephemeris while we are at it Co-authored-by: Alec Koumjian <[email protected]>
892d076
to
905b550
Compare
This is based on #81. Similar to propagating orbital covariances, this PR allows orbital covariances to be mapped to ephemerides via sampling.
For the time-being I have set the default method to monte-carlo, the sigma point code needs to be investigated for optimal parameter selection. There was an array shape bug that was fixed in d9dab91, that I think impacts the way the random draws were working.