-
Notifications
You must be signed in to change notification settings - Fork 9
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
Python interface for the propagator engine #428
Comments
A good option would be to "declare" the gundam classes to ROOT since that will make the classes available to python. It probably requires refactoring some of the top level classes though. |
I guess this would mean inheritance addition to each GUNDAM class right? This I would like NOT to do 😅 |
As far as I know, that hasn't been necessary for a long time. The class needs to be "in a shared library" and you need to build a dictionary (also part of the shared library), but there are basically no changes needed for the class. Using the class for I/O requires a little more finess, and a bare class won't show up in the browser (AFAIK), but it should be usable from python (and ROOT macro files). |
As many people use Python nowadays, having a python module that would load the GUNDAM engine within its core.
A possible implementation would be: https://www.matecdev.com/posts/cpp-call-from-python.html
Such a tool might be developped in an experimental branch of GUNDAM
The text was updated successfully, but these errors were encountered: