Skip to content

netneurolab/zhou_interpolates

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchmarking spatial interpolation methods for brain maps

Authors: Yigu Zhou, Vincent Bazinet, Bratislav Misic

This repository contains scripts and functions to reproduce results in "Benchmarking spatial interpolation methods for brain maps". The raw results files are too large for upload to this repository, but all input data and code to handle those data are available to reproduce results. See below for an outline:

Repository Structure

Notebooks that contains main analyses and figures are stored here. Each notebook calls scripts and functions inside /code, and files inside /data.

/code

This folder contains scripted runs and wrappers for interpolation functions.

  • /interpmodules contains deterministic and spatially-informed stochastic interpolation functions, as well as benchmark metrics and helper functions that support them.

  • The various *config files specify global variables such as project directory, analysis parameters, transform matrices, etc.

  • The Python files or notebooks with prefix getdata_ contain code for handling GRF, empirical surface, and empirical volume data.

  • The Python or Bash scripts with prefix run_ contain code to set up and run interpolation for all combinations of data modality/characteristics

  • Notebooks with prefix res1_ contain code to generate figures from analyses with GRF

  • Notebooks with prefix res2_ contain code to generate figures from analyses with empirical surface maps (Neuromaps)

  • Notebooks with prefix use_case_ contain code to generate figures from analyses with empirical volumetric data (iEEG or microarray)

/data

This folder contains GRF, empirical surface and volume maps (from Neuromaps), each stored as a Pyvista.PolyData object.

Requirements

Environment. Python 3.11.5, GNU bash 5.1.16
Software. The experiments presented utilize a number of published and openly available packages for generation, processing, and analysis of spatial data.

GSTools
MGWR
PyKrige
Pyvista
Scikit-Gstat
Scikit-Image

About

Repository for the project "Benchmarking spatial interpolation methods for brain maps"

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 99.2%
  • Other 0.8%