File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 3434 % height: 3.35264
3535 %
3636 % fixation cross displacement in degrees of visual angles
37- % cfg.fixation.xDisplacement = 0;
37+ % this will also shift the whole FOV
38+ cfg.fixation.xDisplacement = 0 ;
3839 % cfg.fixation.yDisplacement = 0;
3940
4041 cfg.design.xDisplacementFixation = 3 ;
4142
4243 cfg.aperture.width = 6 ;
43- cfg.design.xDisplacementAperture = 6 ;
44+ cfg.design.xDisplacementAperture = 3 ;
4445
4546end
Original file line number Diff line number Diff line change 177177
178178 fieldsToSet.aperture.type = ' circle' ;
179179 fieldsToSet.aperture.width = 7 ; % if left empty it will take the screen height
180- fieldsToSet.aperture.xPos = fieldsToSet . design . xDisplacementAperture ;
180+ fieldsToSet.aperture.xPos = 0 ;
181181
182182 case ' mt'
183183
Original file line number Diff line number Diff line change 3434
3535 thisEvent.fixationPosition = cfg.design.blockFixationPosition{iBlock };
3636
37- % cfg.aperture.xPosPix = cfg.design.xDisplacementAperturePix;
37+ cfg.aperture.xPos = cfg .design .xDisplacementAperture ;
38+ cfg.aperture = degToPix(' xPos' , cfg .aperture , cfg );
3839
3940 switch thisEvent .fixationPosition
4041
5657
5758 if isfield(cfg .fixation , ' xDisplacementPix' )
5859 thisEvent.dotCenterXPosPix = thisEvent .dotCenterXPosPix + cfg .fixation .xDisplacementPix ;
59- thisFixation.fixation.xDisplacement = thisFixation .fixation .xDisplacement + ...
60- cfg .fixation .xDisplacementPix ;
60+ % thisFixation.fixation.xDisplacement = thisFixation.fixation.xDisplacement + ...
61+ % cfg.fixation.xDisplacementPix;
6162 end
6263 if isfield(cfg .fixation , ' yDisplacementPix' )
6364 end
6465
66+ thisFixation .fixation .allCoords ;
67+
6568 thisFixation = initFixation(thisFixation );
6669
6770 end
You can’t perform that action at this time.
0 commit comments