Commit 170d66d3 authored by Jesse Heckman's avatar Jesse Heckman
Browse files

added experiment Daan to tmp

parent e386ae56
......@@ -86,12 +86,12 @@ function pb_vGenVisExp(varargin)
fixled.bool = true; % do you want a fixation light?
fixled.x = 0;
fixled.y = 0;
fixled.dur = 2000;
fixled.pause = 200;
fixled.dur = 1000;
fixled.pause = 1000;
modality = 2; % 2=VISUAL
int = [50]; % w/ [i1, i2, i3...]
dur = [1]; % stim duration in ms
dur = [5]; % stim duration in ms
col = [1]; % w/ [R,G]
[X,~,~] = ndgrid(X,0,col,int,dur);
......@@ -157,7 +157,7 @@ function writeexp(expfile,datdir,theta,phi,int,dur,block,fixled)
% Write exp-file with file-name FNAME.
expfile = fcheckext(expfile,'.exp'); % check whether the extension exp is included
fid = fopen(expfile,'w'); % this is the way to write date to a new file
fid = fopen(expfile,'wt+'); % this is the way to write date to a new file
trialsz = numel(theta); % number of trials
blocksz = length(block); % xnumber of blocks
......
......@@ -26,98 +26,98 @@ VER 1 0 79 0.1
% Trial: 1
==>
LED 0 0 50 0 0 0 2000
LED -20 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -35 -0 50 0 2000 0 2005
% Trial: 2
==>
LED 0 0 50 0 0 0 2000
LED -35 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -30 -0 50 0 2000 0 2005
% Trial: 3
==>
LED 0 0 50 0 0 0 2000
LED 30 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 45 0 50 0 2000 0 2005
% Trial: 4
==>
LED 0 0 50 0 0 0 2000
LED 5 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -25 -0 50 0 2000 0 2005
% Trial: 5
==>
LED 0 0 50 0 0 0 2000
LED -15 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 25 -0 50 0 2000 0 2005
% Trial: 6
==>
LED 0 0 50 0 0 0 2000
LED 35 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 15 -0 50 0 2000 0 2005
% Trial: 7
==>
LED 0 0 50 0 0 0 2000
LED 20 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 5 -0 50 0 2000 0 2005
% Trial: 8
==>
LED 0 0 50 0 0 0 2000
LED -10 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -45 -0 50 0 2000 0 2005
% Trial: 9
==>
LED 0 0 50 0 0 0 2000
LED -25 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 30 -0 50 0 2000 0 2005
% Trial: 10
==>
LED 0 0 50 0 0 0 2000
LED 45 0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -5 -0 50 0 2000 0 2005
% Trial: 11
==>
LED 0 0 50 0 0 0 2000
LED 25 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 0 -0 50 0 2000 0 2005
% Trial: 12
==>
LED 0 0 50 0 0 0 2000
LED -45 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 35 -0 50 0 2000 0 2005
% Trial: 13
==>
LED 0 0 50 0 0 0 2000
LED -40 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -10 -0 50 0 2000 0 2005
% Trial: 14
==>
LED 0 0 50 0 0 0 2000
LED -30 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -20 -0 50 0 2000 0 2005
% Trial: 15
==>
LED 0 0 50 0 0 0 2000
LED 40 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 20 -0 50 0 2000 0 2005
% Trial: 16
==>
LED 0 0 50 0 0 0 2000
LED 15 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -15 -0 50 0 2000 0 2005
% Trial: 17
==>
LED 0 0 50 0 0 0 2000
LED -5 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 10 -0 50 0 2000 0 2005
% Trial: 18
==>
LED 0 0 50 0 0 0 2000
LED 0 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 40 -0 50 0 2000 0 2005
% Trial: 19
==>
LED 0 0 50 0 0 0 2000
LED 10 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -40 -0 50 0 2000 0 2005
~~~
% Block: 2
......@@ -127,98 +127,98 @@ VER 2 25 79 0.1
% Trial: 20
==>
LED 0 0 50 0 0 0 2000
LED 15 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -20 -0 50 0 2000 0 2005
% Trial: 21
==>
LED 0 0 50 0 0 0 2000
LED -35 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 25 -0 50 0 2000 0 2005
% Trial: 22
==>
LED 0 0 50 0 0 0 2000
LED 25 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 10 -0 50 0 2000 0 2005
% Trial: 23
==>
LED 0 0 50 0 0 0 2000
LED 30 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -30 -0 50 0 2000 0 2005
% Trial: 24
==>
LED 0 0 50 0 0 0 2000
LED 5 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -25 -0 50 0 2000 0 2005
% Trial: 25
==>
LED 0 0 50 0 0 0 2000
LED 20 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -35 -0 50 0 2000 0 2005
% Trial: 26
==>
LED 0 0 50 0 0 0 2000
LED 45 0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -15 -0 50 0 2000 0 2005
% Trial: 27
==>
LED 0 0 50 0 0 0 2000
LED -5 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -10 -0 50 0 2000 0 2005
% Trial: 28
==>
LED 0 0 50 0 0 0 2000
LED 0 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 20 -0 50 0 2000 0 2005
% Trial: 29
==>
LED 0 0 50 0 0 0 2000
LED -40 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 40 -0 50 0 2000 0 2005
% Trial: 30
==>
LED 0 0 50 0 0 0 2000
LED -20 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 45 0 50 0 2000 0 2005
% Trial: 31
==>
LED 0 0 50 0 0 0 2000
LED 40 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 5 -0 50 0 2000 0 2005
% Trial: 32
==>
LED 0 0 50 0 0 0 2000
LED 10 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -40 -0 50 0 2000 0 2005
% Trial: 33
==>
LED 0 0 50 0 0 0 2000
LED -10 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 0 -0 50 0 2000 0 2005
% Trial: 34
==>
LED 0 0 50 0 0 0 2000
LED -15 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 15 -0 50 0 2000 0 2005
% Trial: 35
==>
LED 0 0 50 0 0 0 2000
LED 35 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -5 -0 50 0 2000 0 2005
% Trial: 36
==>
LED 0 0 50 0 0 0 2000
LED -30 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 35 -0 50 0 2000 0 2005
% Trial: 37
==>
LED 0 0 50 0 0 0 2000
LED -25 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -45 -0 50 0 2000 0 2005
% Trial: 38
==>
LED 0 0 50 0 0 0 2000
LED -45 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 30 -0 50 0 2000 0 2005
~~~
% Block: 3
......@@ -228,98 +228,98 @@ VER 3 25 79 0.1
% Trial: 39
==>
LED 0 0 50 0 0 0 2000
LED -40 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 45 0 50 0 2000 0 2005
% Trial: 40
==>
LED 0 0 50 0 0 0 2000
LED 35 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -5 -0 50 0 2000 0 2005
% Trial: 41
==>
LED 0 0 50 0 0 0 2000
LED 30 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 25 -0 50 0 2000 0 2005
% Trial: 42
==>
LED 0 0 50 0 0 0 2000
LED -15 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -15 -0 50 0 2000 0 2005
% Trial: 43
==>
LED 0 0 50 0 0 0 2000
LED 15 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -40 -0 50 0 2000 0 2005
% Trial: 44
==>
LED 0 0 50 0 0 0 2000
LED -30 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -10 -0 50 0 2000 0 2005
% Trial: 45
==>
LED 0 0 50 0 0 0 2000
LED -35 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 0 -0 50 0 2000 0 2005
% Trial: 46
==>
LED 0 0 50 0 0 0 2000
LED -5 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -25 -0 50 0 2000 0 2005
% Trial: 47
==>
LED 0 0 50 0 0 0 2000
LED -10 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -35 -0 50 0 2000 0 2005
% Trial: 48
==>
LED 0 0 50 0 0 0 2000
LED 40 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 10 -0 50 0 2000 0 2005
% Trial: 49
==>
LED 0 0 50 0 0 0 2000
LED 0 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 20 -0 50 0 2000 0 2005
% Trial: 50
==>
LED 0 0 50 0 0 0 2000
LED 25 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 5 -0 50 0 2000 0 2005
% Trial: 51
==>
LED 0 0 50 0 0 0 2000
LED 20 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 40 -0 50 0 2000 0 2005
% Trial: 52
==>
LED 0 0 50 0 0 0 2000
LED 5 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -30 -0 50 0 2000 0 2005
% Trial: 53
==>
LED 0 0 50 0 0 0 2000
LED 10 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -45 -0 50 0 2000 0 2005
% Trial: 54
==>
LED 0 0 50 0 0 0 2000
LED -25 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -20 -0 50 0 2000 0 2005
% Trial: 55
==>
LED 0 0 50 0 0 0 2000
LED -20 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 30 -0 50 0 2000 0 2005
% Trial: 56
==>
LED 0 0 50 0 0 0 2000
LED -45 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 15 -0 50 0 2000 0 2005
% Trial: 57
==>
LED 0 0 50 0 0 0 2000
LED 45 0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 35 -0 50 0 2000 0 2005
~~~
% Block: 4
......@@ -329,95 +329,95 @@ VER 5 25 79 0.1
% Trial: 58
==>
LED 0 0 50 0 0 0 2000
LED 5 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 30 -0 50 0 2000 0 2005
% Trial: 59
==>
LED 0 0 50 0 0 0 2000
LED 10 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 15 -0 50 0 2000 0 2005
% Trial: 60
==>
LED 0 0 50 0 0 0 2000
LED -35 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -10 -0 50 0 2000 0 2005
% Trial: 61
==>
LED 0 0 50 0 0 0 2000
LED 35 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -15 -0 50 0 2000 0 2005
% Trial: 62
==>
LED 0 0 50 0 0 0 2000
LED 25 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -45 -0 50 0 2000 0 2005
% Trial: 63
==>
LED 0 0 50 0 0 0 2000
LED -25 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -30 -0 50 0 2000 0 2005
% Trial: 64
==>
LED 0 0 50 0 0 0 2000
LED 15 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 20 -0 50 0 2000 0 2005
% Trial: 65
==>
LED 0 0 50 0 0 0 2000
LED -45 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -5 -0 50 0 2000 0 2005
% Trial: 66
==>
LED 0 0 50 0 0 0 2000
LED 45 0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 0 -0 50 0 2000 0 2005
% Trial: 67
==>
LED 0 0 50 0 0 0 2000
LED -20 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -40 -0 50 0 2000 0 2005
% Trial: 68
==>
LED 0 0 50 0 0 0 2000
LED 0 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 5 -0 50 0 2000 0 2005
% Trial: 69
==>
LED 0 0 50 0 0 0 2000
LED -40 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 45 0 50 0 2000 0 2005
% Trial: 70
==>
LED 0 0 50 0 0 0 2000
LED -15 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 10 -0 50 0 2000 0 2005
% Trial: 71
==>
LED 0 0 50 0 0 0 2000
LED -30 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -35 -0 50 0 2000 0 2005
% Trial: 72
==>
LED 0 0 50 0 0 0 2000
LED 30 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -25 -0 50 0 2000 0 2005
% Trial: 73
==>
LED 0 0 50 0 0 0 2000
LED 20 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED -20 -0 50 0 2000 0 2005
% Trial: 74
==>
LED 0 0 50 0 0 0 2000
LED -10 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 40 -0 50 0 2000 0 2005
% Trial: 75
==>
LED 0 0 50 0 0 0 2000
LED 40 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 25 -0 50 0 2000 0 2005
% Trial: 76
==>
LED 0 0 50 0 0 0 2000
LED -5 -0 50 0 2200 0 2201
LED 0 0 50 0 0 0 1000
LED 35 -0 50 0 2000 0 2005
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment