All Projects → stfbnc → fathon

stfbnc / fathon

Licence: GPL-3.0 license
python package for DFA (Detrended Fluctuation Analysis) and related algorithms

Programming Languages

cython
566 projects
python
139335 projects - #7 most used programming language
c
50402 projects - #5 most used programming language
TeX
3793 projects

Projects that are alternatives of or similar to fathon

MFDFA
Multifractal Detrended Fluctuation Analysis in Python
Stars: ✭ 62 (-21.52%)
Mutual labels:  multifractal-analysis, detrended-fluctuation-analysis
Regex
An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
Stars: ✭ 2,125 (+2589.87%)
Mutual labels:  dfa
sensitive-word
👮‍♂️The sensitive word tool for java.(基于 DFA 算法实现的高性能 java 敏感词工具框架。请勿发布涉及政治、广告、营销、翻墙、违反国家法律法规等内容。)
Stars: ✭ 294 (+272.15%)
Mutual labels:  dfa
fauton
An ecosystem of packages to work with automaton and parsers (dfa/nfa/e-nfa/regex/cfg/pda)
Stars: ✭ 36 (-54.43%)
Mutual labels:  dfa
ACT DFAPlugin
FFXIV Duty Finder Assist for ngld/OverlayPlugin
Stars: ✭ 48 (-39.24%)
Mutual labels:  dfa
AALpy
An Active Automata Learning Library Written in Python
Stars: ✭ 60 (-24.05%)
Mutual labels:  dfa
dregex
Dregex is a JVM library that implements a regular expression engine using deterministic finite automata (DFA). It supports some Perl-style features and yet retains linear matching time, and also offers set operations.
Stars: ✭ 37 (-53.16%)
Mutual labels:  dfa
1c http
Подсистема 1С для работы с HTTP
Stars: ✭ 48 (-39.24%)
Mutual labels:  dfa
compiler lab
Some toy labs for compiler course
Stars: ✭ 49 (-37.97%)
Mutual labels:  dfa
visual-automata
Visual Automata is a Python 3 library built as a wrapper for the Automata library to add more visualization features.
Stars: ✭ 55 (-30.38%)
Mutual labels:  dfa
easybuild-framework
EasyBuild is a software installation framework in Python that allows you to install software in a structured and robust way.
Stars: ✭ 117 (+48.1%)
Mutual labels:  scientific-software
easybuild-easyblocks
Collection of easyblocks that implement support for building and installing software with EasyBuild.
Stars: ✭ 83 (+5.06%)
Mutual labels:  scientific-software
cca zoo
Canonical Correlation Analysis Zoo: A collection of Regularized, Deep Learning based, Kernel, and Probabilistic methods in a scikit-learn style framework
Stars: ✭ 103 (+30.38%)
Mutual labels:  dcca

fathon Linux macOS Windows

PyPI version Python 3.7+

Issues GitHub stars GitHub forks

DOI DOI

fathon is a python package for DFA (Detrended Fluctuation Analysis) and related algorithms.

It is mostly written in Cython and C in order to speed up computations.

fathon provides five main algorithms, namely

  • DFA (Detrended Fluctuation Analysis)
  • MFDFA (Multifractal Detrended Fluctuation Analysis)
  • DCCA (Detrended Cross-Correlation Analysis)
  • MFDCCA (Multifractal Detrended Cross-Correlation Analysis)
  • HT (Time-dependent Hurst exponent)

MFDFA and MFDCCA also provides methods for the mass exponent τ and the multifractal spectrum f(α).

DCCA has methods to compute the cross-correlation coefficient ρ_DCCA and the corresponding confidence intervals.

Supported platforms

Linux x86_64 Linux ARM64 macOS x86_64 macOS ARM64 Windows 64bit

Prerequisites

  • Python 3.7 or higher
  • numpy (version >= 1.22)

Installing

As easy as pip install fathon

Examples

A jupyter notebook can be used (fathon_example.ipynb) to play with the five algorithms provided by the fathon package.

If you cannot use the notebook, five Python scripts are provided, dfa.py, mfdfa.py, dcca.py, mfdcca.py, and ht.py.

Algorithms are implemented on two time series of gaussian white noise, but you can replace them with any time series you like.

Documentation Documentation Status

API documentation

Contributing

To report bugs or improvements, or for any other question, please see CONTRIBUTING.md.

Credits

If you are using fathon in your research, please cite:

Bianchi, S., (2020). fathon: A Python package for a fast computation of detrendend fluctuation analysis and related algorithms. Journal of Open Source Software, 5(45), 1828, https://doi.org/10.21105/joss.01828

Changelog

v1.3.2

  • unbiased version of DFA, as described here

v1.3.1

  • faster algorithms

v1.3

  • MFDCCA algorithm
  • overlap option for DCCA, to allow using both overlapping and non-overlapping windows
  • OpenMP also for Windows

v1.2

  • few adjustments to C extensions for Windows' C compiler compatibility

v1.1

  • save object state to binary file and reload it later

v1.0

  • wheels! 🎡🎡
  • no more pre-installing step of the GSL library 🎉🎉
  • window's sizes array must be now passed to all the methods
  • logBase option for methods that perform fits
  • verbose option
  • pre-computed hq0 can be now passed to the computeHT method

v0.1.2

  • first release

Author

  • Stefano Bianchi

License GPLv3 License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

This code uses GSL which is licensed under the GNU General Public License v3.0, and can be obtained at https://www.gnu.org/software/gsl/.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].