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'
Metadata
Release files for multipletau 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| multipletau-0.4.1.tar.gz | 94.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| multipletau-0.4.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 105.3 kB
Release files / multipletau-0.4.1.tar.gz
| Download URL | multipletau-0.4.1.tar.gz |
|---|---|
| Size | 94.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae83f7e3615b8d6284b71df62927ba21b832d1e8b02c782aa05c175259ee54ef
|
|
BLAKE2b-256 checksum How to use checksums |
95d7fecccb434dfda27460e3ee6dfc9be1e650389afafe302ae7fe59d3a86e5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / multipletau-0.4.1-py2.py3-none-any.whl
| Download URL | multipletau-0.4.1-py2.py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b97750c03b5d00ba56d90eeb5113f13216a04b65a2abb0f175cd55b85c4782f3
|
|
BLAKE2b-256 checksum How to use checksums |
cbb41c8108c7eb1bd1cc28045c9986709760ff4f758b3e31e0c17d1120f7e7fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|