Skip to main content

Determine fractal order by the ADF test

Project description

PyPI version numpy-fracadf Total alerts Language grade: Python deepcode

numpy-fracadf

Determine fractal order by the ADF test

Installation

The numpy-fracadf git repo is available as PyPi package

pip install numpy-fracadf
pip install git+ssh://git@github.com/ulf1/numpy-fracadf.git

Usage

from numpy_fracadf import fracadf2
d = fracadf2(X, tau=1e-4, mmax=527)

Check the examples folder for notebooks.

Appendix

Install a virtual env

python3.6 -m venv .venv
source .venv/bin/activate
pip3 install --upgrade pip
pip3 install -r requirements.txt
pip3 install -r requirements-dev.txt
pip3 install -r requirements-demo.txt

Python commands

  • Jupyter for the examples: jupyter lab

  • Check syntax: flake8 --ignore=F401 --exclude=$(grep -v '^#' .gitignore | xargs | sed -e 's/ /,/g')

Publish

pandoc README.md --from markdown --to rst -s -o README.rst
python setup.py sdist
twine upload -r pypi dist/*

Clean up

find . -type f -name "*.pyc" | xargs rm
find . -type d -name "__pycache__" | xargs rm -r
rm -r .pytest_cache
rm -r .venv

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

numpy-fracadf-0.4.2.tar.gz (7.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page