Spatial and Temporal Correlation Analysis
Project description
SPATIAL AND TEMPORAL CORRELATION ANALYSIS WITH APPLICATION TO FMRI Data
Correlation analysis between two groups of time series is common in many fields, for example in analysis of functional magnetic resonance imaging (fMRI) data. The most widely used approach in fMRI is probably to compute Pearson's correlation between the group-mean temporal vectors, averaged across the (spatial) variables in each group. This approach does not account for the continuity of the time series and the inhomogeneity in the variables. In this project, we propose a spatial and temporal correlation analysis (STC) that addresses these two issues simultaneously. It integrates the functional correlation and canonical correlation analysis (CCA) in a unified optimization-based framework. This allows, for example, varying contributions of spatial variables and increased signal strength. Simulation results show the proposed method outperforms other competing methods. Applying to a fMRI dataset, we identify the connection strength between brain regions and the inhomogeneous functions within regions.
Getting Started
Prerequisites
What things you need to install the software and how to install them
See setup.py for details of packages requirements.
Installing from GitHub
Download the packages by using git clone https://github.com/xuefeicao/stc.git
python setup.py install
If you experience problems related to installing the dependency Matplotlib on OSX, please see https://matplotlib.org/faq/osx_framework.html
Running the tests
Go to test folder, run
python test.py
|## Built With
- Python 2.7
Compatibility
- Python 2.7 (Guaranteed)
Authors
- Jun Ke
- Xuefei Cao - Maintainer - (https://github.com/xuefeicao)
- Xi Luo (http://bigcomplexdata.com/)
License
This project is licensed under the MIT License - see the LICENSE file for details
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
File details
Details for the file stcorr-0.0.0.tar.gz
.
File metadata
- Download URL: stcorr-0.0.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 173fa594047ed5cf3970dac0221cdb873d6fbb53ae20d7c0e2173ac74b4cd741 |
|
MD5 | 7d6e79c8ad36bb58b9820c5c4d8965ed |
|
BLAKE2b-256 | 2f937c4601db7aa66f093e93adbf817d12877a66d7c027ff1be18669f41be23e |
File details
Details for the file stcorr-0.0.0-py2-none-any.whl
.
File metadata
- Download URL: stcorr-0.0.0-py2-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e588f2fec2734592933a27caa3e9352005066b8e34d45dd90877620bb34b494 |
|
MD5 | c1aff471921b78eddb30a7d3df782970 |
|
BLAKE2b-256 | e0fc1128d07cda2f4c840f7b89d62c34da4f85c313f847662e7574a371e8499e |