%% add BIAC tools if needed %run /usr/local/packages/MATLAB/BIAC/startup.m %% add path to pupilOmetry function %addpath /home/petty/net/munin/data/Programs/User_Scripts/petty/matlab/ %addpath \\Munin\Data\Programs\User_Scripts\petty\matlab\ %%input XML ( merged behavioral + ROI ) xmlName = '/home/petty/eyetracking/autreg/11436_run04_roiHits.xml'; %%preprocessed eyetracking output ET_filename = '/home/petty/net/hill/data/Dichter/AutReg.01/Data/Eyetracking/subj1234_run1_pre.wks'; %%the attribute to match images with from the inputXML imgAttr = 'imgName'; %%output name of the XML with added pupilOmetry data. will be everything from input + pupilchange outName = '/home/petty/eyetracking/autreg/11436_cigal_pupil2.xml'; %%show the denoising plots plot = 0; %1 to show, 0 to skip %%run the actual function pupilOmetry(xmlName,ET_filename,imgAttr,outName,plot);