DOI: 10.5281/zenodo.1006000
title: Dataset Supplementing Schütz, I. & Einhäuser, W. (2018) Visual Awareness In Binocular Rivalry Modulates Induced Pupil Fluctuations.

description: This dataset supplements the publication:

Schütz, I. & Einhäuser, W. (2018). Visual awareness in binocular rivalry modulates induced pupil fluctuations.

<br>
Raw data are available in two formats: the actual raw EDF data files as returned by the eyetracking device (*.edf) for reference, and as MATLAB files into which all relevant information has been extracted (*.mat) for analysis.

Variables in the pft_*.mat files include<br>
- raw eye position in the variable scan (t,x,y,p), where t is the timestamp of the eyetracker, x/y the position on the screen and p the pupil diameter in arbitrary units<br>
- fixation, saccade and blink events in variables fix, sac and blink<br>
- raw button presses in cell arrays buttonDn and buttonUp (6 - left button, 7 - right button) including timestamps<br>
- stimulus presentation cycle timestamps in the variable stimperiod<br>
- timestamps for auditory attentional instruction in the variable attends

For analysis, data from all participants and sessions is imported into pftdata.mat, where it is stored in cell arrays of the format "samples{subject_no, condition}".

<br>
Data Files<br>
==========

- rawdata.zip<br>
    - rawdata/*.edf: raw EyeLink 2000 EDF data files<br>
    - rawdata/*.mat: EyeLink data converted to MATLAB data file

- analysis.zip<br>
    - pftdata.mat: preprocessed eye tracking and response data for analysis<br>
    - face.png, house.png: stimulus images used for the experiment<br>
    - resp_anova.csv: response data for ANOVA (generated by preprocessing.m)<br>
    - fig4_anova.csv: complex plane data for R T-Test (generated by figure4_complex_plane.m)<br>
    - analysis code files, see below

<br>
Analysis Functions<br>
==================

Run the following functions in the listed order to reproduce figures and data in results/.

- preprocessing.m:<br>
    - convert EDF data files to ASCII using SR-Research edf2asc, import into MATLAB<br>
    - remove EyeLink detected blinks and interpolate (cubic spline)<br>
    - z-score pupil data within each experimental block<br>
    - add button press / reported percept to sample data<br>
    - save response data for RM-ANOVA in R

- figure1_methods.m:<br>
    - recreates Figure 1 (stimulus figure from images)

- figure2_example_plot.m:<br>
    - recreate Figure 2 (example data from one participant)

- figure3_averaged_response.m<br>
    - recreates Figure 2 (averaged F1 FFT component by condition)

- figure4_complex_plane.m:<br>
    - recreates Figure 4 (complex plane analysis of pupil response)

- stats_auc_decoding.m:<br>
    - moment-by-moment decoding analysis using AUC<br>
    - recreates stats_AUC.txt

- pft_statistics.R:<br>
    - R statistics, recreates stats_responses.txt and stats_Zvalues.txt

<br>
Output Files<br>
============

results/<br>
    - Paper Figures (not layouted): figure1.tif, figure2.png, figure3.png, figure4.png<br>
    - stats_responses.txt: behavioral analyses results,<br>
    - stats_Zvalues.txt: complex plane analysis results<br>
    - stats_AUC.txt: moment-by-moment AUC decoding results
description: {"references": ["Sch\u00fctz, I., Busch, J. E., Gorka, L., & Einh\u00e4user, W. (2018). Visual Awareness in Binocular Rivalry Modulates Induced Pupil Fluctuations. Journal of Cognition, 1(1), 12"]}