multipletau
Multipe-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
multipletau supports Python 2.6+ and Python 3.3+ with a common codebase. The only requirement for multipletau is NumPy (for fast operations on arrays). Install multipletau from the Python package index:
pip install multipletau
Documentation
A full code reference including examples is available here.
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([[ 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.1.4'
Metadata
Release files for multipletau 0.1.5
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.1.5.tar.gz | 220.5 kB | Details |
Release files / multipletau-0.1.5.tar.gz
| Download URL | multipletau-0.1.5.tar.gz |
|---|---|
| Size | 220.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ebc939c89a1316d824246871a2ea726c52fdeb59657d8cff8abb1eb674cbee8
|
|
BLAKE2b-256 checksum How to use checksums |
ef3ef974d0a8bfcdea1dc2d792de549bba7749e439c5353e3edacf9db6e6d31a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |