Determine fractal order by the ADF test
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
from numpy_fracadf import fracadf2
d = fracadf2(X, tau=1e-4, mmax=527)
Check the examples folder for notebooks.
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
- 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/*
find . -type f -name "*.pyc" | xargs rm
find . -type d -name "__pycache__" | xargs rm -r
rm -r .pytest_cache
rm -r .venv