Performs Cyclicity Analysis on A Collection of Time-Series
Project description
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.7
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 lead lag matrix as a numpy array
leading_eigenvector = coom.get_leading_eigenvector()
lead_lag_df , leading_eigenvector
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
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
Built Distribution
Close
Hashes for cyclicityanalysis-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3adcb7611dbccb02c45c8f0c65f233618db12d9e94e4b1d3d4b1f064a6bf4b52 |
|
MD5 | 1179f7c242a84cedfb4540b82e1578e5 |
|
BLAKE2b-256 | 528012c0bb3558cbbad66f0eace2cd8a33295d4fae930894df562cc8a8d6787b |