cpp-lln-lab / CPP_PTB

a set of function to make it easier to create behavioral, EEG, fMRI experiment with psychtoolbox
https://cpp-ptb.readthedocs.io/en/latest/index.html#
MIT License
12 stars 13 forks source link

Remove hardcoded value for scaling of fMRI screen size #36

Closed Remi-Gau closed 3 years ago

Remi-Gau commented 3 years ago

I don't think we want to hard code the 2/3 here. We might just add it to the Cfg structure because the changes to be made to the screen size might be different in different scanner.

if strcmpi(cfg.stimPosition,'scanner')
    cfg.winRect(1,4) = cfg.winRect(1,4)*2/3;
end