Skip to content

witherscp/ied-localize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Source Localization of IEDs using GM and WM

License: MIT Code style: black

Description

Source code for the localization of interictal epileptiform discharge (IED) sequences. Processed data are available upon request.


Installation

pip install git+https://github.com/witherscp/ied-localize.git

This installation adds do_localize_source.py to the command line for localization of the subjects. Users may also utilize any functions or methods implemented throughout the package via import ied_localize.

Usage

do_localize_source.py [-h] [--cluster] [--only_gm] [--only_wm] [--variable_gm] [-p PARCS] [-n NETWORKS] [--dist DIST] [-l MAX_LENGTH] subj

to localize the putative source of interictal spike sequences using GM, WM, and spike timings

positional arguments:
  subj                  subject code

optional arguments:
  -h, --help            show this help message and exit
  --cluster             cluster to localize; defaults to 0 which means all clusters will be localized
  --only_gm             use gray matter localization only
  --only_wm             use white matter localization only
  --variable_gm         allow for variable GM velocity within a sequence; defaults to fixed
  -p PARCS, --parcs PARCS
                        Schaefer parcellation; defaults to 600
  -n NETWORKS, --networks NETWORKS
                        Yeo network {7 or 17}; defaults to 17
  --dist DIST           GM max search distance; defaults to 45 mm
  -l MAX_LENGTH, --max_length MAX_LENGTH
                        maximum allowable length of a sequence

Citation

C Price Withers, Joshua M Diamond, Braden Yang, Kathryn Snyder, Shervin Abdollahi, Joelle Sarlls, Julio I Chapeton, William H Theodore, Kareem A Zaghloul, Sara K Inati, Identifying sources of human interictal discharges with travelling wave and white matter propagation, Brain, Volume 146, Issue 12, December 2023, Pages 5168–5181, https://doi.org/10.1093/brain/awad259

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages