exp_program is the main program to run the experiment.
processing is the program to process the data. prepare_data is the MATLAB program to prepare the data for MNE-Pyhton.
- behavior is the program to analyze and plot the behavior data.
- Behavior data has been removed from repository.
eeg_overview is the program to plot the overview of the EEG data. (not used any more)
- mkRaw_ica: make raw data and apply ICA
- manual_pick_ica and ic_to_remove: are used for manual picking of ICA components
- icaRepair: repair the ICA components based on ic_to_remove
main
: main program to run the experimentfuncs
: functions for the experimentsettings
: settings for the experimenttrig_on_computer
: trigger testing
rename_eeg
: change the name of the variable from y to eeg.trigger_align
: align the trigger to eeg to remove delay.remove_head_tail
: remove the head and tail of raw eeg.`event_channels
: add event channels to raw eeg.check_filter
: check the data and see which filter is good.
check_one_chan
: check the data of one channel.
mkRaw
: make raw data as MNE format.manual_pick_ica
: manually pick ICAs to remove or keep, and save in ic_to_remove.csvicaRepair
: repair the ICA components based on ic_to_remove
func4eeg
: functions for eeg analysisEvokedPotential
: analysis of ERP, evoked response potentialFrequencyPower
: analysis of FBP, frequency band power\DetrendedFluctuation
: analysis of DFA, detrended fluctuation analysisEEG_ML
: tried some machine learning on reaction time or sham/active classification, but not goodtmp_files
: temporary files for eeg analysis
behavior
: basic analysis of behavior datafunc4behav
: functions for behavior analysisauto_significance
: automatic detection of significant comparisonbehavior_all_subs
: analysis of all subjects together -> the one actually useddistribution_all_subs
: distribution analysis of all subjects togetherdistribution_by_subs
: distribution analysis of each subjecteach_sub
: analysis of each subject