Cyclicity Analysis of Time-Series
This repository contains a working implementation of Cyclicity Analysis, which is a pattern recognition technique for analyzing the leader follower dynamics of multiple time-series.
Full documentation and an example Jupyter notebook are available in the GitHub repository.
Requirements
Download Python >=3.10
Installation
pip3 install cyclicityanalysis
Usage
from cyclicityanalysis.orientedarea import *
from cyclicityanalysis.coom import *
df = pd.DataFrame([[0, 1], [1, 0], [0, 0]], columns=['0', '1'])
oa = OrientedArea(df)
# Returns the lead lag matrix of df as a dataframe
lead_lag_df = oa.compute_lead_lag_df()
coom = COOM(lead_lag_df)
# Returns leading eigenvector of the lead lag matrix as an array, the leading eigenvector component phases as an array,
# and sequential order of the lead lag matrix according to COOM as a dictionary
leading_eigenvector, leading_eigenvector_component_phases, sequential_order_dict = coom.compute_sequential_order(0)
lead_lag_df , leading_eigenvector, leading_eigenvector_component_phases, sequential_order_dict
References
- Cyclicity in Multivariate Time-series and Applications to Functional MRI data : paper
- Dissociating Tinnitus Patients from Healthy Controls using Resting-state Cyclicity Analysis and Clustering : paper
- Slow Cortical Waves through Cyclicity Analysis : paper
- Comparing Cyclicity Analysis With Pre-established Functional Connectivity Methods to Identify Individuals and Subject Groups Using Resting State fMRI : paper
Metadata
Release files for cyclicityanalysis 1.0.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 | |
|---|---|---|---|
| cyclicityanalysis-1.0.5.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cyclicityanalysis-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.4 kB
Release files / cyclicityanalysis-1.0.5.tar.gz
| Download URL | cyclicityanalysis-1.0.5.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad1ccc815863941b47c3c894019fb04c37b64f3273348f8013facd303f5eaf0b
|
|
BLAKE2b-256 checksum How to use checksums |
6bc55a60e3dd3f9bd3546c6741f7598488db38808453f20171e8658a3857d34f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Release files / cyclicityanalysis-1.0.5-py3-none-any.whl
| Download URL | cyclicityanalysis-1.0.5-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
20bd7aead0472cdba9d59f0d3618d53862450917f074c10c069fd49649c10c89
|
|
BLAKE2b-256 checksum How to use checksums |
d300b221a5aea75dea25ccfb16ac7050a1eb3cd33628506dda8e3639cec44669
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|