JuliaDynamics / FractalDimensions.jl

Estimating the fractal dimension of timeseries or multidimensional datasets
MIT License
10 stars 3 forks source link

Slope estimation using distribution of all possible slopes #19

Open Datseris opened 1 year ago

Datseris commented 1 year ago

A recent publication showed an alternative way to automate extracting a slope from a curve y(x). The reference is:

Deshmukh et al., Toward automated extraction and characterization of scaling regions in dynamical systems, Chaos 31, 123102 (2021).

this method is very promising and should be implemented here. In v1.5 (#18 ) we added an extendable interface for adding new methods of extracting the slope of a linear scaling region of the curve y(x). We've also added a placeholder type for this new method.

Now someone has to read the paper in more detail and add the method here via a PR!

Also cc'ing the first author of the paper that has implemented the method in Python: @vrd1243

(Python implementation: https://github.com/vrd1243/scaling_regions_ensemble )

Datseris commented 1 year ago

Finishing the code is as simple as finishing this function:

https://github.com/JuliaDynamics/FractalDimensions.jl/blob/d48935d4fd896f8f526314f90b180fd36a0980b3/src/linear_fits/slopes_distribution.jl#L20-L22

vrd1243 commented 1 year ago

Thanks for initiating this @Datseris! I am happy to provide support on getting this implemented into Julia!