project8 / katydid

Project 8 data analysis package
Other
5 stars 4 forks source link

framework interface expansion #87

Open laroque opened 7 years ago

laroque commented 7 years ago

(Note, this issue is connected to nymph issue 7)

There has been some renewed discussion of adding the ability to interface with katydid's classes in an interactive way, ideally via python. I found the following demo of boost's python interface which may provide a good way to go about implementing this. Should investigate viability

This one looked promising but didn't work on the first try: https://www.preney.ca/paul/archives/107

This one did work: https://feralchicken.wordpress.com/2013/12/07/boost-python-hello-world-example-using-cmake/

Lessons learned:

Questions:

laroque commented 7 years ago

More complete examples including working in classes, can be found here: https://wiki.python.org/moin/boost.python

laroque commented 7 years ago

Some new notes (perhaps this thing should break into smaller issues):

New questions I'm thinking about:

laroque commented 7 years ago

Some very helpful insights here: http://stackoverflow.com/questions/30463563/boostpython-class-with-function-templates-how-to-add-instances-from-the-outsi

And here: http://stackoverflow.com/questions/5357411/export-template-function

laroque commented 7 years ago

yet another link to keep track of: https://skebanga.github.io/embedded-python/