Skip to content

Code for project PECAR (Probability Estimation to Characterize Attentional Rhythms)

Notifications You must be signed in to change notification settings

mehdisenoussi/PECAR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to the PECAR repository.

This is a set of MATLAB scripts to perform the analyses on the PECAR experiment dataset (Senoussi, M., Moreland, J. C., Busch, N. A., & Dugué, L. Journal of Vision (2019)).

These scripts were written and tested on MATLAB version 2015b.

Here is a link to the article published in Journal of Vision: https://jov.arvojournals.org/article.aspx?articleid=2734837

To perform the analyses you need to download the MGL toolbox which we used to design the experiment and from which some codes are needed to "unpack" the data: MGL-toolbox

You should then download or clone the scripts from this github repository as well as the data from this OpenScienceFramework repository: data

You should place the mgl-master folder as well as the uncompressed "data_pecar" folder in the same directory as the scripts.

Finally you can run the scripts in that order to reproduce the figures from the paper:

  1. pecar_2afc_task.m
  2. pecar_p_probe_analysis_allsubjs.m
  3. pecar_plot_probeDiffQuad_P1andP2_P1minusP2_freqSpectra.m
  4. pecar_plot_6hz_pdiff_discr_padded.m
  5. pecar_probe_report_acc.m
  6. pecar_plot_probeSameQuad_P1minusP2_freqSpectra.m
  7. pecar_datareformat_for_power_analysis.m
  8. pecar_poweranalysis_resampshuffletest.m

Thank you for your interest!

About

Code for project PECAR (Probability Estimation to Characterize Attentional Rhythms)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages