Skip to content

hkraemer/PECUZAL_Matlab

Repository files navigation

PECUZAL Matlab

We introduce the PECUZAL automatic embedding of time series method for Matlab. It is solely based on the paper [kraemer2021] (Open Source), where the functionality is explained in detail. Here we give an introduction to its easy usage in three examples. Enjoy Embedding!

https://github.com/hkraemer/PECUZAL_Matlab/raw/main/icon.webp

Getting started

There are two ways of using the proposed PECUZAL method:

  • Install as Toolbox. This is the easiest way and allows the usage of the the function pecuzal_embedding.m independently from your current working directory. It gets treated as a built-in Matlab-function and you do not have to copy any files etc. For this simply download the 'pecuzal-embedding.mltbx' from this repository or from Matlab-Central and double-click pecuzal-embedding.mltbx for installation. That's it.
  • You can also download this repository and copy the folder into the MATLAB user's directory. This is usually the user's "Documents" folder appended with "MATLAB" (you can find out using the function userpath). Add the toolbox by the addpath command, e.g., addpath ~/Documents/MATLAB/PECUZAL_Matlab on a Linux system. For everyday use, copy this command to a startup.m file in the MATLAB user's directory.

NOTE

For performance reasons we recommend to use the implementation in the Julia language, in order to get fast results, especially in the multivariate case. Moreover, it is well documented and embedded in the DynamicalSystems.jl ecosystem. The computation times can be magnitudes higher than in the Julia implementation.

Documentation and basic usage

There is a documentation and a Matlab Live-Script available including some basic usage examples.

Citing and reference

If you enjoy this tool and find it valuable for your research please cite

[kraemer2021]Kraemer et al., "A unified and automated approach to attractor reconstruction", New Journal of Physics 23(3), 033017. doi:10.1088/1367-2630/abe336 (2021).

or as BiBTeX-entry:

 @article{Kraemer2021,
doi = {10.1088/1367-2630/abe336}, url = {https://doi.org/10.1088/1367-2630/abe336}, year = 2021, month = {mar}, publisher = {{IOP} Publishing}, volume = {23}, number = {3}, pages = {033017}, author = {K H Kraemer and G Datseris and J Kurths and I Z Kiss and J L Ocampo-Espindola and N Marwan}, title = {A unified and automated approach to attractor reconstruction}, journal = {New Journal of Physics}, abstract = {We present a fully automated method for the optimal state space reconstruction from univariate and multivariate time series. The proposed methodology generalizes the time delay embedding procedure by unifying two promising ideas in a symbiotic fashion. Using non-uniform delays allows the successful reconstruction of systems inheriting different time scales. In contrast to the established methods, the minimization of an appropriate cost function determines the embedding dimension without using a threshold parameter. Moreover, the method is capable of detecting stochastic time series and, thus, can handle noise contaminated input without adjusting parameters. The superiority of the proposed method is shown on some paradigmatic models and experimental data from chaotic chemical oscillators.}

}

Licence

This is program is free software and runs under MIT Licence.