Code for Brain kernel: a new spatial covariance function for fMRI data
https://www.biorxiv.org/content/10.1101/2021.03.22.436524v1
brainkernel: folder to generate brain kernel, i.e., brainkernel_latent.mat. You can skip this step if you don't want to re-estimate the brain kernel. You can directly use brainkernel_latent.mat in the brainkernel folder for brain decoding and factor modeling tasks.
brain_decoding: brain decoding task.
factor_modeling: factor modeling task.
preprocess_tfMRI_HCP: preprocessing script for task fMRI in HCP.
HCP_data: example HCP data.