Improve the SWIG API to the Fit module
The SWIG API to the Fit
module is revised completely to make the minimizer's call to Python functions and conversion of results more explicit.
Auxiliary functions are added to call a Python callable with a Parameters
instance and convert the result to double
or a C++ std::vector
as required.
The Python extension to the Minimizer
class is updated and improved.
The unneeded PyCallback
C++ class and ParametersIterator
Python class are removed.
Edited by Ammar Nejati
Merge request reports
Activity
Filter activity
assigned to @a.nejati
added 8 commits
- 23e1e9c4 - libBornAgainFit.i: add aux. functions to call a Python callable and convert...
- ec06eef1 - libBornAgainFit.i: upd the Python extention to Minimizer::minimize
- 4ae49f83 - Minimizer: rm unneeded overloaded method
- 13c93717 - libBornAgainFit.i: clean up
- 0841e3fc - Minimizer: add enum to denote the type of the Python callable
- 79c31c8f - SwigLib.cmake: no SWIG wrapper header is produced after the changes
- 307bd009 - rm unneeded PyCallback
- fb1e09d4 - SWIG API: update
Toggle commit listadded 9 commits
- b27f20a8 - libBornAgainFit.i: Minimizer: minor improvements
- 33b3fc85 - libBornAgainFit.i: add aux. functions to call a Python callable and convert...
- d95992e8 - libBornAgainFit.i: upd the Python extention to Minimizer::minimize
- 4e90d531 - Minimizer: rm unneeded overloaded method
- d23f3827 - libBornAgainFit.i: clean up
- 7f036bd1 - Minimizer: add enum to denote the type of the Python callable
- 80e3e113 - SwigLib.cmake: no SWIG wrapper header is produced after the changes
- a718ed2d - rm unneeded PyCallback
- feb6e8d4 - SWIG API: update
Toggle commit listrequested review from @j.wuttke
added 9 commits
- 3d1a9753 - Minimizer: add enum to denote the type of the Python callable
- cae0ec90 - libBornAgainFit.i: add aux. functions to call a Python callable and convert...
- f6badc13 - libBornAgainFit.i: upd the Python extention to Minimizer::minimize
- d1e4cbb4 - Minimizer: rm unneeded overloaded method
- 4357b407 - libBornAgainFit.i: clean up
- e060cb3e - libBornAgainFit.i:Minimizer: store the Python callables internally
- 087c18f4 - SwigLib.cmake: no SWIG-wrapper header is produced after the changes
- e5651cf7 - rm unneeded PyCallback
- ce68a550 - SWIG API: update
Toggle commit listadded 15 commits
-
ce68a550...a75794c2 - 2 commits from branch
main
- a75794c2...1dfeadcb - 3 earlier commits
- ced8808d - libBornAgainFit.i: Minimizer: minor improvements
- 24201988 - Minimizer: add enum to denote the type of the Python callable
- 47125b7d - libBornAgainFit.i: add aux. functions to call a Python callable and convert...
- d689779f - libBornAgainFit.i: upd the Python extention to Minimizer::minimize
- 7bc3e6ec - Minimizer: rm unneeded overloaded method
- d977abdc - libBornAgainFit.i: clean up
- ca693e9d - libBornAgainFit.i:Minimizer: store the Python callables internally
- 2f7ed574 - SwigLib.cmake: no SWIG-wrapper header is produced after the changes
- 50e6f57e - rm unneeded PyCallback
- b94f9017 - SWIG API: update
Toggle commit list-
ce68a550...a75794c2 - 2 commits from branch
- Resolved by Ammar Nejati
added 34 commits
-
b94f9017...a2ff54cd - 22 commits from branch
main
- a2ff54cd...4418ae9d - 2 earlier commits
- df1e4da4 - libBornAgainFit.i: clean up
- e2e209ef - libBornAgainFit.i: Minimizer: minor improvements
- bb8f477d - libBornAgainFit.i: add aux. functions to call a Python callable and convert...
- be7fa72c - libBornAgainFit.i: upd the Python extention to Minimizer::minimize
- d17a5d9b - libBornAgainFit.i:Minimizer: extend the class to accept a Python callback
- 029bf0dd - libBornAgainFit.i: clean up
- 8ab37d2b - Minimizer: rm unneeded overloaded method
- 971bf4f2 - SwigLib.cmake: no SWIG-wrapper header is produced after the changes
- 80a9655f - rm unneeded PyCallback
- 6515fce0 - SWIG API: update
Toggle commit list-
b94f9017...a2ff54cd - 22 commits from branch
added 1 commit
- f8d94fde - Minimizer: add a note on the new mechanism to accept a Python function as minimization objective
added 8 commits
- fe61ea9f - libBornAgainFit.i: upd the Python extension to Minimizer::minimize
- 6306227e - libBornAgainFit.i:Minimizer: extend the class to accept a Python callback
- ea107cb6 - libBornAgainFit.i: clean up
- 1a75b630 - Minimizer: rm unneeded overloaded method
- 355d1d68 - Minimizer: add a note on the new mechanism to accept a Python function as minimization objective
- c2d67a16 - SwigLib.cmake: no SWIG-wrapper header is produced after the changes
- 9b4c0577 - rm unneeded PyCallback
- 23e2c0a8 - SWIG API: update
Toggle commit list
Please register or sign in to reply