Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add python bindings for QED library 🐍 (#20)
* improve table_generator * Update multi_physics/QED/QED_table_generator/table_generator.cpp Co-authored-by: Neïl Zaim <[email protected]> * Update multi_physics/QED/QED_table_generator/table_generator.cpp Co-authored-by: Neïl Zaim <[email protected]> * Update multi_physics/QED/QED_table_generator/table_generator.cpp Co-authored-by: Neïl Zaim <[email protected]> * Update multi_physics/QED/QED_table_generator/table_generator.cpp Co-authored-by: Neïl Zaim <[email protected]> * Update multi_physics/QED/QED_table_generator/table_generator.cpp Co-authored-by: Neïl Zaim <[email protected]> * move MAX_CMD_SIZE * add default values for optional parameters * check for duplicated arguments * add wrappers to stod and stoi to check if conversion succeeds * initial work to add python bindings to the library * progress with python bindings * added CMakeLists.txt for python bindings * Mark pure getters as const * further progress towards python bindings * completed python bindings for chi functions * added python bindings for schwinger pair production * added optical depths to python bindings * added lookup table parameters to python bindings * now table params have __repr__ method * added BW lookup tables to python bindings * added interp methods to python bindings * added BW optical depth evolution to python bindings * added optical depth evolution for QS in python bindings * added demo script for python bindings * removed binary file accidentally ended up in git * removed binary file accidentally ended up in git * install pybind11 in CI * fixed bug * added Breit-Wheeler pair production * removed trailing spaces * added QS photon emission to python bindings * updated demo script * updated structure * fixed compilation with units != SI * added plenty of comments * updated CI * fix CI * Update multi_physics/QED/python_bindings/CMakeLists.txt Co-authored-by: Axel Huebl <[email protected]> * Update multi_physics/QED/python_bindings/CMakeLists.txt Co-authored-by: Axel Huebl <[email protected]> * Update multi_physics/QED/python_bindings/CMakeLists.txt Co-authored-by: Axel Huebl <[email protected]> * implement Axel's suggetion (can't do that on github) * use 2.6 instead of 2.6.0 as version * reduce version from 2.6 to 2.4! * use version 2.6 and try pybind11 installation with pip * using pybind11[global] * fixed installation directory * Update multi_physics/QED/python_bindings/pxr_qed.cpp Co-authored-by: Neïl Zaim <[email protected]> * Update multi_physics/QED/python_bindings/pxr_qed.cpp Co-authored-by: Neïl Zaim <[email protected]> * Update multi_physics/QED/python_bindings/pxr_qed.cpp Co-authored-by: Neïl Zaim <[email protected]> * Update multi_physics/QED/python_bindings/pxr_qed.cpp Co-authored-by: Neïl Zaim <[email protected]> * fix bug concerning qs_photon_emission_lookup_table_params constructor in python bindings * add missing parameter * Update multi_physics/QED/python_bindings/pxr_qed.cpp Co-authored-by: Neïl Zaim <[email protected]> * Update multi_physics/QED/python_bindings/pxr_qed.cpp Co-authored-by: Neïl Zaim <[email protected]> * Update multi_physics/QED/python_bindings/pxr_qed.cpp Co-authored-by: Neïl Zaim <[email protected]> Co-authored-by: Neïl Zaim <[email protected]> Co-authored-by: Axel Huebl <[email protected]>
- Loading branch information