tudat-team / tudatpy

A Python platform to perform astrodynamics and space research.

Home Page:https://tudat-space.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Astroquery Interface (combining pybind11 with native python modules)

sbcowan opened this issue · comments

With the interest in adding an interface with Astroquery, a TudatPy module needs to contain both exposed C++ code (from Tudat) and native python code (from Astroquery).

Using something similar to scikit_build_example makes this possible. When cloned, you can add C++ functions to files in the src/ directory and use pybind to expose them. You can also add native python code to the src/scikit_build_example/ directory. Subsequently, when building with pip (as instructed by the README.md), you can open python, import scikit_build_example, and use pybind and native methods seamlessly.

The issue is that the build methodology used by the scikit repo is different than that of tudatpy, and this needs to be investigated to allow for an Astroquery interface.

Added in #110 and #112