Best practice for retrieving Dependent Variables from an ObservationCollection #108
luigigisolfi
started this conversation in
Tudatpy User Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I am working on simulating observations and have successfully attached dependent variables (specifically Azimuth and Elevation) to my simulation settings. My setup looks essentially like this:
After simulating the observations and getting the resulting ObservationCollection, I want to extract the actual values of these dependent variables in my script.
Currently, I am passing the setting objects back into the
dependent_variablemethod of the collection. If I am in a different scope (or script) than where they were defined, I have to re-instantiate identical setting objects to use as keys (see also user guide https://docs.tudat.space/en/latest/user-guide/state-estimation/observation-simulation/observation-collection-manipulation/dependent-variables.html):My doubt is: it feels slightly redundant to re-create the settings object just to query the collection.
Is there a way to retrieve a list of available dependent variables directly from the ObservationCollection, or access these values using a simpler identifier rather than the full settings object?
Beta Was this translation helpful? Give feedback.
All reactions