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 details)

Uploaded Source

File details

Details for the file numpy-fracadf-0.4.2.tar.gz.

File metadata

  • Download URL: numpy-fracadf-0.4.2.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.9

File hashes

Hashes for numpy-fracadf-0.4.2.tar.gz
Algorithm Hash digest
SHA256 342b6ff85a5e110f8a566af22681b595d19b207cae8d9141033ee28f370864e7
MD5 581b28a28378c3c58a2edec5e54b9164
BLAKE2b-256 b5b28c8a9d189763465b8ca737c7d3c84f1d759c41de0c335fd7a350ec2486e2

See more details on using hashes here.

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