This repository contains code required to reproduce results from my Doctoral project "DecideNet." This project is dedicated to examining and describing functional network reconfiguration during prediction error processing. The analysis is focused on three perspectives: (1) behavioral analysis using the Bayesian modeling approach, (2) activation analysis using model-based fMRI approach, and (3) connectivity analysis using beta-series correlation approach. The analysis is conducted using open-source Python packages for neuroimaging like nilearn
and nibabel
and custom Python code.
Here you can find my PhD thesis based on the findings produced by this codebase.
activation_analysis
: code for BOLD activation analysisbehavioral_analysis
: code for behavioral modelingmatjags-dn
: JAGS code for hierarchical latent mixture model and Bayesian model analysis
connectivity_analysis
: code for functional connectivity analysisparcellations
contains brain parcellation tables with MNI coordinates and ROI/LSN names useful for both types of connectivity analysisbsc
contains beta-series correlation analysis filesppi
contains psychophysiological interaction analysis filessignal_extraction
contains general functional data processing useful for connectivity analysis
fmri_preparation
: code for data preparation (BIDS structure, preprocessing)dn_utils
: helper functions used throughout the projectprl_task
: PsychoPy code for a task used in fMRI scanner