You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose I have written a function in Fortran depending on some parameters I want to fit to data with scipy.optimize.curve_fit. How do I use this function as argument to a Python method?
I tried setitem with the function name and casting it to a Python object, but neither work in this case.
The text was updated successfully, but these errors were encountered:
You can write a Python extension module that contains a wrapper to your function (see readme). You can email me if you have questions about doing that. I do not know if it is possible to implement a simpler way in forpy, similar to what you tried, I'd have to think about it more.
Suppose I have written a function in Fortran depending on some parameters I want to fit to data with scipy.optimize.curve_fit. How do I use this function as argument to a Python method?
I tried setitem with the function name and casting it to a Python object, but neither work in this case.
The text was updated successfully, but these errors were encountered: