Giter Club home page Giter Club logo

sparse's Introduction

Source Space and Forward_Solutions

  1. Define cortical surface source spaces a. Use standard steps (incl. patch decompositions) outlined in MNE manual b. Same as used by SPIGH code
  2. Define subcortical volume source spaces: a. In Shell i. Reconstruct MRIs via Freesurfer Stream ii. Setup a standard subject folder based on MNE/Freesurfer manual instructions iii. This will have all info to extract volumes of major subcortical structures b. In MATLAB: Create .mgz, .txt and .mat files with masks, spatial coordinates and geometric information for each subcortical region’s source spaces. Run exec_srcfwd_final. This calls i. read_save_sfwd to perform dimensionality reduction, split into patches/subvolumes ii. check_subdivs to create mgz files for each subdivision in mri folder iii. srcspace_figure to generate mgz file illustrating subdivided source space figure
  3. This codestream will lead you to run shell script functions as needed too: a. Generate cortical forward solutions using standard steps from MNE manual b. Run scort_srcfwd_exec for subcortical volumes, hippocampus and brainstem
  4. Scripts to generate figures in the paper are under \FigureS1
  5. In Freeview: view .mgz, label and surface files together to check if all patch/subvolume/surface source spaces are done properly, so as to be sure what regions forward solutions correspond to
  6. In Freeview, visualize subcortical source space masks to ensure all done correctly

Data_Process: Remove artifacts, Filter Data; Evoked Averages; Compute Covariances

Inverse_Solutions

MATLAB code to read data, process source/noise covariances, define parameter choices, obtain MNE estimates, obtain SPIGH estimates for given hierarchy, transition across hierarchies

  1. Scripts to run cortical inverse solution (within and across all cortical hierarchies)
  2. Scripts to visualize cortical inverse solution (time series, spatiotemporal movies, performance metrics)
  3. Scripts to run subcortical inverse solution (with reduced cortical source space and all deep sources)
  4. Scripts to visualize end joint inverse solution (time series, spatiotemporal movies, performance metrics) Note: running this code will display instructions on shell commands to run as and when required. Core_Functions: General Sub-Functions Called for Angles, Field Maps, Algorithm, Visualization, ETC

Reference:

Sparsity enables subcortical source estimation

Pavitra Krishnaswamy, Gabriel Obregon-Henao, Jyrki Ahveninen, Sheraz Khan, Behtash Babadi, Juan Eugenio Iglesias, Matti S. Hämäläinen, Patrick L. Purdon, Proceedings of the National Academy of Sciences Nov 2017, 114 (48) E10465-E10474; DOI: 10.1073/pnas.1705414114

https://www.pnas.org/content/114/48/E10465.full

sparse's People

Contributors

sherazkhan avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

larsoner

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.