Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tools:seeg [2026/11/06 15:56] – sdm63 | tools:seeg [2026/11/09 14:54] (current) – sdm63 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== sEEG ====== | + | ====== sEEG Data Collection & Analysis |
| ===== Data Collection ===== | ===== Data Collection ===== | ||
| Line 27: | Line 27: | ||
| ===== Data Analysis ===== | ===== Data Analysis ===== | ||
| * Taylor' | * Taylor' | ||
| - | * I have pulled (and should continue to update it) there repository, https:// | + | * I have pulled (and should continue to update it) their repository, https:// |
| * I have pulled this repo and all the sEEG code in Hera/ | * I have pulled this repo and all the sEEG code in Hera/ | ||
| * The sEEG data is saved out in multiple files | * The sEEG data is saved out in multiple files | ||
| * The .ns2 is the data at 1k Hz sampling rate | * The .ns2 is the data at 1k Hz sampling rate | ||
| * The .ns5 is 30k Hz but its usually only used to save out any audio that the participant hears, also the photodiode in our case | * The .ns5 is 30k Hz but its usually only used to save out any audio that the participant hears, also the photodiode in our case | ||
| + | * Preprocessing is pretty simple. The hospital collection system already filters out for 60Hz line noise | ||
| \\ | \\ | ||
| ==== Habit Data ==== | ==== Habit Data ==== | ||
| Line 72: | Line 73: | ||
| * nSamplesPre: | * nSamplesPre: | ||
| * Uses fieldtrip2eeglab to convert the array of data and using the header info into a set file that EEGLAB can load | * Uses fieldtrip2eeglab to convert the array of data and using the header info into a set file that EEGLAB can load | ||
| - | * | + | * I then reref to the average (EEG = pop_reref( EEG, []);) |
| + | * chan2roi.m | ||
| + | * Function that their lab wrote | ||
| + | * It takes in the patient ID, and a list of their channels and then returns the corresponding ROIs based on the registration of the subjects sEEG and MRIs but that must have alreay been done in brainstorm and saved out and I think Emily does this | ||
| + | |||
| + | \\ | ||
| + | ==== Resting State Data ==== | ||
| + | * Basically the same as the habit, except no behavioral data and corresponding triggers | ||
| + | * There is a script Restmat_to_set.m that converts the resting state .ns files into .set files that can be loaded into EEGLAB | ||