Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
N-back task with visual stimuli
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Andrew Vu
N-back task with visual stimuli
Commits
21044815
Commit
21044815
authored
May 14, 2020
by
Ryan Cortez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
_
parent
a3ef6e61
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
914 additions
and
11 deletions
+914
-11
N-back.psyexp
N-back.psyexp
+20
-7
N-back.py
N-back.py
+1
-1
N-backtest.psyexp
N-backtest.psyexp
+144
-0
N-backtest-legacy-browsers.js
html/N-backtest-legacy-browsers.js
+370
-0
N-backtest.js
html/N-backtest.js
+376
-0
index.html
html/index.html
+3
-3
No files found.
N-back.psyexp
View file @
21044815
...
...
@@ -140,7 +140,7 @@
<Param
name=
"interpolate"
updates=
"constant"
val=
"linear"
valType=
"str"
/>
<Param
name=
"mask"
updates=
"constant"
val=
"None"
valType=
"str"
/>
<Param
name=
"name"
updates=
"None"
val=
"grid_lines"
valType=
"code"
/>
<Param
name=
"opacity"
updates=
"constant"
val=
"1
.0
"
valType=
"code"
/>
<Param
name=
"opacity"
updates=
"constant"
val=
"1"
valType=
"code"
/>
<Param
name=
"ori"
updates=
"constant"
val=
"0.0"
valType=
"code"
/>
<Param
name=
"pos"
updates=
"constant"
val=
"[0, 0]"
valType=
"code"
/>
<Param
name=
"saveStartStop"
updates=
"None"
val=
"True"
valType=
"bool"
/>
...
...
@@ -149,7 +149,7 @@
<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=
"duration (s)"
valType=
"str"
/>
<Param
name=
"stopVal"
updates=
"constant"
val=
"2
.0
"
valType=
"code"
/>
<Param
name=
"stopVal"
updates=
"constant"
val=
"2"
valType=
"code"
/>
<Param
name=
"syncScreenRefresh"
updates=
"None"
val=
"True"
valType=
"bool"
/>
<Param
name=
"texture resolution"
updates=
"constant"
val=
"128"
valType=
"code"
/>
<Param
name=
"units"
updates=
"None"
val=
"from exp settings"
valType=
"str"
/>
...
...
@@ -162,10 +162,10 @@
<Param
name=
"interpolate"
updates=
"constant"
val=
"linear"
valType=
"str"
/>
<Param
name=
"lineColor"
updates=
"constant"
val=
""
valType=
"str"
/>
<Param
name=
"lineColorSpace"
updates=
"constant"
val=
"rgb"
valType=
"str"
/>
<Param
name=
"lineWidth"
updates=
"constant"
val=
"1
.0
"
valType=
"code"
/>
<Param
name=
"lineWidth"
updates=
"constant"
val=
"1"
valType=
"code"
/>
<Param
name=
"nVertices"
updates=
"constant"
val=
"4"
valType=
"int"
/>
<Param
name=
"name"
updates=
"None"
val=
"target_square"
valType=
"code"
/>
<Param
name=
"opacity"
updates=
"constant"
val=
"1
.0
"
valType=
"code"
/>
<Param
name=
"opacity"
updates=
"constant"
val=
"1"
valType=
"code"
/>
<Param
name=
"ori"
updates=
"constant"
val=
"0.0"
valType=
"code"
/>
<Param
name=
"pos"
updates=
"set every repeat"
val=
"$location"
valType=
"code"
/>
<Param
name=
"saveStartStop"
updates=
"None"
val=
"True"
valType=
"bool"
/>
...
...
@@ -175,7 +175,7 @@
<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=
"duration (s)"
valType=
"str"
/>
<Param
name=
"stopVal"
updates=
"constant"
val=
"1
.0
"
valType=
"code"
/>
<Param
name=
"stopVal"
updates=
"constant"
val=
"1"
valType=
"code"
/>
<Param
name=
"syncScreenRefresh"
updates=
"None"
val=
"True"
valType=
"bool"
/>
<Param
name=
"units"
updates=
"None"
val=
"from exp settings"
valType=
"str"
/>
</PolygonComponent>
...
...
@@ -190,12 +190,12 @@
<Param
name=
"letterHeight"
updates=
"constant"
val=
"0.05"
valType=
"code"
/>
<Param
name=
"name"
updates=
"None"
val=
"fixation_2"
valType=
"code"
/>
<Param
name=
"opacity"
updates=
"constant"
val=
"1"
valType=
"code"
/>
<Param
name=
"ori"
updates=
"constant"
val=
"0
.0
"
valType=
"code"
/>
<Param
name=
"ori"
updates=
"constant"
val=
"0"
valType=
"code"
/>
<Param
name=
"pos"
updates=
"constant"
val=
"[0, 0]"
valType=
"code"
/>
<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=
"startVal"
updates=
"None"
val=
"
1
"
valType=
"code"
/>
<Param
name=
"stopType"
updates=
"None"
val=
"duration (s)"
valType=
"str"
/>
<Param
name=
"stopVal"
updates=
"constant"
val=
"1.0"
valType=
"code"
/>
<Param
name=
"syncScreenRefresh"
updates=
"None"
val=
"True"
valType=
"bool"
/>
...
...
@@ -364,6 +364,19 @@
<Flow>
<Routine
name=
"Instructions"
/>
<Routine
name=
"Fixation"
/>
<LoopInitiator
loopType=
"TrialHandler"
name=
"trials"
>
<Param
name=
"Selected rows"
updates=
"None"
val=
""
valType=
"str"
/>
<Param
name=
"conditions"
updates=
"None"
val=
"[OrderedDict([('square', 6), ('location', [0.2, 0]), ('corrAns', None)]), OrderedDict([('square', 6), ('location', [0.2, 0]), ('corrAns', 'space')]), OrderedDict([('square', 2), ('location', [0, 0.2]), ('corrAns', None)]), OrderedDict([('square', 9), ('location', [0.2, -0.2]), ('corrAns', None)]), OrderedDict([('square', 9), ('location', [0.2, -0.2]), ('corrAns', 'space')]), OrderedDict([('square', 6), ('location', [0.2, 0]), ('corrAns', None)]), OrderedDict([('square', 4), ('location', [-0.2, 0]), ('corrAns', None)]), OrderedDict([('square', 3), ('location', [0.2, 0.2]), ('corrAns', None)]), OrderedDict([('square', 3), ('location', [0.2, 0.2]), ('corrAns', 'space')]), OrderedDict([('square', 8), ('location', [0, -0.2]), ('corrAns', None)]), OrderedDict([('square', 1), ('location', [-0.2, 0.2]), ('corrAns', None)]), OrderedDict([('square', 2), ('location', [0, 0.2]), ('corrAns', None)]), OrderedDict([('square', 4), ('location', [-0.2, 0]), ('corrAns', None)]), OrderedDict([('square', 4), ('location', [-0.2, 0]), ('corrAns', 'space')]), OrderedDict([('square', 8), ('location', [0, -0.2]), ('corrAns', None)]), OrderedDict([('square', 5), ('location', [0, 0]), ('corrAns', None)]), OrderedDict([('square', 5), ('location', [0, 0]), ('corrAns', 'space')]), OrderedDict([('square', 1), ('location', [-0.2, 0.2]), ('corrAns', None)]), OrderedDict([('square', 3), ('location', [0.2, 0.2]), ('corrAns', None)]), OrderedDict([('square', 6), ('location', [0.2, 0]), ('corrAns', None)]), OrderedDict([('square', 1), ('location', [-0.2, 0.2]), ('corrAns', None)]), OrderedDict([('square', 1), ('location', [-0.2, 0.2]), ('corrAns', 'space')]), OrderedDict([('square', 1), ('location', [-0.2, 0.2]), ('corrAns', 'space')]), OrderedDict([('square', 3), ('location', [0.2, 0.2]), ('corrAns', None)]), OrderedDict([('square', 2), ('location', [0, 0.2]), ('corrAns', None)]), OrderedDict([('square', 1), ('location', [-0.2, 0.2]), ('corrAns', None)]), OrderedDict([('square', 7), ('location', [-0.2, -0.2]), ('corrAns', None)]), OrderedDict([('square', 7), ('location', [-0.2, -0.2]), ('corrAns', 'space')]), OrderedDict([('square', 2), ('location', [0, 0.2]), ('corrAns', None)]), OrderedDict([('square', 6), ('location', [0.2, 0]), ('corrAns', None)])]"
valType=
"str"
/>
<Param
name=
"conditionsFile"
updates=
"None"
val=
"N-back-1.xlsx"
valType=
"str"
/>
<Param
name=
"endPoints"
updates=
"None"
val=
"[0, 1]"
valType=
"num"
/>
<Param
name=
"isTrials"
updates=
"None"
val=
"True"
valType=
"bool"
/>
<Param
name=
"loopType"
updates=
"None"
val=
"sequential"
valType=
"str"
/>
<Param
name=
"nReps"
updates=
"None"
val=
"1"
valType=
"code"
/>
<Param
name=
"name"
updates=
"None"
val=
"trials"
valType=
"code"
/>
<Param
name=
"random seed"
updates=
"None"
val=
""
valType=
"code"
/>
</LoopInitiator>
<Routine
name=
"N_back_1_Trial"
/>
<LoopTerminator
name=
"trials"
/>
<Routine
name=
"Instructions_2"
/>
<Routine
name=
"Fixation"
/>
<LoopInitiator
loopType=
"TrialHandler"
name=
"trials_2"
>
...
...
N-back.py
View file @
21044815
...
...
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
"""
This experiment was created using PsychoPy3 Experiment Builder (v2020.1.3),
on May 13, 2020, at 14:
12
on May 13, 2020, at 14:
27
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)
...
...
N-backtest.psyexp
0 → 100644
View file @
21044815
This diff is collapsed.
Click to expand it.
html/N-backtest-legacy-browsers.js
0 → 100644
View file @
21044815
This diff is collapsed.
Click to expand it.
html/N-backtest.js
0 → 100644
View file @
21044815
This diff is collapsed.
Click to expand it.
html/index.html
View file @
21044815
...
...
@@ -2,7 +2,7 @@
<html>
<head>
<title>
N-back [PsychoPy]
</title>
<title>
N-back
test
[PsychoPy]
</title>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"user-scalable=no"
>
...
...
@@ -28,13 +28,13 @@
<script
type=
"text/javascript"
src=
"https://cdnjs.cloudflare.com/ajax/libs/pako/1.0.10/pako.min.js"
></script>
<!-- experiment -->
<script
type=
'module'
src=
'./N-back.js'
></script>
<script
type=
'module'
src=
'./N-back
test
.js'
></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.1.js"
></script>
<script
nomodule
type=
"text/javascript"
src=
"./N-back-legacy-browsers.js"
></script>
<script
nomodule
type=
"text/javascript"
src=
"./N-back
test
-legacy-browsers.js"
></script>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment