Advertisement
Guest User

Fixed

a guest
Sep 9th, 2016
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.00 KB | None | 0 0
  1. ---
  2. API: 2
  3. OpenSesame: 3.1.0
  4. Platform: posix
  5. ---
  6. set width 1024
  7. set uniform_coordinates yes
  8. set title MatchingPairsControl
  9. set subject_parity even
  10. set subject_nr 0
  11. set start experiment
  12. set sampler_backend legacy
  13. set mouse_backend xpyriment
  14. set keyboard_backend legacy
  15. set height 768
  16. set foreground white
  17. set font_size 18
  18. set font_italic no
  19. set font_family mono
  20. set font_bold no
  21. set experiment_path "/Users/allisonoleary/Desktop/Papers for Shelby"
  22. set description "Default description"
  23. set coordinates uniform
  24. set compensation 0
  25. set color_backend legacy
  26. set clock_backend legacy
  27. set canvas_backend xpyriment
  28. set bidi no
  29. set background black
  30.  
  31. define loop InitialStudy
  32. set source_file ""
  33. set source table
  34. set repeat 1
  35. set order random
  36. set description "Repeatedly runs another item"
  37. set cycles 24
  38. set continuous no
  39. set break_if_on_first yes
  40. set break_if never
  41. setcycle 0 word1 Advice
  42. setcycle 0 word2 Boredom
  43. setcycle 0 difficulty Difficult
  44. setcycle 1 word1 Blandness
  45. setcycle 1 word2 Pact
  46. setcycle 1 difficulty Difficult
  47. setcycle 2 word1 Comparison
  48. setcycle 2 word2 Increment
  49. setcycle 2 difficulty Difficult
  50. setcycle 3 word1 Confidence
  51. setcycle 3 word2 Instance
  52. setcycle 3 difficulty Difficult
  53. setcycle 4 word1 Cost
  54. setcycle 4 word2 Hatred
  55. setcycle 4 difficulty Difficult
  56. setcycle 5 word1 Criterion
  57. setcycle 5 word2 Attitude
  58. setcycle 5 difficulty Difficult
  59. setcycle 6 word1 Diffusion
  60. setcycle 6 word2 Hope
  61. setcycle 6 difficulty Difficult
  62. setcycle 7 word1 Episode
  63. setcycle 7 word2 Majority
  64. setcycle 7 difficulty Difficult
  65. setcycle 8 word1 Elaboration
  66. setcycle 8 word2 Belief
  67. setcycle 8 difficulty Difficult
  68. setcycle 9 word1 Excuse
  69. setcycle 9 word2 Mercy
  70. setcycle 9 difficulty Difficult
  71. setcycle 10 word1 Immunity
  72. setcycle 10 word2 Miracle
  73. setcycle 10 difficulty Difficult
  74. setcycle 11 word1 Impulse
  75. setcycle 11 word2 Jeopardy
  76. setcycle 11 difficulty Difficult
  77. setcycle 12 word1 Angle
  78. setcycle 12 word2 Curve
  79. setcycle 12 difficulty Easy
  80. setcycle 13 word1 Cinnamon
  81. setcycle 13 word2 Roll
  82. setcycle 13 difficulty Easy
  83. setcycle 14 word1 Cord
  84. setcycle 14 word2 Plug
  85. setcycle 14 difficulty Easy
  86. setcycle 15 word1 Doll
  87. setcycle 15 word2 Child
  88. setcycle 15 difficulty Easy
  89. setcycle 16 word1 Golf
  90. setcycle 16 word2 Sport
  91. setcycle 16 difficulty Easy
  92. setcycle 17 word1 Graduation
  93. setcycle 17 word2 College
  94. setcycle 17 difficulty Easy
  95. setcycle 18 word1 Grow
  96. setcycle 18 word2 Shrink
  97. setcycle 18 difficulty Easy
  98. setcycle 19 word1 Stand
  99. setcycle 19 word2 Fall
  100. setcycle 19 difficulty Easy
  101. setcycle 20 word1 Pond
  102. setcycle 20 word2 Frog
  103. setcycle 20 difficulty Easy
  104. setcycle 21 word1 Jelly
  105. setcycle 21 word2 Bread
  106. setcycle 21 difficulty Easy
  107. setcycle 22 word1 Mouse
  108. setcycle 22 word2 Hole
  109. setcycle 22 difficulty Easy
  110. setcycle 23 word1 Stadium
  111. setcycle 23 word2 Concert
  112. setcycle 23 difficulty Easy
  113. run InitialStudySequence
  114.  
  115. define sequence InitialStudySequence
  116. set flush_keyboard yes
  117. set description "Runs a number of items in sequence"
  118. run WordPairs always
  119.  
  120. define sketchpad Instructions
  121. set duration keypress
  122. set description "Displays stimuli"
  123. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="During this experiment, you will learn a list of 24 word pairs <br>during a series of alternating study and test phases. <br /><br><br />In the first phase, you will see each word pair in sequence for 5 seconds each. <br><br><br>Try to remember each pair to the best of your ability, <br>as you will be tested on them later.<br /><br><br><br />It is important to pay attention through the entire study phase, <br>so you do not miss any of the word pairs.<br><br />Press the spacebar to proceed to the study phase. <br />" x=0 y=-32 z_index=0
  124.  
  125. define form_text_display InstructionsX
  126. set timeout infinite
  127. set spacing 10
  128. set rows "1;4;1"
  129. set only_render no
  130. set ok_text OK
  131. set margins "50;50;50;50"
  132. set form_title "<span size=24>Instructions</span>"
  133. __form_text__
  134. During this experiment, you will learn a list of 24 word pairs during a series of alternating study and test phases.
  135.  
  136. In the first phase, you will see each word pair for 5 seconds, at which point it will automatically proceed to the next word pair. Try to remember each pair to the best of your ability, as you will be tested on them later.
  137.  
  138. It is important to pay attention through the entire study phase, so you do not miss any of the word pairs.
  139. Please click the OK button to proceed to the initial study phase.
  140. __end__
  141. set description "A simple text display form"
  142. set cols "1;1;1"
  143. set _theme gray
  144. widget 0 0 3 1 label text="[form_title]"
  145. widget 0 1 3 1 label center=no text="[form_text]"
  146. widget 1 2 1 1 button text="[ok_text]"
  147.  
  148.  
  149. define sketchpad IntroRestudy
  150. set duration keypress
  151. set description "Displays stimuli"
  152. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="In the next phase of the experiment, you will have a chance to study <br>the same word pairs a second time before being tested. <br>To re-study, on each trial, you may choose to:<br><br />1) see the pair a second time, or to <br><br />2) test your knowledge of the pair. <br><br><br />Press the spacebar to proceed." x=0 y=0 z_index=0
  153.  
  154. define form_text_display IntroRestudyX
  155. set timeout infinite
  156. set spacing 10
  157. set rows "1;4;1"
  158. set only_render no
  159. set ok_text Ok
  160. set margins "50;50;50;50"
  161. set form_title "<span size=24>Title</span>"
  162. __form_text__
  163. In the next phase of the experiment, you will have a chance to study the same word pairs a second time before being tested. To re-study, on each trial, you may choose to:
  164. 1) see the pair a second time, or to
  165. 2) test your knowledge of the pair.
  166. __end__
  167. set description "A simple text display form"
  168. set cols "1;1;1"
  169. set _theme gray
  170. widget 0 0 3 1 label text="[form_title]"
  171. widget 0 1 3 1 label center=no text="[form_text]"
  172. widget 1 2 1 1 button text="[ok_text]"
  173.  
  174.  
  175. define form_multiple_choice JOLQ
  176. set timeout infinite
  177. set spacing 10
  178. set question "How well do you think you will be able to remember these word pairs? "
  179. __options__
  180. Very Likely
  181. Likely
  182. Unsure
  183. Unlikely
  184. Very Likely
  185. __end__
  186. set margins "50;50;50;50"
  187. set form_var response
  188. set form_title "Form title"
  189. set description "A simple multiple choice item"
  190. set button_text Ok
  191. set allow_multiple no
  192. set advance_immediately yes
  193. set _theme gray
  194.  
  195. define loop ReStudy
  196. set source_file ""
  197. set source table
  198. set repeat 1
  199. set order random
  200. set description "Repeatedly runs another item"
  201. set cycles 24
  202. set continuous no
  203. set break_if_on_first yes
  204. set break_if never
  205. setcycle 0 word1 Advice
  206. setcycle 0 word2 Boredom
  207. setcycle 0 difficulty Difficult
  208. setcycle 1 word1 Blandness
  209. setcycle 1 word2 Pact
  210. setcycle 1 difficulty Difficult
  211. setcycle 2 word1 Comparison
  212. setcycle 2 word2 Increment
  213. setcycle 2 difficulty Difficult
  214. setcycle 3 word1 Confidence
  215. setcycle 3 word2 Instance
  216. setcycle 3 difficulty Difficult
  217. setcycle 4 word1 Cost
  218. setcycle 4 word2 Hatred
  219. setcycle 4 difficulty Difficult
  220. setcycle 5 word1 Criterion
  221. setcycle 5 word2 Attitude
  222. setcycle 5 difficulty Difficult
  223. setcycle 6 word1 Diffusion
  224. setcycle 6 word2 Hope
  225. setcycle 6 difficulty Difficult
  226. setcycle 7 word1 Episode
  227. setcycle 7 word2 Majority
  228. setcycle 7 difficulty Difficult
  229. setcycle 8 word1 Elaboration
  230. setcycle 8 word2 Belief
  231. setcycle 8 difficulty Difficult
  232. setcycle 9 word1 Excuse
  233. setcycle 9 word2 Mercy
  234. setcycle 9 difficulty Difficult
  235. setcycle 10 word1 Immunity
  236. setcycle 10 word2 Miracle
  237. setcycle 10 difficulty Difficult
  238. setcycle 11 word1 Impulse
  239. setcycle 11 word2 Jeopardy
  240. setcycle 11 difficulty Difficult
  241. setcycle 12 word1 Angle
  242. setcycle 12 word2 Curve
  243. setcycle 12 difficulty Easy
  244. setcycle 13 word1 Cinnamon
  245. setcycle 13 word2 Roll
  246. setcycle 13 difficulty Easy
  247. setcycle 14 word1 Cord
  248. setcycle 14 word2 Plug
  249. setcycle 14 difficulty Easy
  250. setcycle 15 word1 Doll
  251. setcycle 15 word2 Child
  252. setcycle 15 difficulty Easy
  253. setcycle 16 word1 Golf
  254. setcycle 16 word2 Sport
  255. setcycle 16 difficulty Easy
  256. setcycle 17 word1 Graduation
  257. setcycle 17 word2 College
  258. setcycle 17 difficulty Easy
  259. setcycle 18 word1 Grow
  260. setcycle 18 word2 Shrink
  261. setcycle 18 difficulty Easy
  262. setcycle 19 word1 Stand
  263. setcycle 19 word2 Fall
  264. setcycle 19 difficulty Easy
  265. setcycle 20 word1 Pond
  266. setcycle 20 word2 Frog
  267. setcycle 20 difficulty Easy
  268. setcycle 21 word1 Jelly
  269. setcycle 21 word2 Bread
  270. setcycle 21 difficulty Easy
  271. setcycle 22 word1 Mouse
  272. setcycle 22 word2 Hole
  273. setcycle 22 difficulty Easy
  274. setcycle 23 word1 Stadium
  275. setcycle 23 word2 Concert
  276. setcycle 23 difficulty Easy
  277. run ReStudySequence
  278.  
  279. define sequence ReStudySequence
  280. set flush_keyboard yes
  281. set description "Runs a number of items in sequence"
  282. run ReStudy_1 always
  283. run new_sketchpad always
  284.  
  285. define inline_script ReStudy_1
  286. set description "Executes Python code"
  287. set _run "my_canvas_choice = canvas(exp, auto_prepare = False)"
  288. set _prepare ""
  289.  
  290. my_mouse = mouse(exp)
  291. my_mouse.set_visible(visible=True)
  292. my_mouse.set_timeout(timeout=None)
  293. my_mouse.set_pos()
  294. start_time = self.time()
  295.  
  296. #seq_num = self.get('count_sequence')
  297. #print seq_num, ')))))))'
  298.  
  299.  
  300. #show rectangles
  301. my_canvas_choice.text('How would you like to re-study this pair?', x = 0, y = -224)
  302. my_canvas_choice.text("word", x = -32, y = -0)
  303. my_canvas_choice.text("______", x = 32, y = 0)
  304. my_canvas_choice.text("-", x = 0, y = 0)
  305. #position button text inside of rectangles
  306. my_canvas_choice.rect(color="grey", fill=1, h=130, penwidth=1, w=192, x=-256, y=96)
  307. my_canvas_choice.rect(color="grey", fill=1, h=130, penwidth=1, w=192, x=64, y=96)
  308. my_canvas_choice.show()
  309.  
  310.  
  311. #consider randomizing position on screen?
  312. while True:
  313. button, position, timestamp = my_mouse.get_click()
  314. if ((-256) < position[0] < (-64)) and ((96) < position[1] < (226)): #change to rectangle1 position
  315. choice_response = 'L'
  316. study_option = 'seepair'
  317. break
  318. elif ((64) < position[0] < (256)) and ((96) < position[1] < (226)): #change to rectangle 2 position
  319. choice_response = 'R'
  320. study_option = 'selftest'
  321. break
  322. my_canvas_choice.clear()
  323. my_canvas_choice.show()
  324.  
  325.  
  326. self.experiment.set('choice_side', choice_response)
  327. self.experiment.set('choice_study', study_option)
  328. self.experiment.set('choice_RT', timestamp - start_time)
  329. global choice_response
  330. __end__
  331. ___prepare__
  332. from openexp.canvas import canvas
  333. from openexp.mouse import mouse
  334. from openexp.keyboard import keyboard
  335. my_canvas = canvas(exp)
  336. __end__
  337.  
  338. define form_text_display Restudy1
  339. set timeout infinite
  340. set spacing 10
  341. set rows "1;4;1"
  342. set only_render no
  343. set ok_text Ok
  344. set margins "50;50;50;50"
  345. set form_title "<span size=24>Title</span>"
  346. __form_text__
  347. If you choose to restudy the word pairs intact, you will see a pair that looks like this:
  348.  
  349.  
  350.  
  351. ant - hill
  352. __end__
  353. set description "A simple text display form"
  354. set cols "1;1;1"
  355. set _theme gray
  356. widget 0 0 3 1 label text="[form_title]"
  357. widget 0 1 3 1 label center=no text="[form_text]"
  358. widget 1 2 1 1 button text="[ok_text]"
  359.  
  360.  
  361. define sketchpad Restudy1_1
  362. set duration keypress
  363. set description "Displays stimuli"
  364. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="On each trial during the re-study phase, you will see the first item:<br /><br><br><br><br><br><br /><br><br><br>You will then be asked to select one of two study methods <br>by clicking on the corresponding button: " x=0 y=-64 z_index=0
  365. draw rect color=grey fill=1 h=130 penwidth=1 show_if=always w=192 x=-256 y=96 z_index=0
  366. draw rect color=grey fill=1 h=130 penwidth=1 show_if=always w=192 x=64 y=96 z_index=0
  367. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="See Pair" x=-160 y=160 z_index=0
  368. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="Self-Test" x=160 y=160 z_index=0
  369. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="Press the spacebar for an explanation of each study option." x=0 y=288 z_index=0
  370. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="-" x=0 y=-64 z_index=0
  371. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text=Ant x=-64 y=-64 z_index=0
  372. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="______" x=64 y=-64 z_index=0
  373.  
  374. define form_text_display Restudy2
  375. set timeout infinite
  376. set spacing 10
  377. set rows "1;4;1"
  378. set only_render no
  379. set ok_text Ok
  380. set margins "50;50;50;50"
  381. set form_title "<span size=24>Title</span>"
  382. __form_text__
  383. If you choose to self-test, you will see a screen that looks like this:
  384.  
  385.  
  386. ant - _________
  387.  
  388.  
  389.  
  390. And you will be asked to complete the pair by typing in the second item. You will have 10 seconds to do so.
  391. __end__
  392. set description "A simple text display form"
  393. set cols "1;1;1"
  394. set _theme gray
  395. widget 0 0 3 1 label text="[form_title]"
  396. widget 0 1 3 1 label center=no text="[form_text]"
  397. widget 1 2 1 1 button text="[ok_text]"
  398.  
  399.  
  400. define sketchpad Restudy2_1
  401. set duration keypress
  402. set description "Displays stimuli"
  403. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="If you choose the <b>See Pair</b> option, <br>you will see the full pair for up to 10 seconds: <br /><br><br><br><br><br>" x=0 y=-64 z_index=0
  404. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="Press the spacebar to proceed." x=0 y=128 z_index=0
  405. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text=Ant x=-64 y=0 z_index=0
  406. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="-" x=0 y=0 z_index=0
  407. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text=Hill x=64 y=0 z_index=0
  408.  
  409. define form_text_display Restudy3
  410. set timeout infinite
  411. set spacing 10
  412. set rows "1;4;1"
  413. set only_render no
  414. set ok_text Ok
  415. set margins "50;50;50;50"
  416. set form_title "<span size=24>Title</span>"
  417. __form_text__
  418. On each trial, you will see the first item:
  419.  
  420. ant - _________
  421.  
  422.  
  423. And be asked to select your method of study by clicking one of the two buttons:
  424.  
  425. -------- ---------
  426. See Pair Self-Test
  427. -------- ---------
  428. __end__
  429. set description "A simple text display form"
  430. set cols "1;1;1"
  431. set _theme gray
  432. widget 0 0 3 1 label text="[form_title]"
  433. widget 0 1 3 1 label center=no text="[form_text]"
  434. widget 1 2 1 1 button text="[ok_text]"
  435.  
  436.  
  437. define sketchpad Restudy3_1
  438. set duration keypress
  439. set description "Displays stimuli"
  440. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="If you choose the <b>Self-Test</b> option, <br>you will see a screen that looks like this:<br /><br><br><br><br><br><br /><br><br><br>You will then be prompted to complete the pair by typing in <br>the missing item. You will have 10 seconds to do so. <br /><br><br>Press the spacebar to proceed." x=0 y=32 z_index=0
  441. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text=Ant x=-64 y=0 z_index=0
  442. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="-" x=0 y=0 z_index=0
  443. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="______" x=64 y=0 z_index=0
  444.  
  445. define form_text_display Restudy4
  446. set timeout infinite
  447. set spacing 10
  448. set rows "1;4;1"
  449. set only_render no
  450. set ok_text Ok
  451. set margins "50;50;50;50"
  452. set form_title "<span size=24>Title</span>"
  453. __form_text__
  454. On each trial, after you choose your method of study, and study the pair a second time, you will be asked to rate your confience for that item.
  455. You will be asked to rate how condfident you are how confident you are that you will accurately remember that word pair during the test phase.
  456. You will make your judgment by choosing a confidence level between 0 and 100 percent, with 0 meaning you will definitely not remember the pair, and 100 meaning that you will definitely remember the pair. You may choose a value of 0, 100, or any whole number in between.
  457.  
  458. Click the OK button to proceed to the restudy phase.
  459. __end__
  460. set description "A simple text display form"
  461. set cols "1;1;1"
  462. set _theme gray
  463. widget 0 0 3 1 label text="[form_title]"
  464. widget 0 1 3 1 label center=no text="[form_text]"
  465. widget 1 2 1 1 button text="[ok_text]"
  466.  
  467.  
  468. define sketchpad Restudy4_1
  469. set duration keypress
  470. set description "Displays stimuli"
  471. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="After you choose your method of study and study the pair a second time, <br>you will be asked to rate your confidence for that item, or how sure <br>you are that you will accurately remember that word pair during the test phase. <br><br><br />You will make your judgment by typing a confidence level between 0 and 100 percent. <br>A response of 0 means you think you will definitely not remember the pair. <br>A response of 100 means you think you will definitely remember the pair. <br>You may choose a value anywhere between 0 and 100." x=0 y=-224 z_index=0
  472. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="____" x=0 y=0 z_index=0
  473. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="Press the spacebar to proceed to the re-study phase. " x=0 y=96 z_index=0
  474.  
  475. define loop RestudyPhases
  476. set source_file ""
  477. set source table
  478. set repeat 1
  479. set order random
  480. set description "Repeatedly runs another item"
  481. set cycles 24
  482. set continuous no
  483. set break_if_on_first yes
  484. set break_if never
  485. setcycle 0 word1 Advice
  486. setcycle 0 word2 Boredom
  487. setcycle 0 difficulty Difficult
  488. setcycle 1 word1 Blandness
  489. setcycle 1 word2 Pact
  490. setcycle 1 difficulty Difficult
  491. setcycle 2 word1 Comparison
  492. setcycle 2 word2 Increment
  493. setcycle 2 difficulty Difficult
  494. setcycle 3 word1 Confidence
  495. setcycle 3 word2 Instance
  496. setcycle 3 difficulty Difficult
  497. setcycle 4 word1 Cost
  498. setcycle 4 word2 Hatred
  499. setcycle 4 difficulty Difficult
  500. setcycle 5 word1 Criterion
  501. setcycle 5 word2 Attitude
  502. setcycle 5 difficulty Difficult
  503. setcycle 6 word1 Diffusion
  504. setcycle 6 word2 Hope
  505. setcycle 6 difficulty Difficult
  506. setcycle 7 word1 Episode
  507. setcycle 7 word2 Majority
  508. setcycle 7 difficulty Difficult
  509. setcycle 8 word1 Elaboration
  510. setcycle 8 word2 Belief
  511. setcycle 8 difficulty Difficult
  512. setcycle 9 word1 Excuse
  513. setcycle 9 word2 Mercy
  514. setcycle 9 difficulty Difficult
  515. setcycle 10 word1 Immunity
  516. setcycle 10 word2 Miracle
  517. setcycle 10 difficulty Difficult
  518. setcycle 11 word1 Impulse
  519. setcycle 11 word2 Jeopardy
  520. setcycle 11 difficulty Difficult
  521. setcycle 12 word1 Angle
  522. setcycle 12 word2 Curve
  523. setcycle 12 difficulty Easy
  524. setcycle 13 word1 Cinnamon
  525. setcycle 13 word2 Roll
  526. setcycle 13 difficulty Easy
  527. setcycle 14 word1 Cord
  528. setcycle 14 word2 Plug
  529. setcycle 14 difficulty Easy
  530. setcycle 15 word1 Doll
  531. setcycle 15 word2 Child
  532. setcycle 15 difficulty Easy
  533. setcycle 16 word1 Golf
  534. setcycle 16 word2 Sport
  535. setcycle 16 difficulty Easy
  536. setcycle 17 word1 Graduation
  537. setcycle 17 word2 College
  538. setcycle 17 difficulty Easy
  539. setcycle 18 word1 Grow
  540. setcycle 18 word2 Shrink
  541. setcycle 18 difficulty Easy
  542. setcycle 19 word1 Stand
  543. setcycle 19 word2 Fall
  544. setcycle 19 difficulty Easy
  545. setcycle 20 word1 Pond
  546. setcycle 20 word2 Frog
  547. setcycle 20 difficulty Easy
  548. setcycle 21 word1 Jelly
  549. setcycle 21 word2 Bread
  550. setcycle 21 difficulty Easy
  551. setcycle 22 word1 Mouse
  552. setcycle 22 word2 Hole
  553. setcycle 22 difficulty Easy
  554. setcycle 23 word1 Stadium
  555. setcycle 23 word2 Concert
  556. setcycle 23 difficulty Easy
  557. run Sequence2
  558.  
  559. define form_multiple_choice RestudyQuestion
  560. set timeout infinite
  561. set spacing 10
  562. set question "You will now have a chance to see the words again before the test. Would you like to see the word pairs intact again or practice retrieval? "
  563. __options__
  564. See the Word Pairs Intact
  565. Practice Retrieval
  566. __end__
  567. set margins "50;50;50;50"
  568. set form_var response
  569. set form_title "Form title"
  570. set description "A simple multiple choice item"
  571. set button_text Ok
  572. set allow_multiple no
  573. set advance_immediately yes
  574. set _theme gray
  575.  
  576. define sequence Sequence2
  577. set flush_keyboard yes
  578. set description "Runs a number of items in sequence"
  579. run WordPairs2 always
  580.  
  581. define sketchpad WordPairs
  582. set duration 5000
  583. set description "Displays stimuli"
  584. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="[word1]" x=-64 y=0 z_index=0
  585. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="[word2]" x=64 y=0 z_index=0
  586. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="-" x=0 y=0 z_index=0
  587.  
  588. define sketchpad WordPairs2
  589. set duration 5000
  590. set description "Displays stimuli"
  591. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="[word1]" x=-256 y=0 z_index=0
  592. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="[word2]" x=256 y=0 z_index=0
  593.  
  594. define sequence experiment
  595. set flush_keyboard yes
  596. set description "Runs a number of items in sequence"
  597. run new_inline_script always
  598. run Instructions always
  599. run InitialStudy never
  600. run IntroRestudy always
  601. run Restudy1_1 always
  602. run Restudy2_1 always
  603. run Restudy3_1 always
  604. run Restudy4_1 always
  605. run ReStudy always
  606.  
  607. define notepad getting_started
  608. __note__
  609. Welcome to OpenSesame 3.1 "Jazzy James"!
  610. If you are new to OpenSesame, it is a good idea to follow one of the tutorials,
  611. which can be found on the documentation site:
  612. - <http://osdoc.cogsci.nl/>
  613. You can also check out the examples. These can be opened via:
  614. - Menu -> Tools -> Example experiments.
  615. And feel free to ask for help on the forum:
  616. - <http://forum.cogsci.nl/>
  617. Have fun with OpenSesame!
  618. __end__
  619. set description "A simple notepad to document your experiment. This plug-in does nothing."
  620.  
  621. define inline_script new_inline_script
  622. set description "Executes Python code"
  623. set _run ""
  624. ___prepare__
  625. #set max x and y resolution
  626. res = exp.resolution()
  627. x_res = res[0]
  628. y_res = res[1]
  629. #take half of the x resolution, globalize that variable
  630. x_half = x_res/2
  631. global x_half
  632. #take a quarter of the x resolution, globalize that variable
  633. x_quarter = x_half/2
  634. global x_quarter
  635. x_eighth = x_quarter/2
  636. global x_eighth
  637. #take half of the y resolution, globalize that variable
  638. y_half = y_res/2
  639. global y_half
  640. y_quarter = y_half/2
  641. global y_quarter
  642. y_eighth = y_quarter/2
  643. global y_eighth
  644. __end__
  645.  
  646. define sketchpad new_sketchpad
  647. set duration keypress
  648. set description "Displays stimuli"
  649. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="[word1]" x=-64 y=0 z_index=0
  650. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="-" x=0 y=0 z_index=0
  651. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="______" x=64 y=0 z_index=0
  652. draw rect color=grey fill=1 h=130 penwidth=1 show_if=always w=192 x=-256 y=96 z_index=0
  653. draw rect color=grey fill=1 h=130 penwidth=1 show_if=always w=192 x=64 y=96 z_index=0
  654. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="Self-Test" x=160 y=160 z_index=0
  655. draw textline center=1 color=white font_bold=no font_family=mono font_italic=no font_size=18 html=yes show_if=always text="See Pair" x=-160 y=160 z_index=0
  656.  
  657. define sketchpad welcome
  658. set start_response_interval no
  659. set reset_variables no
  660. set duration keypress
  661. set description "Displays stimuli"
  662. draw textline center=1 color=white font_bold=no font_family=serif font_italic=no font_size=32 html=yes show_if=always text="OpenSesame 3.1 <i>Jazzy James</i>" x=0 y=0 z_index=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement