esa / pykep

PyKEP is a scientific library providing basic tools for research in interplanetary trajectory design.
http://esa.github.io/pykep/
GNU General Public License v3.0
335 stars 96 forks source link

JPL SPICE usage #48

Closed voldyy closed 8 years ago

voldyy commented 8 years ago

I understand that JPL SPICE has been integrated into the latest version of PyKEP. How do I call SPICE functions. For example, say I want to load in a .bsp file using str2et. Is it possible to call this function using any tools from PyKEP?

darioizzo commented 8 years ago

Docs are missing on the spice integration. Next update should take care of that.

In the meantime time you can look athttps://github.com/esa/pykep/blob/master/PyKEP/util/util.cpp And find the spice function or read the docs returned by python for the planet spice

darioizzo commented 8 years ago

Only ephemerides are exposed .... All other spice functions are not.

voldyy commented 8 years ago

Ok, thank you.