Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

StimSettings.m 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. %StimSettings
  2. global StimObj
  3. %% ========================================================================
  4. % Refreshrate -------------------------------------------------------------
  5. Stm(1).UsePreDefFlipTime=false; %else as fast as possible
  6. Stm(1).FlipTimePredef = 1/75;
  7. % Background --------------------------------------------------------------
  8. %Stm(1).BackColor = [.5 .5 .5]; % [R G B] 0-1
  9. Stm(1).BackColor = (88/255).*[1 1 1]; % [R G B] 0-1
  10. % Leuven retinotopy clips have a background of 88 out of 256
  11. % Fixation ----------------------------------------------------------------
  12. Stm(1).FixDotSize = 0.15;
  13. Stm(1).FixDotSurrSize = 0.75;
  14. Stm(1).FixDotCol = [1 0 0;1 0 0]; %[RGB if not fixating; RGB fixating]
  15. % Fixation position can be toggled with 1-5 keys --------------------------
  16. Stm(1).Position{1} = [0 0]; % deg from center [vert hor] (-=left/down)
  17. Stm(1).Position{2} = [-10 -5]; % deg from center (-=left/down)
  18. Stm(1).Position{3} = [+10 -5]; % deg from center (-=left/down)
  19. Stm(1).Position{4} = [-10 +5]; % deg from center (-=left/down)
  20. Stm(1).Position{5} = [+10 +5]; % deg from center (-=left/down)
  21. % Stimulus position can be cycled automatically every n-th trial
  22. Stm(1).CyclePosition = 0; % set zero for manual cycling
  23. % Retinotopic mapping stimulus --------------------------------------------
  24. Stm(1).RandomizeStim=false;
  25. Stm(1).nRepeatsStimSet=1;
  26. Stm(1).RetMap.StimType{1} = 'none'; % face / walker / checkerboard / none
  27. Stm(1).RetMap.StimType{2} = 'circle';
  28. % face / walker: circle / wedge
  29. % ret: pRF_8bar / wedge_cw/ccw / ring_con/exp
  30. Stm(1).RetMap.Dir = +1; % +1 = expanding / ccw, -1 = contracting / cw
  31. % only informative for face/walker stimuli
  32. Stm(1).RetMap.TRsPerStep = 1; %s
  33. Stm(1).RetMap.PreDur_TRs = 5; % volumes
  34. Stm(1).RetMap.PostDur_TRs = 5; % volumes
  35. Stm(1).RetMap.nCycles = 2; % 0=unlimited
  36. Stm(1).RetMap.nSteps = 32;
  37. % (32 for KUL face/walkers; multiple of 8 for 8bar)
  38. Stm(1).RetMap.nBlanks_each_nSteps = [0 0]; % if either is zero, it won't work
  39. % This only applies to newly created stim =================================
  40. Stm(1).RetMap.StimSize = 15; % degrees (square)
  41. % Maximum size is screen height, will be corrected if it exceeds!
  42. Stm(1).RetMap.nBlanks_each_nSteps = [0 0];
  43. Stm(1).RetMap.MotionSteps = 15; % number of checker motion steps
  44. Stm(1).RetMap.fps = 20; % speed of checker motion
  45. Stm(1).RetMap.WedgeDeg = 45; % angular coverage of wedge
  46. Stm(1).RetMap.SubWedgeDeg = 15; % angular coverage of checkers in wedge
  47. Stm(1).RetMap.RingDeg = Stm(1).RetMap.StimSize/8; % width of stim ring
  48. Stm(1).RetMap.SubRingDeg = Stm(1).RetMap.RingDeg/5; % width of checker ring
  49. Stm(1).RetMap.BarWidth = Stm(1).RetMap.StimSize/8; % bar width in deg
  50. Stm(1).RetMap.chksize = Stm(1).RetMap.BarWidth/4; % bar checker size in deg
  51. % =========================================================================
  52. Stm(1).RetMap.LoadFromFile = false;
  53. Stm(1).RetMap.SaveToFile = false;
  54. Stm(1).RetMap.FileName = 'pRF_8bars_MOCK.mat';
  55. % Logfolder
  56. Stm(1).LogFolder = fullfile('HRF-checker','Default');
  57. %% ========================================================================
  58. % Write stimulus settings to global variable StimObj
  59. StimObj.Stm = Stm;