Alexandre Kabla
Alexandre Kabla
This has been done for data generation. Pushed to next version for in-place processing.
The use of Unicode symbols makes it more complicated to call RHEOS from the Python REPL. The epsilon symbol seems in particular to be problematic for some reason. ``` >>>...
Here is a Python code sample that works fine so far. Translation to unicode is in place. Modelfit takes parameters as dictionary too which are better integrated with python. getparams...
Rather than adding keywords in functions such as getparams to provide dictionaries for python users, it may be simpler to include helper functions that can easily and convert namedtuples and...
Function taking symbols as parameters should also accept strings, see `modelfit` for instance. 20bd63b6407acf0ac5d51f417c32db95c66a57e8
`strainfunction` and similar take a function as parameter. Not sure how these could be ported easily. Probably best to get array in Numpy and add it to the `RheoTimeData` directly.
There are currently issues with Python 3.9. https://github.com/JuliaPy/pyjulia/issues/444 I confirm I can't get it to work on my new linux install with Python 3.9.7 and Julia 1.6.2. Reverting to 3.8...
Here is a test repo for Binder that installs what's needed for Rheos with Python. It takes a long time to start though. https://github.com/akabla/BinderTest [](https://mybinder.org/v2/gh/akabla/BinderTest/HEAD?filepath=InstallJulia.ipynb)
I agree that we should set our own Exception class just for clarity. To get a message out, the 'error' function should also do the job though.
Here is a package to explore for fractional derivatives: https://github.com/JuliaApproximation/ApproxFun.jl/blob/master/src/Extras/fractional.jl See also: https://discourse.julialang.org/t/is-there-a-package-for-fractional-calculus/19702/6