OSCR

Visual exposure to masked faces benefits personally familiar but not famous face recognition.

Code ↔ Paper

7 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 7 matches · 2 of them tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
  1. [1] § Materials and methods › Procedure ↔ Experiment Code/face_exp_new.m, lines 82–95 · score 0.73 · 800–1000 ms, fixation cross, 800 ms
  2. [2] § Materials and methods › Data analysis › Neural data analysis ↔ Experiment Code/runFaceNew.m, the whole file · a weak match · score 0.64 · 110 ms, 140 ms, 230 ms, 320 ms, MATLAB, window
  3. [3] § Materials and methods › Data analysis › Behavioral data analysis ↔ Experiment Code/face_exp_new.m, lines 1–79 · score 0.58 · mouse button, mouse click, paradigm, RT, 15 %, stimuli
  4. [4] § Materials and methods › Procedure ↔ Experiment Code/face_exp_new.m, lines 1–79 · score 0.56 · pseudo random, sequence, click, respond, block, mouse
  5. [5] § Materials and methods › Neural data acquisition and preprocessing ↔ Analysis and Figure Code/EEG Analysis/preprocess.m, lines 5–52 · score 0.52 · stimulus onset, preprocessed, filtered, EEG
  6. [6] § Materials and methods › Data analysis › Behavioral data analysis ↔ Experiment Code/practice_face_new.m, lines 1–70 · score 0.51 · mouse button, mouse click, paradigm, RT
  7. [7] § Materials and methods › Procedure ↔ Experiment Code/runFaceNew.m, the whole file · a weak match · score 0.51 · pseudo random, sequence, paradigm, block, mouse

Paper

Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

MATLAB · 315 lines · 24 KB · CC-BY-4.0 · 3 matches

  1. function rating = face_exp_new (subject,window,screenNumber,width,height,session,pth,p1,p2,p3,ind,Index_Matrix,h)
  2. % check for Opengl compatibility, abort otherwise:
  3. AssertOpenGL;
  4. KbName('UnifyKeyNames');
  5. KbCheck;
  6. escape = KbName('ESCAPE');
  7. responseKey = 1; % X mouse button
  8. % h = IOPort('OpenSerialPort', 'com3','BaudRate=19200');
  9. % IOPort('Write', h, 'a');
  10. % load data
  11. folder = dir ('C:/Users/Dr. Koel Das/Documents/MATLAB/Srijita/Stim_test_SK/New Paradigm/FINAL STIMULI (MASKED + UNMASKED, INDEXED)/*.jpg');
  12. folder = natsortfiles(folder);
  13. %Index_Matrix = [32 133 222 205 314 17 324 76 332 173 72 337 38 325 299 146 350 9 212 263 59 191 105 164; 294 359 31 176 217 48 134 153 331 114 237 273 68 265 21 282 229 43 98 67 304 198 238 338; 160 80 180 241 308 143 93 25 94 227 209 297 353 122 85 4 345 302 3 280 186 149 284 108; 100 140 181 151 330 88 358 6 335 124 71 269 63 255 300 188 339 44 197 260 95 145 119 220; 56 148 185 169 290 74 348 20 327 152 65 259 49 245 258 224 355 8 193 296 33 161 111 206; 2 166 182 139 292 110 344 24 283 172 41 295 27 253 320 183 357 84 199 274 89 157 115 232; 178 113 147 75 242 215 12 343 218 306 101 275 267 103 156 333 102 352 34 328 131 187 138 106; 340 16 137 319 126 70 341 189 117 30 334 298 51 315 226 112 61 351 163 200 175 81 128 270; 82 29 211 54 289 288 1 208 249 109 135 42 194 159 168 266 243 201 278 79 310 170 46 301; 329 223 257 35 184 11 22 190 347 272 354 346 107 55 246 116 165 303 26 154 78 150 231 239; 291 305 228 322 69 141 136 40 123 250 120 240 45 221 286 23 92 15 271 216 316 203 349 66; 60 247 268 167 18 73 99 252 83 307 104 326 313 195 210 236 321 171 225 97 86 162 262 230; 57 261 342 47 254 192 244 279 158 36 118 214 233 251 28 174 13 129 19 177 336 62 309 235; 5 360 14 318 202 155 64 281 77 87 144 276 317 52 132 10 248 207 287 125 219 311 37 196; 96 50 90 53 323 285 312 142 58 264 356 277 130 213 127 256 121 234 179 39 293 91 7 204]; % pseudo-random image sequence, each row for a block
  14. [r,c]=size(Index_Matrix); % r = no. of blocks, c = no. of trials
  15. num = c; % num = no. of trials
  16. break_text = 'Please take a mandatory break for 2 minutes';
  17. wait_text = 'Wait for a few seconds ...';
  18. % for fixation cross
  19. x1 = (width/2)-10;
  20. y1 = (height/2);
  21. x2 = (width/2)+10;
  22. y2 = (height/2);
  23. xy1 = [x1 x2; y1 y2];
  24. x3 = (width/2);
  25. y3 = (height/2)-10;
  26. x4 = (width/2);
  27. y4 = (height/2)+10;
  28. xy2 = [x3 x4; y3 y4];
  29. try
  30. rating = zeros(num, 4); % to store stim_ref, RT, mouse-button clicked and points per subject per block: col1 = stim_list, col2: confidence ratin, col3: RT
  31. FixCr=zeros(500,2);
  32. fixcross = Screen('MakeTexture', window, FixCr);
  33. FixCr2=ones(40,40)*240;
  34. FixCr2(20:21,:)=0;
  35. FixCr2(:,20:21)=0; %try imshow(FixCr2) to display the result in Matlab
  36. fixcross2 = Screen('MakeTexture', window, FixCr2);
  37. ShowCursor(0,window);
  38. introText = 'Please read carefully: \n\n 1. You will be shown 30 images of faces you may or may not know.\n\n \n\n 2. Your task is to respond with a left mouse click (click only once, as soon as possible), \n\n in a 2-back manner, for images of the SAME INDIVIDUAL \n\n \n\n 3. Click on the LEFT mouse button AFTER you see the SECOND repeated image\n\n \n\n 4. Click to respond only when the "Response" text appears\n\n \n\n Click mouse button to continue ...';
  39. Screen('FillRect', window, 240);
  40. DrawFormattedText(window, introText, 'center', 'center', 0);
  41. % IOPort('Write',h,'t');WaitSecs(0.01);% IOPort('Write',h,'t');
  42. % IOPort('Write',h,'b'); % T1
  43. Screen('Flip', window);
  44. IOPort('Write',h,'b'); % T1
  45. while (1) %wait for user response
  46. [x,y,buttons] = GetMouse(screenNumber);
  47. if buttons(1) || KbCheck
  48. break;
  49. end
  50. end
  51. Jitter = [1,0.800000000000000,1,1,1,1,1,0.800000000000000,0.900000000000000,0.900000000000000,0.800000000000000,1,0.800000000000000,0.800000000000000,1,1,0.800000000000000,0.800000000000000,0.900000000000000,0.800000000000000,0.900000000000000,0.800000000000000,0.900000000000000,0.800000000000000,0.900000000000000,0.800000000000000,0.800000000000000,0.800000000000000,0.900000000000000,0.900000000000000,0.800000000000000,0.800000000000000,0.800000000000000,0.800000000000000,0.800000000000000,1,1,1,1,0.900000000000000,1,0.800000000000000,0.900000000000000,1,0.800000000000000,0.800000000000000,1,1,0.800000000000000,0.900000000000000,0.800000000000000,0.800000000000000,0.800000000000000,1,0.800000000000000,1,0.800000000000000,0.900000000000000,0.800000000000000,0.900000000000000,0.900000000000000,0.800000000000000,0.900000000000000,1,1,0.800000000000000,0.800000000000000,0.900000000000000,1,0.900000000000000,1,0.900000000000000,1,1,0.900000000000000,0.900000000000000,0.900000000000000,0.900000000000000,1,1,1,1,0.800000000000000,0.800000000000000,1,1,0.900000000000000,0.900000000000000,1,0.800000000000000,0.900000000000000,0.800000000000000,1,0.900000000000000,0.800000000000000,0.900000000000000,0.800000000000000,0.800000000000000,1,0.800000000000000,0.800000000000000,1,1,0.900000000000000,0.800000000000000,0.900000000000000,1,1,1,0.800000000000000,1,1,0.800000000000000,0.900000000000000,1,1,1,1,0.900000000000000,0.800000000000000,0.800000000000000,1,0.800000000000000,0.900000000000000,0.800000000000000,0.900000000000000,0.900000000000000,0.900000000000000,1,0.800000000000000,1,1,1,0.800000000000000,1,0.900000000000000,0.900000000000000,0.800000000000000,0.800000000000000,0.900000000000000,1,0.900000000000000,1,0.800000000000000,0.900000000000000,0.800000000000000,0.900000000000000,0.900000000000000,0.800000000000000,0.900000000000000,0.800000000000000,0.900000000000000,1,0.800000000000000,0.800000000000000,0.800000000000000,0.800000000000000,0.800000000000000,0.800000000000000,0.800000000000000,0.800000000000000,0.900000000000000,1,0.800000000000000,0.800000000000000,0.800000000000000,1,1,0.800000000000000,1,0.800000000000000,0.900000000000000,1,0.800000000000000,1,1,0.800000000000000,0.800000000000000,1,0.900000000000000,0.900000000000000,0.800000000000000,0.900000000000000,0.900000000000000,0.900000000000000,0.800000000000000,0.800000000000000,0.800000000000000,0.900000000000000,0.800000000000000,0.900000000000000,0.900000000000000,0.900000000000000,0.800000000000000,0.900000000000000,0.800000000000000,0.900000000000000,0.900000000000000,0.900000000000000,0.800000000000000,0.900000000000000,0.900000000000000,0.900000000000000,0.800000000000000,1,0.900000000000000,1,1,1,0.800000000000000,1,0.800000000000000,0.800000000000000,0.900000000000000,1,0.900000000000000,1,0.900000000000000,0.900000000000000,1,0.900000000000000,0.800000000000000,0.800000000000000,1,1,1,0.800000000000000,0.800000000000000,0.900000000000000,1,0.900000000000000,0.800000000000000,0.900000000000000,1,1,0.900000000000000,1,1,0.900000000000000,1,0.800000000000000,0.900000000000000,1,0.900000000000000,0.900000000000000,1,1,1,1,1,1,1,0.900000000000000,0.800000000000000,0.800000000000000,0.900000000000000,1,0.800000000000000,0.800000000000000,0.900000000000000,1,0.800000000000000,0.800000000000000,0.900000000000000,0.900000000000000,1,0.900000000000000,0.900000000000000,0.900000000000000,0.900000000000000,1,0.900000000000000,0.900000000000000,1,0.800000000000000,0.800000000000000,0.900000000000000,0.900000000000000,0.800000000000000,1,0.800000000000000,0.900000000000000,0.900000000000000,0.800000000000000,0.900000000000000,0.800000000000000,0.900000000000000,1,0.900000000000000,0.800000000000000,0.900000000000000,1,0.900000000000000,1,0.900000000000000,0.900000000000000,1,0.900000000000000,1,0.800000000000000,0.900000000000000,0.900000000000000,1,0.900000000000000,0.900000000000000,0.900000000000000,0.900000000000000,0.900000000000000,0.800000000000000,1,1,0.800000000000000,0.800000000000000,0.900000000000000,0.800000000000000,0.800000000000000,0.900000000000000,0.900000000000000,0.800000000000000,0.800000000000000,0.800000000000000,1,0.800000000000000,1,0.800000000000000,0.800000000000000,0.800000000000000,0.800000000000000,0.800000000000000,1,0.800000000000000,0.900000000000000,0.800000000000000,1,1,1,1,0.800000000000000,0.900000000000000,1,1,1,0.900000000000000,0.800000000000000,0.800000000000000,0.900000000000000,1,0.900000000000000,0.800000000000000,0.800000000000000,1,0.800000000000000,0.800000000000000,0.800000000000000,1,0.900000000000000,0.900000000000000,0.800000000000000,1,0.900000000000000,0.900000000000000,1,0.800000000000000,1,1,1,1,0.800000000000000,0.900000000000000,0.800000000000000,0.800000000000000,0.900000000000000,0.900000000000000,0.800000000000000,1,0.800000000000000,1,0.900000000000000,1,0.800000000000000,1,0.900000000000000,0.800000000000000,0.900000000000000,0.900000000000000,0.900000000000000,1,0.900000000000000,1,0.800000000000000,1,1,0.900000000000000,0.800000000000000,1,0.900000000000000,1,0.800000000000000,0.900000000000000,0.900000000000000,0.800000000000000,0.900000000000000,1,1,1,1,0.900000000000000,0.800000000000000,1,0.900000000000000,1,0.800000000000000,1,0.800000000000000,1,1,0.900000000000000,1,0.900000000000000,1,0.900000000000000,0.900000000000000,0.900000000000000,1,1,0.800000000000000,1,0.900000000000000,1,0.800000000000000,1,0.900000000000000,1,0.900000000000000,1,0.900000000000000,0.900000000000000,0.800000000000000,0.900000000000000,1,0.800000000000000,1,0.800000000000000,0.900000000000000,0.900000000000000,0.900000000000000,0.800000000000000,0.900000000000000,0.800000000000000,0.900000000000000];
  52. Jitter2 = [0.400000000000000,0.300000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.300000000000000,0.350000000000000,0.350000000000000,0.300000000000000,0.400000000000000,0.300000000000000,0.300000000000000,0.400000000000000,0.400000000000000,0.300000000000000,0.300000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.300000000000000,0.300000000000000,0.300000000000000,0.350000000000000,0.350000000000000,0.300000000000000,0.300000000000000,0.300000000000000,0.300000000000000,0.300000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.350000000000000,0.400000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.300000000000000,0.300000000000000,0.400000000000000,0.400000000000000,0.300000000000000,0.350000000000000,0.300000000000000,0.300000000000000,0.300000000000000,0.400000000000000,0.300000000000000,0.400000000000000,0.300000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.400000000000000,0.300000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.400000000000000,0.400000000000000,0.350000000000000,0.350000000000000,0.350000000000000,0.350000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.300000000000000,0.300000000000000,0.400000000000000,0.400000000000000,0.350000000000000,0.350000000000000,0.400000000000000,0.300000000000000,0.350000000000000,0.300000000000000,0.400000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.300000000000000,0.300000000000000,0.400000000000000,0.300000000000000,0.300000000000000,0.400000000000000,0.400000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.300000000000000,0.400000000000000,0.400000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.350000000000000,0.300000000000000,0.300000000000000,0.400000000000000,0.300000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.350000000000000,0.350000000000000,0.400000000000000,0.300000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.300000000000000,0.400000000000000,0.350000000000000,0.350000000000000,0.300000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.400000000000000,0.300000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.300000000000000,0.300000000000000,0.300000000000000,0.300000000000000,0.300000000000000,0.300000000000000,0.300000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.300000000000000,0.300000000000000,0.300000000000000,0.400000000000000,0.400000000000000,0.300000000000000,0.400000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.300000000000000,0.400000000000000,0.400000000000000,0.300000000000000,0.300000000000000,0.400000000000000,0.350000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.350000000000000,0.350000000000000,0.300000000000000,0.300000000000000,0.300000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.350000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.350000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.350000000000000,0.350000000000000,0.300000000000000,0.400000000000000,0.350000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.300000000000000,0.400000000000000,0.300000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.300000000000000,0.300000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.300000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.400000000000000,0.350000000000000,0.400000000000000,0.400000000000000,0.350000000000000,0.400000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.350000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.350000000000000,0.300000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.300000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.300000000000000,0.300000000000000,0.350000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.350000000000000,0.350000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.350000000000000,0.400000000000000,0.300000000000000,0.300000000000000,0.350000000000000,0.350000000000000,0.300000000000000,0.400000000000000,0.300000000000000,0.350000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.400000000000000,0.300000000000000,0.350000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.350000000000000,0.350000000000000,0.350000000000000,0.350000000000000,0.300000000000000,0.400000000000000,0.400000000000000,0.300000000000000,0.300000000000000,0.350000000000000,0.300000000000000,0.300000000000000,0.350000000000000,0.350000000000000,0.300000000000000,0.300000000000000,0.300000000000000,0.400000000000000,0.300000000000000,0.400000000000000,0.300000000000000,0.300000000000000,0.300000000000000,0.300000000000000,0.300000000000000,0.400000000000000,0.300000000000000,0.350000000000000,0.300000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.350000000000000,0.300000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.300000000000000,0.300000000000000,0.400000000000000,0.300000000000000,0.300000000000000,0.300000000000000,0.400000000000000,0.350000000000000,0.350000000000000,0.300000000000000,0.400000000000000,0.350000000000000,0.350000000000000,0.400000000000000,0.300000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.300000000000000,0.350000000000000,0.300000000000000,0.300000000000000,0.350000000000000,0.350000000000000,0.300000000000000,0.400000000000000,0.300000000000000,0.400000000000000,0.350000000000000,0.400000000000000,0.300000000000000,0.400000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.350000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.400000000000000,0.300000000000000,0.400000000000000,0.400000000000000,0.350000000000000,0.300000000000000,0.400000000000000,0.350000000000000,0.400000000000000,0.300000000000000,0.350000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.400000000000000,0.350000000000000,0.300000000000000,0.400000000000000,0.350000000000000,0.400000000000000,0.300000000000000,0.400000000000000,0.300000000000000,0.400000000000000,0.400000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.350000000000000,0.350000000000000,0.400000000000000,0.400000000000000,0.300000000000000,0.400000000000000,0.350000000000000,0.400000000000000,0.300000000000000,0.400000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.400000000000000,0.350000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.400000000000000,0.300000000000000,0.400000000000000,0.300000000000000,0.350000000000000,0.350000000000000,0.350000000000000,0.300000000000000,0.350000000000000,0.300000000000000,0.350000000000000];
  53. trials = Index_Matrix(session,:);
  54. % start trials
  55. for n = 1:c
  56. %HideCursor;
  57. %start_time_trial = GetSecs;
  58. idx = trials (n);
  59. if n>2
  60. idx_copy = trials(n-2);
  61. end
  62. I = imread([folder(idx).name]);
  63. theImage = imresize(I, 0.75); % resizing
  64. %theImage = I;
  65. %% fixation cross (Jitter1)
  66. %t_in = randi([1,4],1);
  67. t_fc = Jitter(ind);
  68. Screen('FillRect', window, [240, 240, 240]);
  69. %Screen('DrawTexture', window, fixcross2);
  70. Screen('DrawLines', window, xy1, 1, 0);
  71. Screen('DrawLines', window, xy2, 1, 0);
  72. Screen('Flip', window);
  73. IOPort('Write',h,'b'); % T2
  74. % wait for 800 - 1000 ms
  75. WaitSecs(t_fc);
  76. %start_time = GetSecs;
  77. %% Present stimuli (100 ms)
  78. Screen('FillRect', window, [240 240 240])
  79. % Make the image into a texture
  80. imageTexture = Screen('MakeTexture', window, theImage);
  81. % Draw the image to the screen
  82. Screen('DrawTexture', window, imageTexture, [], [], 0);
  83. Screen('DrawLines', window, xy1, 1, 0);
  84. Screen('DrawLines', window, xy2, 1, 0);
  85. % Flip to the screen
  86. Screen('Flip', window);
  87. IOPort('Write',h,'b'); % T3
  88. WaitSecs(0.1);
  89. %% pre-response screen
  90. t_fc2 = Jitter2(ind);
  91. Screen('FillRect', window, [240 240 240])
  92. % fixation cross
  93. Screen('DrawLines', window, xy1, 1, 0);
  94. Screen('DrawLines', window, xy2, 1, 0);
  95. %Screen('DrawTexture', window, fixcross2);
  96. % Flip to the screen
  97. Screen('Flip', window);
  98. IOPort('Write',h,'b'); % T4
  99. % Wait for 300-400 ms
  100. WaitSecs(t_fc2);
  101. %% inter-stimulus-interval/Response Screen
  102. responseText = 'Response';
  103. Screen('FillRect', window, [240 240 240]);
  104. if n>2
  105. DrawFormattedText(window, responseText, 'center', (height/2)-70, 0);
  106. end
  107. Screen('DrawLines', window, xy1, 1, 0);
  108. Screen('DrawLines', window, xy2, 1, 0);
  109. % Flip to the screen
  110. Screen('Flip', window);
  111. start_time = GetSecs;
  112. IOPort('Write',h,'b'); % T5
  113. t0 = GetSecs;
  114. answer = 0;
  115. while answer == 0
  116. [x,y,buttons,focus,valuators,valinfo] = GetMouse(screenNumber);
  117. secs = GetSecs;
  118. %WaitSecs(1);
  119. if buttons(responseKey) == 1
  120. answer = 1;
  121. end
  122. if secs - t0 > 1
  123. break
  124. end
  125. end
  126. restime(n) = secs - start_time;
  127. result(n) = answer;
  128. %% saving stimuli-wise performance
  129. if n==1 && answer == 1 % Go on non-task trial
  130. points(n)=0;
  131. elseif n==2 && answer == 1 % Go on non-task trial
  132. points(n)=0;
  133. elseif n>2 && idx == (idx_copy+2) && answer==1 % Go on task-trials
  134. points(n)=1;
  135. elseif n>2 && idx == (idx_copy+4) && answer==1 % Go on task-trials
  136. points(n)=1;
  137. elseif n>2 && idx == (idx_copy-2) && answer==1 % Go on task-trials
  138. points(n)=1;
  139. elseif n>2 && idx == (idx_copy-4) && answer==1 % Go on task-trials
  140. points(n)=1;
  141. elseif n==1 && answer == 0 % No-go on non-task trial
  142. points(n)=1;
  143. elseif n==2 && answer == 0 % No-go on non-task trial
  144. points(n)=1;
  145. elseif n>2 && idx == (idx_copy+2) && answer==0 % No-go on task-trials
  146. points(n)=0;
  147. elseif n>2 && idx == (idx_copy+4) && answer==0
  148. points(n)=0;
  149. elseif n>2 && idx == (idx_copy-2) && answer==0
  150. points(n)=0;
  151. elseif n>2 && idx == (idx_copy-4) && answer==0
  152. points(n)=0;
  153. elseif n>2 && idx ~= (idx_copy+2) && answer==0 % No-go on non task-trials
  154. points(n)=1;
  155. elseif n>2 && idx ~= (idx_copy+4) && answer==0
  156. points(n)=1;
  157. elseif n>2 && idx ~= (idx_copy-2) && answer==0
  158. points(n)=1;
  159. elseif n>2 && idx ~= (idx_copy-4) && answer==0
  160. points(n)=1;
  161. elseif n>2 && idx ~= (idx_copy+2) && answer==1 % Go on non-task task-trials
  162. points(n)=0;
  163. elseif n>2 && idx ~= (idx_copy+4) && answer==1
  164. points(n)=0;
  165. elseif n>2 && idx ~= (idx_copy-2) && answer==1
  166. points(n)=0;
  167. elseif n>2 && idx ~= (idx_copy-4) && answer==1
  168. points(n)=0;
  169. % elseif n>2 && idx~=idx_copy && answer==0 % No-go on non-task trials
  170. % points(n)=1;
  171. % elseif n>2 && idx ~= idx_copy && answer==1 % Go on non-task trials
  172. % points(n)=0;
  173. % elseif n>2 && idx == idx_copy && answer==0 % No-go on task trials
  174. % points(n)=0;
  175. end
  176. ind = ind+1;
  177. end
  178. %filename = strcat(subject,'log',num2str(session), '.mat');'
  179. % result = result';
  180. % restime = restime';
  181. rating(:,1)=trials';
  182. rating(:,2)=result;
  183. rating(:,3)=restime;
  184. rating(:,4)=points;
  185. %filename = strcat('Log', {' '}, subject, {'_'}, num2str(session), '.mat');
  186. filename = sprintf('Log_%s_block_%d.mat', subject, session);
  187. save([pth filename], 'rating');
  188. session=session+1;
  189. trial = sprintf('Session \n\n %d',session);
  190. if session == 8
  191. Screen('FillRect', window, 240);
  192. DrawFormattedText(window, break_text, 'center', 'center', 0);
  193. % IOPort('Write',h,'t');WaitSecs(0.01);% IOPort('Write',h,'t');
  194. Screen('Flip', window);
  195. KbPressWait();
  196. else
  197. Screen('FillRect', window, 240);
  198. DrawFormattedText(window, wait_text, 'center', 'center', 0);
  199. % IOPort('Write',h,'t');WaitSecs(0.01);% IOPort('Write',h,'t');
  200. Screen('Flip', window);
  201. KbPressWait();
  202. end
  203. Screen('FillRect', window, 100);
  204. % Screen(window,'FillRect',[100,100,100],[100,200,300,500]);
  205. % Screen('DrawText', window, 'Practice', 150, 350, [0 0 0]);
  206. Screen(window,'FillRect',130,p1);
  207. DrawFormattedText(window, trial,p1(1)+50,p1(2)+100,[0,0,0]);
  208. Screen(window,'FillRect',130,p3);
  209. Screen('DrawText', window, 'Abort', p3(1)+50, p3(2)+100, [0 0 0]);
  210. %if session == 8
  211. %DrawFormattedText(window, break_text, 'center', (height/2)-250, 0);
  212. %end
  213. Screen('Flip',window);
  214. switch ind
  215. case 451
  216. introText = 'Thank You For Your Time and Contribution Towards Science.\n\n We truly appreciate your participation!\n\n Press Esc to exit';
  217. Screen('FillRect', window, 100);
  218. DrawFormattedText(window, introText, 'center', 'center', 0);
  219. Screen('Flip', window);
  220. % Wait for keystroke:
  221. [~, keycode] = KbStrokeWait;
  222. % Escape exits:
  223. if keycode(escape)
  224. Screen('CloseAll');
  225. ShowCursor;
  226. % Screen('Preference', 'Verbosity', oldVerbosityLevel);
  227. % Screen('Preference', 'VisualDebugLevel', oldVisualDebugLevel);
  228. end
  229. otherwise
  230. while 1
  231. while buttons(1) %if already pressed, wait for release
  232. [x, y, buttons] = GetMouse;
  233. end
  234. while ~buttons(1) %wait for press
  235. [x, y, buttons] = GetMouse;
  236. end
  237. while buttons(1) %wait for release
  238. [x, y, buttons] = GetMouse;
  239. end
  240. if IsInRect(x,y,p1)
  241. % Screen('CloseAll');
  242. close all;
  243. ShowCursor;
  244. % session=session+1;
  245. face_exp_new(subject,window,screenNumber,width,height,session,pth,p1,p2,p3,ind,Index_Matrix,h);
  246. % Screen('Preference', 'Verbosity', oldVerbosityLevel);
  247. % Screen('Preference', 'VisualDebugLevel', oldVisualDebugLevel);
  248. break;
  249. end
  250. if IsInRect(x,y,p3)
  251. Screen('CloseAll');
  252. ShowCursor;
  253. % Screen('Preference', 'Verbosity', oldVerbosityLevel);
  254. % Screen('Preference', 'VisualDebugLevel', oldVisualDebugLevel);
  255. break;
  256. end
  257. end
  258. end
  259. catch
  260. Screen('CloseAll');
  261. ShowCursor;
  262. % Screen('Preference', 'Verbosity', oldVerbosityLevel);
  263. % Screen('Preference', 'VisualDebugLevel', oldVisualDebugLevel);
  264. psychrethrow(psychlasterror);
  265. end
  266. end

face_exp_new.m at commit 4d9fae0, under CC-BY-4.0 · at the source

Overview

Authors: Srijita Karmakar1,2, Subhajit Das2, Koel Das2
ORCID iDs: Srijita Karmakar
  1. Department of Psychological and Brain Sciences, University of California Santa Barbara, Santa Barbara, CA, United States
  2. Indian Institute of Science Education and Research Kolkata, Kolkata, West Bengal, India
Journal: Frontiers in psychology, volume 17, article 1671509
Dates: received 23 July 2025; accepted 20 February 2026; published online 17 April 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.3389/fpsyg.2026.1671509 · PMID 42077297 · PMCID PMC13134374 · OpenAlex W7154783770
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: EEG (modality), human (organism), other condition (population), cognitive (subfield)
Methods: Spectral & time-frequency, Statistics, Machine learning, Preprocessing, Evoked potentials, Physiology & signal measures
Keywords: EEG, face familiarity, face masks, face recognition, N170, N250, COVID-19
Topic: Face Recognition and Perception (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Citations: not cited yet (Europe PMC); 79 references in the paper

Abstract

Introduction: The introduction of face masks during the recent COVID-19 pandemic presented a potential challenge for human face perception and recognition. Our exploratory study investigates the effect of face masks in face recognition by probing the neuropsychological mechanisms of the same. We also aim to explicate the effect of general exposure to masked faces and visual experience with specific masked faces of personally familiar individuals on face recognition ability.

Methods: Participants detected personally familiar, famous, and unfamiliar Indian faces in masked and unmasked conditions in a 2-back test.

Results: Statistical analyses revealed significant main effects of familiarity and mask conditions on performance accuracy and reaction time (RT). The highest performance accuracy in correctly detecting the target face was observed for familiar and unmasked faces, and the lowest for unfamiliar and masked ones. Notably, RTs were not different between unmasked and masked personally familiar faces, while masked famous faces elicited significantly greater RT than their unmasked counterpart. EEG analysis was consistent with behavioral results. Specifically, we show neural evidence for increased effort in processing masked famous faces that is similar to that for masked unfamiliar faces, but absent for masked familiar faces. This increased effort to process masked faces of unfamiliar or famous individuals is suggestive of a beneficial effect of visual exposure to, and experience with, specific masked faces.

Conclusion: In sum, our study presents behavioral and neural evidence that personal familiarity with masked faces aids perceptual learning and eventual recognition, and this learning does not generalize to otherwise well-known faces.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above, with 7 matches between paragraphs and lines of code.

srijitakarmakar/MaskedFacePerception

License: CC-BY-4.0
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Commit: 4d9fae095ca3597833aea2961e7597ad932787bb, 8 February 2026
Languages: MATLAB (25)
Size: 936 files, 25 scripts
Software Heritage: not archived
Found in: “Data availability statement”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 29 September 2026: the link answers
  • 29 September 2026: the link answers
27 files

The paper's code and data availability statement is in the Data section.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 25 scripts, each with its path and the digest of its content;
  • 7 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

Datasets cited

Data availability statement

The raw and processed behavioral data, processed EEG data, and codes for experiment presentation, analysis, and figure generation are made publicly available on a GitHub repository: https://github.com/srijitakarmakar/MaskedFacePerception.git.

Reproduced under the paper's license (CC BY), from the paper cited above.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 29 September 2026: the first record

Recorded: type, language, journal, volume, pages, dates, 3 authors, 7 keywords, 70 references.

Cite

This paper

Karmakar, S., Das, S., & Das, K. (2026). Visual exposure to masked faces benefits personally familiar but not famous face recognition. Frontiers in psychology, 17, 1671509. https://doi.org/10.3389/fpsyg.2026.1671509

BibTeX

@article{karmakar2026visual,
author = {Karmakar, Srijita and Das, Subhajit and Das, Koel},
title = {{Visual exposure to masked faces benefits personally familiar but not famous face recognition}},
journal = {Frontiers in psychology},
year = {2026},
month = apr,
volume = {17},
pages = {1671509},
publisher = {Frontiers Media SA},
issn = {1664-1078},
doi = {10.3389/fpsyg.2026.1671509},
url = {https://doi.org/10.3389/fpsyg.2026.1671509},
pmid = {42077297},
pmcid = {PMC13134374}
}

RIS

TY - JOUR
AU - Karmakar, Srijita
AU - Das, Subhajit
AU - Das, Koel
TI - Visual exposure to masked faces benefits personally familiar but not famous face recognition
T2 - Frontiers in psychology
J2 - Front Psychol
PY - 2026
DA - 2026/04/17
VL - 17
SP - 1671509
SN - 1664-1078
PB - Frontiers Media SA
DO - 10.3389/fpsyg.2026.1671509
UR - https://doi.org/10.3389/fpsyg.2026.1671509
LA - en
ER -

CSL-JSON

{
"id": "10.3389/fpsyg.2026.1671509",
"type": "article-journal",
"title": "Visual exposure to masked faces benefits personally familiar but not famous face recognition",
"container-title": "Frontiers in psychology",
"author": [
{
"family": "Karmakar",
"given": "Srijita"
},
{
"family": "Das",
"given": "Subhajit"
},
{
"family": "Das",
"given": "Koel"
}
],
"container-title-short": "Front Psychol",
"volume": "17",
"page": "1671509",
"DOI": "10.3389/fpsyg.2026.1671509",
"PMID": "42077297",
"PMCID": "PMC13134374",
"ISSN": "1664-1078",
"publisher": "Frontiers Media SA",
"URL": "https://doi.org/10.3389/fpsyg.2026.1671509",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
17
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.1523/eneuro.0328-25.2026 [code]
Objective Neural Markers of Identity Familiarization via Passive Exposure and Fast Periodic Visual Stimulation EEG.
Journal: eNeuro
In common: EEG, cognitive, 5 references
[2] doi:10.1093/nc/niag042
Early correlates of visual awareness are affected by self-related information.
Journal: Neuroscience of consciousness
In common: EEG, cognitive, 5 references
[3] doi:10.1093/brain/awaf431 [code]
Behavioural and clinical biomarkers of the human bed nucleus of stria terminalis from direct neural recordings.
Journal: Brain : a journal of neurology
In common: Psychtoolbox, EEGLAB, Image Processing Toolbox, 2 other tools, other condition, 1 reference
[4] doi:10.1038/s41467-026-71502-z [code]
Neurons of the human subthalamic nucleus engage with local delta frequency processes during action cancellation.
Journal: Nature communications
In common: Psychtoolbox, EEGLAB, Image Processing Toolbox, 2 other tools, 1 reference
[5] doi:10.1038/s41467-026-74099-5 [code]
Right amygdala ablation reduces maladaptive negative interpretation bias and symptoms in a patient with post-traumatic stress disorder.
Journal: Nature communications
In common: Psychtoolbox, Image Processing Toolbox, Statistics and Machine Learning Toolbox, EEG, other condition, 2 references
[6] doi:10.7554/elife.108017 [code]
Visual working memory guides attention rhythmically in humans.
Journal: eLife
In common: Psychtoolbox, EEGLAB, Image Processing Toolbox, 1 other tool, cognitive, 1 reference
[7] doi:10.1162/imag.a.1258 [code]
Non-specific increase in alpha power during a neurofeedback session targeting its downregulation.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: Psychtoolbox, EEGLAB, Signal Processing Toolbox, 1 other tool, EEG, 1 reference
[8] doi:10.1523/jneurosci.0154-26.2026 [code]
Faster but less precise: expectation enhances response speed while reducing sensory fidelity.
Journal: The Journal of neuroscience : the official journal of the Society for Neuroscience
In common: EEGLAB, Image Processing Toolbox, Signal Processing Toolbox, 1 other tool, EEG, cognitive, 1 reference
[9] doi:10.1038/s41467-026-73916-1 [code]
Learned statistical regularity modulates anticipatory micro-saccades toward suppressed distractor locations.
Journal: Nature communications
In common: EEGLAB, Image Processing Toolbox, Signal Processing Toolbox, 1 other tool, EEG, cognitive, 1 reference
[10] doi:10.1093/cercor/bhag075 [code]
Cortical dynamics of icon perception: effects of concreteness and attractiveness.
Journal: Cerebral cortex (New York, N.Y. : 1991)
In common: cognitive, 4 references

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.