Skip to main content

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

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

cyclicityanalysis-1.0.5.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

cyclicityanalysis-1.0.5-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file cyclicityanalysis-1.0.5.tar.gz.

File metadata

  • Download URL: cyclicityanalysis-1.0.5.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for cyclicityanalysis-1.0.5.tar.gz
Algorithm Hash digest
SHA256 ad1ccc815863941b47c3c894019fb04c37b64f3273348f8013facd303f5eaf0b
MD5 7f8225c7f939be117cd4516ccf87a3d0
BLAKE2b-256 6bc55a60e3dd3f9bd3546c6741f7598488db38808453f20171e8658a3857d34f

See more details on using hashes here.

File details

Details for the file cyclicityanalysis-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for cyclicityanalysis-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 20bd7aead0472cdba9d59f0d3618d53862450917f074c10c069fd49649c10c89
MD5 e6c31432fbe3f27ce020dc5b4a6de26e
BLAKE2b-256 d300b221a5aea75dea25ccfb16ac7050a1eb3cd33628506dda8e3639cec44669

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