Переглянути джерело

Elimina 'Script task/MoBI_frames_Brescia.m'

Giacomo Guidali 1 рік тому
батько
коміт
e90151d429
1 змінених файлів з 0 додано та 23 видалено
  1. 0 23
      Script task/MoBI_frames_Brescia.m

+ 0 - 23
Script task/MoBI_frames_Brescia.m

@@ -1,23 +0,0 @@
-function [actual_frames actual_seconds, nominal_frames nominal_seconds] = MoBI_frames_Brescia(secs, ifi)
-
-% first output = numer of frames output already shortened by a 0.5*frames to insert into
-% the (Screen('Flip'), VBL)  as waiting
-
-% second output = true seconds to wait for the next flip to happen
-
-
-
-% rounds the indicated time to an exact number of frames
-nominal_frames = round(secs/ifi);
-
-% subtract half frames in order not to risk an overshoot (longer duration than required)
-actual_frames =  nominal_frames - 0.5; 
-
-% true waiting
-actual_seconds = actual_frames*ifi;
-
-
-nominal_seconds = secs;
-
-
-end