/
Depends on
- dh-python (dh-sequence-python3, pybuild-plugin-pyproject)
- mathjax (libjs-mathjax)
- numpy (python3-numpy)
- numpydoc (python3-numpydoc)
- pytest (python3-pytest)
- pytest-runner (python3-pytest-runner)
- python3-defaults (python3-all)
- setuptools (python3-setuptools)
- setuptools-scm (python3-setuptools-scm)
- sphinx (python3-sphinx)
- sphinx-rtd-theme (python3-sphinx-rtd-theme)
- debhelper-compat
README (full)
multipletau
Multiple-tau correlation is computed on a logarithmic scale (less data points are computed) and is thus much faster than conventional correlation on a linear scale such as numpy.correlate_.
Installation
The only requirement for multipletau is Python 3.x and NumPy_. Install multipletau from the Python package index:
pip install multipletau
Documentation
The documentation, including the reference and examples, is available on readthedocs.io_.
Usage
import numpy as np
import multipletau
a = np.linspace(2,5,42)
v = np.linspace(1,6,42)
multipletau.correlate(a, v, m=2)
array([[ 0. , 569.56097561],
[ 1. , 549.87804878],
[ 2. , 530.37477692],
[ 4. , 491.85812017],
[ 8. , 386.39500297]])
Citing
The multipletau package should be cited like this (replace "x.x.x" with the actual version of multipletau that you used and "DD Month YYYY" with a matching date).
Paul Müller (2012) Python multiple-tau algorithm (Version x.x.x) [Computer program]. Available at https://pypi.python.org/pypi/multipletau/_ (Accessed DD Month YYYY)
You can find out what version you are using by typing (in a Python console):
>>> import multipletau
>>> multipletau.__version__
'0.4.0'
| dir | .github/ |
| dir | debian/ |
| dir | docs/ |
| dir | examples/ |
| dir | multipletau/ |
| dir | tests/ |
| file | CHANGELOG |
| file | LICENSE |
| file | MANIFEST.in |
| file | README.rst |
| file | pyproject.toml |
| file | setup.cfg |