Orekit Variables Explorer in Spyder

Hi everyone (and Petrus !),

I’m new on orekit python and I’d like to explore my variables (for exemple KeplerianOrbit) in order to see my parameters without performing a prit of the varaible.

The variable explorer Spyder is not able to explore them by default.

Thank you in advance,

Hi Adelalla!

And welcome to the orekit forum! :slight_smile:

I think what you are looking for is what is called docstrings in Python, and javadoc in java. This is unfortunately not available in orekit for python. The variables themselves you should be able to see in spyder, but not the more verbal description of the class type and parameters for methods etc.

This is something I would like to have in future versions of orekit for python but it requires a significant change of architecture in orekit that is not yet ready.


1 Like

Thank you Petrus for this answer,

I just implemented some function in order to translate orekit Objects in floats & strings.

It’s working well for my usage !