Compare commits

..
4 Commits
Author SHA1 Message Date
Julius 3b837869fe Merge branch 'master' of git.ffhartmann.de:Julius/semesterproject_lecture_eeg 2021-03-27 22:02:05 +01:00
Julius 5d2099f0a7 Minor updates 2021-03-27 22:01:56 +01:00
Julius 0b993c108f updated .gitignore 2021-03-27 22:01:36 +01:00
Julius b88a32e596 Added gitignore 2021-03-27 22:00:26 +01:00
7 changed files with 20 additions and 4 deletions
+6
View File
@@ -0,0 +1,6 @@
# Ignore the n170 dataset, so that it wont be pushed onto the repo
/Dataset/n170
# Ignore unnecessary files
utils/__pycache__
.idea/
+1 -1
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
View File
@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore
+4
View File
@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore
+4
View File
@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore
+1 -1
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'])
-2
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)