Research Investigation of Timeseries with Multiday Oscillations
Project description
Rhythmic Investigation of Timeseries with Multiday Oscillations (RITMO)
This package provides a python toolbox for assessing the slow-drifting correlation and causation between two oscialltory timeseries' with multiday patterns. It includes three well-estabilised approaches:
- Empirical Dynamic Modelling (also known as EDM)
- Phase locking value
- Mutual information
Installation
Command line using the Python pip module: python -m pip install ritmo
Usage
Example usage at the python prompt:
>>> from ritmo import Ritmo
>>> import numpy as np
>>> x = np.arange(0, 100*24*3.6e6, 3.6e6) # UNIX timestamps in milliseconds
>>> y1 = np.random.random(x.size) # first random timeseries
>>> y2 = np.random.random(x.size) # second random timeseries
>>> ritmo = Ritmo(y1 = y1, y2 = y2, x1 = x, y1_name = 'Random_TS_1', y2_name = 'Random_TS_2')
>>> ritmo.run() # Runs all modules at once
To run individual modules:
>>> ritmo.run_edm() # Empirical dynamical modelling module
>>> ritmo.run_plv() # Phase locking value module
>>> ritmo.run_mutual_information() # Mutual information module
Releasing
Releases are published automatically when a tag is pushed to GitHub.
export RELEASE=x.x.x
git commit --allow-empty -m "Release $RELEASE"
git tag -a $RELEASE -m "Version $RELEASE"
git push upstream --tags
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file RITMO-1.6.1.tar.gz.
File metadata
- Download URL: RITMO-1.6.1.tar.gz
- Upload date:
- Size: 14.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61d99ceef281b81cb6fcffc1ab3944cef6440774c4d1a7b3cb78d745fc988eae
|
|
| MD5 |
e8f25a3ac9ed28134e8bf046e881fd39
|
|
| BLAKE2b-256 |
a91caf57c7ca3a335c78662f8b89d2fa596aa3b56055ec5bcba5fb209dff3545
|
File details
Details for the file RITMO-1.6.1-py3-none-any.whl.
File metadata
- Download URL: RITMO-1.6.1-py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7adf6fc7713497b29d76216356bb310835e1fad652224690fa515abba979550
|
|
| MD5 |
b87b98b46d2d6febccfd5659b2d7b4a0
|
|
| BLAKE2b-256 |
00598a070e91e458874c50c76bb321d554ba4541bddb52fa6fec358878915fbc
|