Skip to main content

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)

Source distribution for cyclicityanalysis 1.0.5
File Size Uploaded
cyclicityanalysis-1.0.5.tar.gz 6.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cyclicityanalysis 1.0.5
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page