Skip to main content

A multiple-tau algorithm for Python/NumPy

Project description

PyPI Version Tests Status Coverage Status Docs Status

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.7 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

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.3.0'

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

multipletau-0.3.1.tar.gz (94.1 kB view details)

Uploaded Source

Built Distribution

multipletau-0.3.1-py2.py3-none-any.whl (12.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file multipletau-0.3.1.tar.gz.

File metadata

  • Download URL: multipletau-0.3.1.tar.gz
  • Upload date:
  • Size: 94.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

File hashes

Hashes for multipletau-0.3.1.tar.gz
Algorithm Hash digest
SHA256 f47b6d4f668a1630109118abf2e405953386f55f82669b4ce77ff8c553456a24
MD5 73f1bd81a111388da96cfeb1fb200f02
BLAKE2b-256 ea6d4e39fb0092f4dea61a44baecb2569cd3ab180d77af7932b9a731c2cc915c

See more details on using hashes here.

File details

Details for the file multipletau-0.3.1-py2.py3-none-any.whl.

File metadata

  • Download URL: multipletau-0.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

File hashes

Hashes for multipletau-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 69285efa63c5479cad70ebc146aae021631b0ca39ea6a9a2da656d26d857655f
MD5 5b713405664388127bd4a5badbcf68f4
BLAKE2b-256 346ae570c4ca8bce4618777f4f1386303a9fd7c6d5899d3cfacb8fbfb32c826d

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