Skip to content

Program for experiment and data processing of "tACS + visual attention" project

License

Notifications You must be signed in to change notification settings

Shawnzty/tACS-Attention

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tes-attention

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.

Analysis of behavior data

  • behavior is the program to analyze and plot the behavior data.
  • Behavior data has been removed from repository.

Analysis of EEG data

eeg_overview is the program to plot the overview of the EEG data. (not used any more)

  1. mkRaw_ica: make raw data and apply ICA
  2. manual_pick_ica and ic_to_remove: are used for manual picking of ICA components
  3. icaRepair: repair the ICA components based on ic_to_remove

exp_program: main program to run the experiment

  1. main: main program to run the experiment
  2. funcs: functions for the experiment
  3. settings: settings for the experiment
  4. trig_on_computer: trigger testing

Preprocessing of eeg data

  1. rename_eeg: change the name of the variable from y to eeg.
  2. trigger_align: align the trigger to eeg to remove delay.
  3. remove_head_tail: remove the head and tail of raw eeg.`
  4. event_channels: add event channels to raw eeg.
  5. check_filter: check the data and see which filter is good.
  • check_one_chan: check the data of one channel.

prepare_raw_file

  1. mkRaw: make raw data as MNE format.
  2. manual_pick_ica: manually pick ICAs to remove or keep, and save in ic_to_remove.csv
  3. icaRepair: repair the ICA components based on ic_to_remove

eeg_analysis of eeg data

  1. func4eeg: functions for eeg analysis
  2. EvokedPotential: analysis of ERP, evoked response potential
  3. FrequencyPower: analysis of FBP, frequency band power\
  4. DetrendedFluctuation: analysis of DFA, detrended fluctuation analysis
  5. EEG_ML: tried some machine learning on reaction time or sham/active classification, but not good
  6. tmp_files: temporary files for eeg analysis

behavior for behavior data

  • behavior: basic analysis of behavior data
  • func4behav: functions for behavior analysis
  • auto_significance: automatic detection of significant comparison
  • behavior_all_subs: analysis of all subjects together -> the one actually used
  • distribution_all_subs: distribution analysis of all subjects together
  • distribution_by_subs: distribution analysis of each subject
  • each_sub: analysis of each subject

paper_figs for figures in EMBC paper

About

Program for experiment and data processing of "tACS + visual attention" project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages