Minor updates

This commit is contained in:
2021-03-27 22:01:56 +01:00
parent 0b993c108f
commit 5d2099f0a7
6 changed files with 14 additions and 4 deletions

View File

@@ -1,2 +1,2 @@
This folder should hold the n170 dataset. This folder should hold the n170 dataset.
Put the dataset here, so that the file structure: 'Dataset/n170/...' exists. Unpack the dataset here, so that the file structure: 'Dataset/n170/...' exists.

4
cached_data/decoding_data/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore

4
cached_data/erp_peaks/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore

4
cached_data/tf_data/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore

View File

@@ -130,5 +130,5 @@ def analyze_erp(channels):
if __name__ == '__main__': if __name__ == '__main__':
mne.set_log_level(verbose=VERBOSE_LEVEL) mne.set_log_level(verbose=VERBOSE_LEVEL)
# precompute_erp_df('N170') precompute_erp_df('N170')
analyze_erp(['P7', 'PO7', 'P8', 'PO8']) analyze_erp(['P7', 'PO7', 'P8', 'PO8'])

View File

@@ -119,8 +119,6 @@ def run_ica(raw, dataset, subject, search='manual'):
if search == 'manual': if search == 'manual':
ica_raw.load_data() ica_raw.load_data()
# ica.plot_components(inst=ica_raw, ch_type='eeg', contours=0, topomap_args={'extrapolate': 'head'},
# psd_args={'fmin': 0, 'fmax': 80})
ica.plot_properties(inst=ica_raw, dB=False, topomap_args={'extrapolate': 'head', 'contours': 0}, ica.plot_properties(inst=ica_raw, dB=False, topomap_args={'extrapolate': 'head', 'contours': 0},
psd_args={'fmin': 0, 'fmax': 50}, picks=['eeg']) psd_args={'fmin': 0, 'fmax': 50}, picks=['eeg'])
ica.plot_sources(ica_raw) ica.plot_sources(ica_raw)