RHEOS.jl icon indicating copy to clipboard operation
RHEOS.jl copied to clipboard

Fitting via differential equations

Open moustachio-belvedere opened this issue 5 years ago • 3 comments

Proof of concept already done many months ago. To implement:

  • [ ] improve fractional derivative algorithm (use Podlubny book) and add tests
  • [ ] Implement LHS and RHS operator function/structures for each RheoModelClass that can be applied to the data
  • [ ] Write the modeldiffeqfit functions

moustachio-belvedere avatar Sep 24 '19 11:09 moustachio-belvedere

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

akabla avatar Jul 22 '21 15:07 akabla

I had another look at the link, I'm not sure the approach will work for us directly as it seems to require the function to be an actual Julia function (that is smooth) and then approximates that, presumably at Chebyshev nodes. Happy to be wrong on that though.

At the very least, we can write some test functions in Julia, compute them on a range of values, and compare our numerical approach with the above. So, still useful there. Maybe that's what you intended already?

Edit: the above might be useful for testing our numerical algorithms against functions we can't analytically find fractional derivative of.

moustachio-belvedere avatar Jul 29 '21 17:07 moustachio-belvedere

Thanks Louis. You're right, probably not the way to go for sampled data. As you said, it may be useful if we need to differentiate some of the moduli functions.

akabla avatar Jul 29 '21 20:07 akabla