introduction layer added.

parent eaf235c6
......@@ -2,6 +2,12 @@
* Object_Segments_Cnn Test *
****************************/
// store info about the experiment session:
let expName = 'Object_Segments_CNN'; // from the Builder filename that created this script
let expInfo = {'participant': '', 'session': '001'};
// Start code blocks for 'Before Experiment'
// init psychoJS:
const psychoJS = new PsychoJS({
debug: true
......@@ -14,11 +20,6 @@ psychoJS.openWindow({
units: 'height',
waitBlanking: true
});
// store info about the experiment session:
let expName = 'Object_Segments_CNN'; // from the Builder filename that created this script
let expInfo = {'participant': '', 'session': '001'};
// schedule the experiment:
psychoJS.schedule(psychoJS.gui.DlgFromDict({
dictionary: expInfo,
......@@ -51,10 +52,10 @@ psychoJS.experimentLogger.setLevel(core.Logger.ServerLevel.EXP);
var frameDur;
function updateInfo() {
async function updateInfo() {
expInfo['date'] = util.MonotonicClock.getDateStr(); // add a simple timestamp
expInfo['expName'] = expName;
expInfo['psychopyVersion'] = '2020.2.4';
expInfo['psychopyVersion'] = '2021.2.0';
expInfo['OS'] = window.navigator.platform;
// store frame rate of monitor if we can measure it successfully
......@@ -72,11 +73,23 @@ function updateInfo() {
var trialClock;
var Intro;
var globalClock;
var routineTimer;
function experimentInit() {
async function experimentInit() {
// Initialize components for Routine "trial"
trialClock = new util.Clock();
Intro = new visual.TextStim({
win: psychoJS.window,
name: 'Intro',
text: 'hello my friend',
font: 'Open Sans',
units: undefined,
pos: [0, 0], height: 0.1, wrapWidth: undefined, ori: 0.0,
color: new util.Color('white'), opacity: undefined,
depth: 0.0
});
// Create some handy timers
globalClock = new util.Clock(); // to track the time since experiment started
routineTimer = new util.CountdownTimer(); // to track time remaining of each (non-slip) routine
......@@ -87,36 +100,51 @@ function experimentInit() {
var t;
var frameN;
var continueRoutine;
var trialComponents;
function trialRoutineBegin(snapshot) {
return function () {
return async function () {
TrialHandler.fromSnapshot(snapshot); // ensure that .thisN vals are up to date
//------Prepare to start Routine 'trial'-------
t = 0;
trialClock.reset(); // clock
frameN = -1;
continueRoutine = true; // until we're told otherwise
// update component parameters for each repeat
// keep track of which components have finished
trialComponents = [];
trialComponents.push(Intro);
trialComponents.forEach( function(thisComponent) {
if ('status' in thisComponent)
thisComponent.status = PsychoJS.Status.NOT_STARTED;
});
return Scheduler.Event.NEXT;
};
}
}
var continueRoutine;
function trialRoutineEachFrame(snapshot) {
return function () {
function trialRoutineEachFrame() {
return async function () {
//------Loop for each frame of Routine 'trial'-------
let continueRoutine = true; // until we're told otherwise
// get current time
t = trialClock.getTime();
frameN = frameN + 1;// number of completed frames (so 0 is the first frame)
// update/draw components on each frame
// *Intro* updates
if (t >= 0.0 && Intro.status === PsychoJS.Status.NOT_STARTED) {
// keep track of start time/frame for later
Intro.tStart = t; // (not accounting for frame time here)
Intro.frameNStart = frameN; // exact frame index
Intro.setAutoDraw(true);
}
if (Intro.status === PsychoJS.Status.STARTED && Boolean(1.0)) {
Intro.setAutoDraw(false);
}
// check for quit (typically the Esc key)
if (psychoJS.experiment.experimentEnded || psychoJS.eventManager.getKeys({keyList:['escape']}).length > 0) {
return quitPsychoJS('The [Escape] key was pressed. Goodbye!', false);
......@@ -144,8 +172,8 @@ function trialRoutineEachFrame(snapshot) {
}
function trialRoutineEnd(snapshot) {
return function () {
function trialRoutineEnd() {
return async function () {
//------Ending Routine 'trial'-------
trialComponents.forEach( function(thisComponent) {
if (typeof thisComponent.setAutoDraw === 'function') {
......@@ -162,7 +190,7 @@ function trialRoutineEnd(snapshot) {
function endLoopIteration(scheduler, snapshot) {
// ------Prepare for next entry------
return function () {
return async function () {
if (typeof snapshot !== 'undefined') {
// ------Check if user ended loop early------
if (snapshot.finished) {
......@@ -184,14 +212,14 @@ function endLoopIteration(scheduler, snapshot) {
function importConditions(currentLoop) {
return function () {
return async function () {
psychoJS.importAttributes(currentLoop.getCurrentTrial());
return Scheduler.Event.NEXT;
};
}
function quitPsychoJS(message, isCompleted) {
async function quitPsychoJS(message, isCompleted) {
// Check for and save orphaned data
if (psychoJS.experiment.isEntryEmpty()) {
psychoJS.experiment.nextEntry();
......
......@@ -2,16 +2,20 @@
* Object_Segments_Cnn Test *
****************************/
import { PsychoJS } from './lib/core-2020.2.js';
import * as core from './lib/core-2020.2.js';
import { TrialHandler } from './lib/data-2020.2.js';
import { Scheduler } from './lib/util-2020.2.js';
import * as visual from './lib/visual-2020.2.js';
import * as sound from './lib/sound-2020.2.js';
import * as util from './lib/util-2020.2.js';
import { core, data, sound, util, visual } from './lib/psychojs-2021.2.0.js';
const { PsychoJS } = core;
const { TrialHandler } = data;
const { Scheduler } = util;
//some handy aliases as in the psychopy scripts;
const { abs, sin, cos, PI: pi, sqrt } = Math;
const { round } = util;
// store info about the experiment session:
let expName = 'Object_Segments_CNN'; // from the Builder filename that created this script
let expInfo = {'participant': '', 'session': '001'};
// Start code blocks for 'Before Experiment'
// init psychoJS:
const psychoJS = new PsychoJS({
debug: true
......@@ -24,11 +28,6 @@ psychoJS.openWindow({
units: 'height',
waitBlanking: true
});
// store info about the experiment session:
let expName = 'Object_Segments_CNN'; // from the Builder filename that created this script
let expInfo = {'participant': '', 'session': '001'};
// schedule the experiment:
psychoJS.schedule(psychoJS.gui.DlgFromDict({
dictionary: expInfo,
......@@ -61,10 +60,10 @@ psychoJS.experimentLogger.setLevel(core.Logger.ServerLevel.EXP);
var frameDur;
function updateInfo() {
async function updateInfo() {
expInfo['date'] = util.MonotonicClock.getDateStr(); // add a simple timestamp
expInfo['expName'] = expName;
expInfo['psychopyVersion'] = '2020.2.4';
expInfo['psychopyVersion'] = '2021.2.0';
expInfo['OS'] = window.navigator.platform;
// store frame rate of monitor if we can measure it successfully
......@@ -82,11 +81,23 @@ function updateInfo() {
var trialClock;
var Intro;
var globalClock;
var routineTimer;
function experimentInit() {
async function experimentInit() {
// Initialize components for Routine "trial"
trialClock = new util.Clock();
Intro = new visual.TextStim({
win: psychoJS.window,
name: 'Intro',
text: 'hello my friend',
font: 'Open Sans',
units: undefined,
pos: [0, 0], height: 0.1, wrapWidth: undefined, ori: 0.0,
color: new util.Color('white'), opacity: undefined,
depth: 0.0
});
// Create some handy timers
globalClock = new util.Clock(); // to track the time since experiment started
routineTimer = new util.CountdownTimer(); // to track time remaining of each (non-slip) routine
......@@ -97,35 +108,50 @@ function experimentInit() {
var t;
var frameN;
var continueRoutine;
var trialComponents;
function trialRoutineBegin(snapshot) {
return function () {
return async function () {
TrialHandler.fromSnapshot(snapshot); // ensure that .thisN vals are up to date
//------Prepare to start Routine 'trial'-------
t = 0;
trialClock.reset(); // clock
frameN = -1;
continueRoutine = true; // until we're told otherwise
// update component parameters for each repeat
// keep track of which components have finished
trialComponents = [];
trialComponents.push(Intro);
for (const thisComponent of trialComponents)
if ('status' in thisComponent)
thisComponent.status = PsychoJS.Status.NOT_STARTED;
return Scheduler.Event.NEXT;
};
}
}
var continueRoutine;
function trialRoutineEachFrame(snapshot) {
return function () {
function trialRoutineEachFrame() {
return async function () {
//------Loop for each frame of Routine 'trial'-------
let continueRoutine = true; // until we're told otherwise
// get current time
t = trialClock.getTime();
frameN = frameN + 1;// number of completed frames (so 0 is the first frame)
// update/draw components on each frame
// *Intro* updates
if (t >= 0.0 && Intro.status === PsychoJS.Status.NOT_STARTED) {
// keep track of start time/frame for later
Intro.tStart = t; // (not accounting for frame time here)
Intro.frameNStart = frameN; // exact frame index
Intro.setAutoDraw(true);
}
if (Intro.status === PsychoJS.Status.STARTED && Boolean(1.0)) {
Intro.setAutoDraw(false);
}
// check for quit (typically the Esc key)
if (psychoJS.experiment.experimentEnded || psychoJS.eventManager.getKeys({keyList:['escape']}).length > 0) {
return quitPsychoJS('The [Escape] key was pressed. Goodbye!', false);
......@@ -153,8 +179,8 @@ function trialRoutineEachFrame(snapshot) {
}
function trialRoutineEnd(snapshot) {
return function () {
function trialRoutineEnd() {
return async function () {
//------Ending Routine 'trial'-------
for (const thisComponent of trialComponents) {
if (typeof thisComponent.setAutoDraw === 'function') {
......@@ -171,7 +197,7 @@ function trialRoutineEnd(snapshot) {
function endLoopIteration(scheduler, snapshot) {
// ------Prepare for next entry------
return function () {
return async function () {
if (typeof snapshot !== 'undefined') {
// ------Check if user ended loop early------
if (snapshot.finished) {
......@@ -193,14 +219,14 @@ function endLoopIteration(scheduler, snapshot) {
function importConditions(currentLoop) {
return function () {
return async function () {
psychoJS.importAttributes(currentLoop.getCurrentTrial());
return Scheduler.Event.NEXT;
};
}
function quitPsychoJS(message, isCompleted) {
async function quitPsychoJS(message, isCompleted) {
// Check for and save orphaned data
if (psychoJS.experiment.isEntryEmpty()) {
psychoJS.experiment.nextEntry();
......
<?xml version="1.0" ?>
<PsychoPy2experiment encoding="utf-8" version="2020.2.4">
<PsychoPy2experiment encoding="utf-8" version="2021.2.0">
<Settings>
<Param name="Audio latency priority" updates="None" val="use prefs" valType="str"/>
<Param name="Audio lib" updates="None" val="use prefs" valType="str"/>
......@@ -16,6 +16,7 @@
<Param name="Resources" updates="None" val="[]" valType="fileList"/>
<Param name="Save csv file" updates="None" val="False" valType="bool"/>
<Param name="Save excel file" updates="None" val="False" valType="bool"/>
<Param name="Save hdf5 file" updates="None" val="False" valType="bool"/>
<Param name="Save log file" updates="None" val="True" valType="bool"/>
<Param name="Save psydat file" updates="None" val="True" valType="bool"/>
<Param name="Save wide csv file" updates="None" val="True" valType="bool"/>
......@@ -28,12 +29,58 @@
<Param name="blendMode" updates="None" val="avg" valType="str"/>
<Param name="color" updates="None" val="$[0,0,0]" valType="str"/>
<Param name="colorSpace" updates="None" val="rgb" valType="str"/>
<Param name="elAddress" updates="None" val="100.1.1.1" valType="str"/>
<Param name="elDataFiltering" updates="None" val="FILTER_LEVEL_2" valType="str"/>
<Param name="elLiveFiltering" updates="None" val="FILTER_LEVEL_OFF" valType="str"/>
<Param name="elModel" updates="None" val="EYELINK 1000 DESKTOP" valType="str"/>
<Param name="elPupilAlgorithm" updates="None" val="ELLIPSE_FIT" valType="str"/>
<Param name="elPupilMeasure" updates="None" val="PUPIL_AREA" valType="str"/>
<Param name="elSampleRate" updates="None" val="1000" valType="num"/>
<Param name="elSimMode" updates="None" val="False" valType="bool"/>
<Param name="elTrackEyes" updates="None" val="RIGHT_EYE" valType="str"/>
<Param name="elTrackingMode" updates="None" val="PUPIL_CR_TRACKING" valType="str"/>
<Param name="expName" updates="None" val="Object_Segments_CNN" valType="str"/>
<Param name="exportHTML" updates="None" val="on Sync" valType="str"/>
<Param name="eyetracker" updates="None" val="None" valType="str"/>
<Param name="gpAddress" updates="None" val="127.0.0.1" valType="str"/>
<Param name="gpPort" updates="None" val="4242" valType="num"/>
<Param name="logging level" updates="None" val="exp" valType="code"/>
<Param name="mgBlink" updates="None" val="MIDDLE_BUTTON" valType="list"/>
<Param name="mgMove" updates="None" val="CONTINUOUS" valType="str"/>
<Param name="mgSaccade" updates="None" val="0.5" valType="num"/>
<Param name="tbLicenseFile" updates="None" val="" valType="str"/>
<Param name="tbModel" updates="None" val="" valType="str"/>
<Param name="tbSampleRate" updates="None" val="60" valType="num"/>
<Param name="tbSerialNo" updates="None" val="" valType="str"/>
</Settings>
<Routines>
<Routine name="trial"/>
<Routine name="trial">
<TextComponent name="Intro">
<Param name="color" updates="constant" val="white" valType="color"/>
<Param name="colorSpace" updates="constant" val="rgb" valType="str"/>
<Param name="contrast" updates="constant" val="1" valType="num"/>
<Param name="disabled" updates="None" val="False" valType="bool"/>
<Param name="durationEstim" updates="None" val="" valType="code"/>
<Param name="flip" updates="constant" val="None" valType="str"/>
<Param name="font" updates="constant" val="Open Sans" valType="str"/>
<Param name="languageStyle" updates="None" val="LTR" valType="str"/>
<Param name="letterHeight" updates="constant" val="0.1" valType="num"/>
<Param name="name" updates="None" val="Intro" valType="code"/>
<Param name="opacity" updates="constant" val="" valType="num"/>
<Param name="ori" updates="constant" val="0" valType="num"/>
<Param name="pos" updates="constant" val="(0, 0)" valType="list"/>
<Param name="saveStartStop" updates="None" val="True" valType="bool"/>
<Param name="startEstim" updates="None" val="" valType="code"/>
<Param name="startType" updates="None" val="time (s)" valType="str"/>
<Param name="startVal" updates="None" val="0.0" valType="code"/>
<Param name="stopType" updates="None" val="condition" valType="str"/>
<Param name="stopVal" updates="constant" val="1.0" valType="code"/>
<Param name="syncScreenRefresh" updates="None" val="True" valType="bool"/>
<Param name="text" updates="constant" val="hello my friend" valType="str"/>
<Param name="units" updates="None" val="from exp settings" valType="str"/>
<Param name="wrapWidth" updates="constant" val="" valType="num"/>
</TextComponent>
</Routine>
</Routines>
<Flow>
<Routine name="trial"/>
......
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This experiment was created using PsychoPy3 Experiment Builder (v2021.2.0),
on Wed 14 Jul 2021 12:04:13 PM +0430
If you publish work using this script the most relevant publication is:
Peirce J, Gray JR, Simpson S, MacAskill M, Höchenberger R, Sogo H, Kastman E, Lindeløv JK. (2019)
PsychoPy2: Experiments in behavior made easy Behav Res 51: 195.
https://doi.org/10.3758/s13428-018-01193-y
"""
from __future__ import absolute_import, division
from psychopy import locale_setup
from psychopy import prefs
from psychopy import sound, gui, visual, core, data, event, logging, clock, colors
from psychopy.constants import (NOT_STARTED, STARTED, PLAYING, PAUSED,
STOPPED, FINISHED, PRESSED, RELEASED, FOREVER)
import numpy as np # whole numpy lib is available, prepend 'np.'
from numpy import (sin, cos, tan, log, log10, pi, average,
sqrt, std, deg2rad, rad2deg, linspace, asarray)
from numpy.random import random, randint, normal, shuffle, choice as randchoice
import os # handy system and path functions
import sys # to get file system encoding
from psychopy.hardware import keyboard
# Ensure that relative paths start from the same directory as this script
_thisDir = os.path.dirname(os.path.abspath(__file__))
os.chdir(_thisDir)
# Store info about the experiment session
psychopyVersion = '2021.2.0'
expName = 'Object_Segments_CNN' # from the Builder filename that created this script
expInfo = {'participant': '', 'session': '001'}
dlg = gui.DlgFromDict(dictionary=expInfo, sortKeys=False, title=expName)
if dlg.OK == False:
core.quit() # user pressed cancel
expInfo['date'] = data.getDateStr() # add a simple timestamp
expInfo['expName'] = expName
expInfo['psychopyVersion'] = psychopyVersion
# Data file name stem = absolute path + name; later add .psyexp, .csv, .log, etc
filename = _thisDir + os.sep + u'data/%s_%s_%s' % (expInfo['participant'], expName, expInfo['date'])
# An ExperimentHandler isn't essential but helps with data saving
thisExp = data.ExperimentHandler(name=expName, version='',
extraInfo=expInfo, runtimeInfo=None,
originPath='/home/niki/new_h/cognitive/CNN/experiment/object_segments_cnn/Object_Segments_CNN_lastrun.py',
savePickle=True, saveWideText=True,
dataFileName=filename)
# save a log file for detail verbose info
logFile = logging.LogFile(filename+'.log', level=logging.EXP)
logging.console.setLevel(logging.WARNING) # this outputs to the screen, not a file
endExpNow = False # flag for 'escape' or other condition => quit the exp
frameTolerance = 0.001 # how close to onset before 'same' frame
# Start Code - component code to be run after the window creation
# Setup the Window
win = visual.Window(
size=(1024, 768), fullscr=True, screen=0,
winType='pyglet', allowGUI=False, allowStencil=False,
monitor='testMonitor', color=[0,0,0], colorSpace='rgb',
blendMode='avg', useFBO=True,
units='height')
# store frame rate of monitor if we can measure it
expInfo['frameRate'] = win.getActualFrameRate()
if expInfo['frameRate'] != None:
frameDur = 1.0 / round(expInfo['frameRate'])
else:
frameDur = 1.0 / 60.0 # could not measure, so guess
# Setup eyetracking
ioDevice = ioConfig = ioSession = ioServer = eyetracker = None
# create a default keyboard (e.g. to check for escape)
defaultKeyboard = keyboard.Keyboard()
# Initialize components for Routine "trial"
trialClock = core.Clock()
Intro = visual.TextStim(win=win, name='Intro',
text='hello my friend',
font='Open Sans',
pos=(0, 0), height=0.1, wrapWidth=None, ori=0.0,
color='white', colorSpace='rgb', opacity=None,
languageStyle='LTR',
depth=0.0);
# Create some handy timers
globalClock = core.Clock() # to track the time since experiment started
routineTimer = core.CountdownTimer() # to track time remaining of each (non-slip) routine
# ------Prepare to start Routine "trial"-------
continueRoutine = True
# update component parameters for each repeat
# keep track of which components have finished
trialComponents = [Intro]
for thisComponent in trialComponents:
thisComponent.tStart = None
thisComponent.tStop = None
thisComponent.tStartRefresh = None
thisComponent.tStopRefresh = None
if hasattr(thisComponent, 'status'):
thisComponent.status = NOT_STARTED
# reset timers
t = 0
_timeToFirstFrame = win.getFutureFlipTime(clock="now")
trialClock.reset(-_timeToFirstFrame) # t0 is time of first possible flip
frameN = -1
# -------Run Routine "trial"-------
while continueRoutine:
# get current time
t = trialClock.getTime()
tThisFlip = win.getFutureFlipTime(clock=trialClock)
tThisFlipGlobal = win.getFutureFlipTime(clock=None)
frameN = frameN + 1 # number of completed frames (so 0 is the first frame)
# update/draw components on each frame
# *Intro* updates
if Intro.status == NOT_STARTED and tThisFlip >= 0.0-frameTolerance:
# keep track of start time/frame for later
Intro.frameNStart = frameN # exact frame index
Intro.tStart = t # local t and not account for scr refresh
Intro.tStartRefresh = tThisFlipGlobal # on global time
win.timeOnFlip(Intro, 'tStartRefresh') # time at next scr refresh
Intro.setAutoDraw(True)
if Intro.status == STARTED:
if bool(1.0):
# keep track of stop time/frame for later
Intro.tStop = t # not accounting for scr refresh
Intro.frameNStop = frameN # exact frame index
win.timeOnFlip(Intro, 'tStopRefresh') # time at next scr refresh
Intro.setAutoDraw(False)
# check for quit (typically the Esc key)
if endExpNow or defaultKeyboard.getKeys(keyList=["escape"]):
core.quit()
# check if all components have finished
if not continueRoutine: # a component has requested a forced-end of Routine
break
continueRoutine = False # will revert to True if at least one component still running
for thisComponent in trialComponents:
if hasattr(thisComponent, "status") and thisComponent.status != FINISHED:
continueRoutine = True
break # at least one component has not yet finished
# refresh the screen
if continueRoutine: # don't flip if this routine is over or we'll get a blank screen
win.flip()
# -------Ending Routine "trial"-------
for thisComponent in trialComponents:
if hasattr(thisComponent, "setAutoDraw"):
thisComponent.setAutoDraw(False)
thisExp.addData('Intro.started', Intro.tStartRefresh)
thisExp.addData('Intro.stopped', Intro.tStopRefresh)
# the Routine "trial" was not non-slip safe, so reset the non-slip timer
routineTimer.reset()
# Flip one final time so any remaining win.callOnFlip()
# and win.timeOnFlip() tasks get executed before quitting
win.flip()
# these shouldn't be strictly necessary (should auto-save)
thisExp.saveAsWideText(filename+'.csv', delim='auto')
thisExp.saveAsPickle(filename)
logging.flush()
# make sure everything is closed down
thisExp.abort() # or data files will save again on exit
win.close()
core.quit()
Intro.started,Intro.stopped,participant,session,date,expName,psychopyVersion,frameRate,
10.052521467208862,None,,,,,,,
0.2902 WARNING Speech-to-text recognition module not available (use command `pip install SpeechRecognition` to get it. Transcription will be unavailable.
2.5813 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use ['sounddevice', 'PTB', 'pyo', 'pygame'] (in that order).
8.4935 WARNING User requested fullscreen with size [1024 768], but screen is actually [1920, 1080]. Using actual size
9.6028 EXP Created window1 = Window(allowGUI=False, allowStencil=False, autoLog=True, backendConf=UNKNOWN, bitsMode=UNKNOWN, blendMode='avg', bpc=(8, 8, 8), color=array([0, 0, 0]), colorSpace='rgb', depthBits=8, fullscr=<method-wrapper '__getattribute__' of attributeSetter object at 0x7fc4c5576748>, gamma=None, gammaErrorPolicy='raise', lms=UNKNOWN, monitor=<psychopy.monitors.calibTools.Monitor object at 0x7fc4c55329e8>, multiSample=False, name='window1', numSamples=2, pos=[0.0, 0.0], screen=0, size=array([1920, 1080]), stencilBits=0, stereo=False, units='height', useFBO=True, useRetina=False, viewOri=0.0, viewPos=None, viewScale=None, waitBlanking=True, winType='pyglet')
9.6029 EXP window1: mouseVisible = True
9.6029 EXP window1: recordFrameIntervals = False
9.7692 EXP window1: recordFrameIntervals = True
9.9526 EXP window1: recordFrameIntervals = False
10.0518 EXP Created Intro = TextStim(__class__=<class 'psychopy.visual.text.TextStim'>, alignHoriz=method-wrapper(...), alignText='center', alignVert=method-wrapper(...), anchorHoriz='center', anchorVert='center', antialias=True, autoLog=True, bold=False, color=array([1, 1, 1]), colorSpace='rgb', contrast=1.0, depth=0.0, flipHoriz=False, flipVert=False, font='Open Sans', fontFiles=[], height=0.1, italic=False, languageStyle='LTR', name='Intro', opacity=1, ori=0.0, pos=array([0., 0.]), rgb=UNKNOWN, text='Any text\n\nincluding line breaks', units='height', win=Window(...), wrapWidth=1)
10.0692 EXP Intro: autoDraw = True
10.0692 EXP Intro: autoDraw = False
10.0692 EXP Intro: autoDraw = False
10.0916 EXP window1: mouseVisible = True
Intro.started,Intro.stopped,participant,session,date,expName,psychopyVersion,frameRate,
7.886279153823852,None,,,,,,,
0.2946 WARNING Speech-to-text recognition module not available (use command `pip install SpeechRecognition` to get it. Transcription will be unavailable.
2.6108 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use ['sounddevice', 'PTB', 'pyo', 'pygame'] (in that order).
6.8133 WARNING User requested fullscreen with size [1024 768], but screen is actually [1920, 1080]. Using actual size
7.4366 EXP Created window1 = Window(allowGUI=False, allowStencil=False, autoLog=True, backendConf=UNKNOWN, bitsMode=UNKNOWN, blendMode='avg', bpc=(8, 8, 8), color=array([0, 0, 0]), colorSpace='rgb', depthBits=8, fullscr=<method-wrapper '__getattribute__' of attributeSetter object at 0x7fa301a6a780>, gamma=None, gammaErrorPolicy='raise', lms=UNKNOWN, monitor=<psychopy.monitors.calibTools.Monitor object at 0x7fa301a28a20>, multiSample=False, name='window1', numSamples=2, pos=[0.0, 0.0], screen=0, size=array([1920, 1080]), stencilBits=0, stereo=False, units='height', useFBO=True, useRetina=False, viewOri=0.0, viewPos=None, viewScale=None, waitBlanking=True, winType='pyglet')
7.4366 EXP window1: mouseVisible = True
7.4367 EXP window1: recordFrameIntervals = False
7.6030 EXP window1: recordFrameIntervals = True
7.7864 EXP window1: recordFrameIntervals = False
7.8771 EXP Created Intro = TextStim(__class__=<class 'psychopy.visual.text.TextStim'>, alignHoriz=method-wrapper(...), alignText='center', alignVert=method-wrapper(...), anchorHoriz='center', anchorVert='center', antialias=True, autoLog=True, bold=False, color=array([1, 1, 1]), colorSpace='rgb', contrast=1.0, depth=0.0, flipHoriz=False, flipVert=False, font='Open Sans', fontFiles=[], height=0.1, italic=False, languageStyle='LTR', name='Intro', opacity=1, ori=0.0, pos=array([0., 0.]), rgb=UNKNOWN, text='hello my friend', units='height', win=Window(...), wrapWidth=1)
7.8863 EXP Intro: autoDraw = True
7.8863 EXP Intro: autoDraw = False
7.8863 EXP Intro: autoDraw = False
7.9051 EXP window1: mouseVisible = True
Intro.started,Intro.stopped,participant,session,date,expName,psychopyVersion,frameRate,
7.428056001663208,None,,,,,,,
0.2883 WARNING Speech-to-text recognition module not available (use command `pip install SpeechRecognition` to get it. Transcription will be unavailable.
2.5746 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use ['sounddevice', 'PTB', 'pyo', 'pygame'] (in that order).
6.3650 WARNING User requested fullscreen with size [1024 768], but screen is actually [1920, 1080]. Using actual size
6.9783 EXP Created window1 = Window(allowGUI=False, allowStencil=False, autoLog=True, backendConf=UNKNOWN, bitsMode=UNKNOWN, blendMode='avg', bpc=(8, 8, 8), color=array([0, 0, 0]), colorSpace='rgb', depthBits=8, fullscr=<method-wrapper '__getattribute__' of attributeSetter object at 0x7fdbb7b14780>, gamma=None, gammaErrorPolicy='raise', lms=UNKNOWN, monitor=<psychopy.monitors.calibTools.Monitor object at 0x7fdbb7ad19e8>, multiSample=False, name='window1', numSamples=2, pos=[0.0, 0.0], screen=0, size=array([1920, 1080]), stencilBits=0, stereo=False, units='height', useFBO=True, useRetina=False, viewOri=0.0, viewPos=None, viewScale=None, waitBlanking=True, winType='pyglet')
6.9784 EXP window1: mouseVisible = True
6.9784 EXP window1: recordFrameIntervals = False
7.1447 EXP window1: recordFrameIntervals = True
7.3281 EXP window1: recordFrameIntervals = False
7.4183 EXP Created Intro = TextStim(__class__=<class 'psychopy.visual.text.TextStim'>, alignHoriz=method-wrapper(...), alignText='center', alignVert=method-wrapper(...), anchorHoriz='center', anchorVert='center', antialias=True, autoLog=True, bold=False, color=array([1, 1, 1]), colorSpace='rgb', contrast=1.0, depth=0.0, flipHoriz=False, flipVert=False, font='Open Sans', fontFiles=[], height=0.1, italic=False, languageStyle='LTR', name='Intro', opacity=1, ori=0.0, pos=array([0., 0.]), rgb=UNKNOWN, text='hello my friend', units='height', win=Window(...), wrapWidth=1)
7.4281 EXP Intro: autoDraw = True
8.4280 EXP Intro: autoDraw = False
8.4280 EXP Intro: autoDraw = False
8.4468 EXP window1: mouseVisible = True
<!doctype html>
<html>
<head>
<title>Object_Segments_CNN [PsychoPy]</title>
<meta charset="UTF-8">
<head>
<meta charset="utf-8">
<meta name="viewport" content="user-scalable=no">
<title>Object_Segments_CNN [PsychoPy]</title>
<!-- styles -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.css">
<link rel="stylesheet" href="https://lib.pavlovia.org/psychojs-2020.2.css">
</head>
<body>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jquery-ui-dist@1.12.1/jquery-ui.min.css">
<link rel="stylesheet" href="./lib/psychojs-2021.2.0.css">
</head>
<body>
<div id="root"></div>
<!-- external libraries -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/seedrandom/3.0.1/seedrandom.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/4.8.7/pixi.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/PreloadJS/1.0.1/preloadjs.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.14.2/xlsx.full.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/log4javascript/1.4.9/log4javascript.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/tone/13.8.6/Tone.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/howler/2.1.2/howler.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pako/1.0.10/pako.min.js"></script>
<!-- external libraries -->
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jquery-ui-dist@1.12.1/jquery-ui.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/preloadjs@1.0.1/lib/preloadjs.min.js"></script>
<!-- experiment -->
<script type='module' src='./Object_Segments_CNN.js'></script>
<script src="./Object_Segments_CNN.js" type="module"></script>
<!-- legacy browsers -->
<script nomodule type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/7.6.0/polyfill.min.js"></script>
<script nomodule type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/url-search-params/1.1.0/url-search-params.js"></script>
<script nomodule type="text/javascript" src="https://lib.pavlovia.org/psychojs-2020.2.js"></script>
<script nomodule type="text/javascript" src="./Object_Segments_CNN-legacy-browsers.js"></script>
</body>
<script src="./lib/psychojs-2021.2.0.iife.js" nomodule></script>
<script src="./Object_Segments_CNN-legacy-browsers.js" nomodule></script>
</body>
</html>
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