Commit 05b5c08b authored by Ryan Cortez's avatar Ryan Cortez

_

parent b32b6744
#!/usr/bin/env python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This experiment was created using PsychoPy3 Experiment Builder (v2020.1.3),
......@@ -96,7 +96,7 @@ FixationClock = core.Clock()
fixation_1 = visual.TextStim(win=win, name='fixation_1',
text='+',
font='Arial',
pos=(0, 0), height=0.05, wrapWidth=None, ori=0,
pos=(0, 0), height=0.05, wrapWidth=None, ori=0.0,
color='white', colorSpace='rgb', opacity=1,
languageStyle='LTR',
depth=0.0);
......@@ -121,7 +121,7 @@ target_square = visual.Rect(
fixation_2 = visual.TextStim(win=win, name='fixation_2',
text='+',
font='Arial',
pos=[0, 0], height=0.05, wrapWidth=None, ori=0,
pos=[0, 0], height=0.05, wrapWidth=None, ori=0.0,
color='white', colorSpace='rgb', opacity=1,
languageStyle='LTR',
depth=-2.0);
......
......@@ -601,7 +601,7 @@ function N_back_1_TrialRoutineEachFrame(trials) {
}
// *fixation_2* updates
if (t >= 1.0 && fixation_2.status === PsychoJS.Status.NOT_STARTED) {
if (t >= 0.0 && fixation_2.status === PsychoJS.Status.NOT_STARTED) {
// keep track of start time/frame for later
fixation_2.tStart = t; // (not accounting for frame time here)
fixation_2.frameNStart = frameN; // exact frame index
......@@ -609,7 +609,7 @@ function N_back_1_TrialRoutineEachFrame(trials) {
fixation_2.setAutoDraw(true);
}
frameRemains = 1.0 + 1.0 - psychoJS.window.monitorFramePeriod * 0.75; // most of one frame period left
frameRemains = 0.0 + 1.0 - psychoJS.window.monitorFramePeriod * 0.75; // most of one frame period left
if (fixation_2.status === PsychoJS.Status.STARTED && t >= frameRemains) {
fixation_2.setAutoDraw(false);
}
......
......@@ -604,7 +604,7 @@ function N_back_1_TrialRoutineEachFrame(trials) {
}
// *fixation_2* updates
if (t >= 1.0 && fixation_2.status === PsychoJS.Status.NOT_STARTED) {
if (t >= 0.0 && fixation_2.status === PsychoJS.Status.NOT_STARTED) {
// keep track of start time/frame for later
fixation_2.tStart = t; // (not accounting for frame time here)
fixation_2.frameNStart = frameN; // exact frame index
......@@ -612,7 +612,7 @@ function N_back_1_TrialRoutineEachFrame(trials) {
fixation_2.setAutoDraw(true);
}
frameRemains = 1.0 + 1.0 - psychoJS.window.monitorFramePeriod * 0.75; // most of one frame period left
frameRemains = 0.0 + 1.0 - psychoJS.window.monitorFramePeriod * 0.75; // most of one frame period left
if (fixation_2.status === PsychoJS.Status.STARTED && t >= frameRemains) {
fixation_2.setAutoDraw(false);
}
......
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