Skip to content
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

Astroquery Interface (combining pybind11 with native python modules) #82

Closed
sbcowan opened this issue Nov 30, 2022 · 1 comment
Closed

Comments

@sbcowan
Copy link
Contributor

sbcowan commented Nov 30, 2022

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.

@DominicDirkx
Copy link
Member

Added in #110 and #112

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants