Introduction#
This package implements wavelet based multifractal analysis of 1D signals.
Implemented features:
Computation of (1D) multiresolution quantities: wavelet coefficients, wavelet-leaders and p-leaders
Computation of structure functions, cumulants and log-cumulants.
Estimation of the multifractal spectrum.
The code in this package is based on the Wavelet p-Leader and Bootstrap based MultiFractal analysis (PLBMF) Matlab toolbox written by Patrice Abry, Herwig Wendt and colleagues. For a thorough introduction to multifractal analysis, you may access H. Wendt’s PhD thesis available in his webiste.
For a brief introduction to multifractal analysis, see the file THEORY.ipynb
There are two ways to install this package: either by using a package manager to install the package only, which will make the code only usable as an import, or by cloning the repository first, and then installing the package which will make it editable
Installing the package only#
wget https://raw.githubusercontent.com/neurospin/pymultifracs/master/env.yml
conda env update -f env.yml --name $ENVNAME
Using pip#
pip install git+https://github.com/neurospin/pymultifracs
Cloning the whole repository (including examples)#
git clone https://github.com/neurospin/pymultifracs
pip install -e pymultifracs
For examples to get started, look into the example/ folder