forked from CIMH-Clinical-Psychology/highspeed-task-MEG
-
Notifications
You must be signed in to change notification settings - Fork 0
/
1_fast_replay_resting_state.psyexp
828 lines (828 loc) · 70.8 KB
/
1_fast_replay_resting_state.psyexp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
<?xml version="1.0" ?>
<PsychoPy2experiment encoding="utf-8" version="2024.2.1post4">
<Settings>
<Param val="0" valType="str" updates="None" name="Audio latency priority"/>
<Param val="sounddevice" valType="str" updates="None" name="Audio lib"/>
<Param val="" valType="str" updates="None" name="Completed URL"/>
<Param val="comma" valType="str" updates="None" name="Data file delimiter"/>
<Param val="u'data/%s_%s_%s' % (expInfo['participant'], expName, expInfo['date'])" valType="code" updates="None" name="Data filename"/>
<Param val="True" valType="bool" updates="None" name="Enable Escape"/>
<Param val="" valType="str" updates="None" name="End Message"/>
<Param val="{'participant': '0', 'session': '1'}" valType="code" updates="None" name="Experiment info"/>
<Param val="True" valType="bool" updates="None" name="Force stereo"/>
<Param val="True" valType="bool" updates="None" name="Full-screen window"/>
<Param val="" valType="str" updates="None" name="HTML path"/>
<Param val="" valType="str" updates="None" name="Incomplete URL"/>
<Param val="testMonitor" valType="str" updates="None" name="Monitor"/>
<Param val="[]" valType="list" updates="None" name="Resources"/>
<Param val="False" valType="bool" updates="None" name="Save csv file"/>
<Param val="False" valType="bool" updates="None" name="Save excel file"/>
<Param val="False" valType="bool" updates="None" name="Save hdf5 file"/>
<Param val="True" valType="bool" updates="None" name="Save log file"/>
<Param val="True" valType="bool" updates="None" name="Save psydat file"/>
<Param val="True" valType="bool" updates="None" name="Save wide csv file"/>
<Param val="2" valType="num" updates="None" name="Screen"/>
<Param val="True" valType="bool" updates="None" name="Show info dlg"/>
<Param val="False" valType="bool" updates="None" name="Show mouse"/>
<Param val="norm" valType="str" updates="None" name="Units"/>
<Param val="" valType="str" updates="None" name="Use version"/>
<Param val="[1920, 1080]" valType="list" updates="None" name="Window size (pixels)"/>
<Param val="none" valType="str" updates="None" name="backgroundFit"/>
<Param val="" valType="str" updates="None" name="backgroundImg"/>
<Param val="avg" valType="str" updates="None" name="blendMode"/>
<Param val="float" valType="str" updates="None" name="clockFormat"/>
<Param val="{'thisRow.t': 'priority.CRITICAL', 'expName': 'priority.LOW'}" valType="dict" updates="None" name="colPriority"/>
<Param val="$[0,0,0]" valType="color" updates="None" name="color"/>
<Param val="rgb" valType="str" updates="None" name="colorSpace"/>
<Param val="warning" valType="code" updates="None" name="consoleLoggingLevel"/>
<Param val="default" valType="str" updates="None" name="ecSampleRate"/>
<Param val="100.1.1.1" valType="str" updates="None" name="elAddress"/>
<Param val="FILTER_LEVEL_2" valType="str" updates="None" name="elDataFiltering"/>
<Param val="FILTER_LEVEL_OFF" valType="str" updates="None" name="elLiveFiltering"/>
<Param val="EYELINK 1000 DESKTOP" valType="str" updates="None" name="elModel"/>
<Param val="ELLIPSE_FIT" valType="str" updates="None" name="elPupilAlgorithm"/>
<Param val="PUPIL_AREA" valType="str" updates="None" name="elPupilMeasure"/>
<Param val="1000" valType="num" updates="None" name="elSampleRate"/>
<Param val="False" valType="bool" updates="None" name="elSimMode"/>
<Param val="RIGHT_EYE" valType="str" updates="None" name="elTrackEyes"/>
<Param val="PUPIL_CR_TRACKING" valType="str" updates="None" name="elTrackingMode"/>
<Param val="7TFR-RS" valType="str" updates="None" name="expName"/>
<Param val="on Sync" valType="str" updates="None" name="exportHTML"/>
<Param val="None" valType="str" updates="None" name="eyetracker"/>
<Param val="" valType="code" updates="None" name="frameRate"/>
<Param val="Attempting to measure frame rate of screen, please wait..." valType="str" updates="None" name="frameRateMsg"/>
<Param val="127.0.0.1" valType="str" updates="None" name="gpAddress"/>
<Param val="4242" valType="num" updates="None" name="gpPort"/>
<Param val="ioHub" valType="str" updates="None" name="keyboardBackend"/>
<Param val="info" valType="code" updates="None" name="logging level"/>
<Param val="True" valType="bool" updates="None" name="measureFrameRate"/>
<Param val="('MIDDLE_BUTTON',)" valType="list" updates="None" name="mgBlink"/>
<Param val="CONTINUOUS" valType="str" updates="None" name="mgMove"/>
<Param val="0.5" valType="num" updates="None" name="mgSaccade"/>
<Param val="neon.local" valType="str" updates="None" name="plCompanionAddress"/>
<Param val="8080" valType="num" updates="None" name="plCompanionPort"/>
<Param val="True" valType="bool" updates="None" name="plCompanionRecordingEnabled"/>
<Param val="0.6" valType="num" updates="None" name="plConfidenceThreshold"/>
<Param val="True" valType="bool" updates="None" name="plPupilCaptureRecordingEnabled"/>
<Param val="" valType="str" updates="None" name="plPupilCaptureRecordingLocation"/>
<Param val="127.0.0.1" valType="str" updates="None" name="plPupilRemoteAddress"/>
<Param val="50020" valType="num" updates="None" name="plPupilRemotePort"/>
<Param val="1000" valType="num" updates="None" name="plPupilRemoteTimeoutMs"/>
<Param val="False" valType="bool" updates="None" name="plPupillometryOnly"/>
<Param val="psychopy_iohub_surface" valType="str" updates="None" name="plSurfaceName"/>
<Param val="1" valType="code" updates="None" name="runMode"/>
<Param val="False" valType="bool" updates="None" name="rush"/>
<Param val="time" valType="str" updates="None" name="sortColumns"/>
<Param val="" valType="str" updates="None" name="tbLicenseFile"/>
<Param val="" valType="str" updates="None" name="tbModel"/>
<Param val="60" valType="num" updates="None" name="tbSampleRate"/>
<Param val="" valType="str" updates="None" name="tbSerialNo"/>
<Param val="pyglet" valType="str" updates="None" name="winBackend"/>
</Settings>
<Routines>
<Routine name="language_selection">
<RoutineSettingsComponent name="language_selection" plugin="None">
<Param val="none" valType="str" updates="None" name="backgroundFit"/>
<Param val="" valType="str" updates="None" name="backgroundImg"/>
<Param val="$[0,0,0]" valType="color" updates="None" name="color"/>
<Param val="rgb" valType="str" updates="None" name="colorSpace"/>
<Param val="" valType="str" updates="constant" name="desc"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="" valType="code" updates="None" name="durationEstim"/>
<Param val="False" valType="code" updates="None" name="forceNonSlip"/>
<Param val="language_selection" valType="code" updates="None" name="name"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="constant" name="skipIf"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="False" valType="bool" updates="None" name="useWindowParams"/>
</RoutineSettingsComponent>
<TextComponent name="session_warning_text" plugin="None">
<Param val="red" valType="color" updates="constant" name="color"/>
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
<Param val="1" valType="num" updates="constant" name="contrast"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="False" valType="code" updates="constant" name="draggable"/>
<Param val="" valType="code" updates="None" name="durationEstim"/>
<Param val="None" valType="str" updates="constant" name="flip"/>
<Param val="Open Sans" valType="str" updates="constant" name="font"/>
<Param val="LTR" valType="str" updates="None" name="languageStyle"/>
<Param val="0.07" valType="num" updates="constant" name="letterHeight"/>
<Param val="session_warning_text" valType="code" updates="None" name="name"/>
<Param val="" valType="num" updates="constant" name="opacity"/>
<Param val="0" valType="num" updates="constant" name="ori"/>
<Param val="(0, 0)" valType="list" updates="constant" name="pos"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="None" name="startEstim"/>
<Param val="time (s)" valType="str" updates="None" name="startType"/>
<Param val="0.0" valType="code" updates="None" name="startVal"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
<Param val="" valType="str" updates="constant" name="text"/>
<Param val="from exp settings" valType="str" updates="None" name="units"/>
<Param val="" valType="code" updates="None" name="validator"/>
<Param val="" valType="num" updates="constant" name="wrapWidth"/>
</TextComponent>
<PolygonComponent name="english_polygon" plugin="None">
<Param val="center" valType="str" updates="constant" name="anchor"/>
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
<Param val="1" valType="num" updates="constant" name="contrast"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="False" valType="code" updates="constant" name="draggable"/>
<Param val="60.0" valType="code" updates="None" name="durationEstim"/>
<Param val="none" valType="color" updates="constant" name="fillColor"/>
<Param val="linear" valType="str" updates="constant" name="interpolate"/>
<Param val="white" valType="color" updates="constant" name="lineColor"/>
<Param val="1.5" valType="num" updates="constant" name="lineWidth"/>
<Param val="4" valType="int" updates="constant" name="nVertices"/>
<Param val="english_polygon" valType="code" updates="None" name="name"/>
<Param val="" valType="num" updates="constant" name="opacity"/>
<Param val="0" valType="num" updates="constant" name="ori"/>
<Param val="(0.5, 0)" valType="list" updates="constant" name="pos"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="rectangle" valType="str" updates="None" name="shape"/>
<Param val="(0.3, 0.3)" valType="list" updates="constant" name="size"/>
<Param val="" valType="code" updates="None" name="startEstim"/>
<Param val="time (s)" valType="str" updates="None" name="startType"/>
<Param val="0.0" valType="code" updates="None" name="startVal"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
<Param val="from exp settings" valType="str" updates="None" name="units"/>
<Param val="" valType="code" updates="None" name="validator"/>
<Param val="" valType="list" updates="constant" name="vertices"/>
</PolygonComponent>
<PolygonComponent name="german_polygon" plugin="None">
<Param val="center" valType="str" updates="constant" name="anchor"/>
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
<Param val="1" valType="num" updates="constant" name="contrast"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="False" valType="code" updates="constant" name="draggable"/>
<Param val="60.0" valType="code" updates="None" name="durationEstim"/>
<Param val="none" valType="color" updates="constant" name="fillColor"/>
<Param val="linear" valType="str" updates="constant" name="interpolate"/>
<Param val="white" valType="color" updates="constant" name="lineColor"/>
<Param val="1.5" valType="num" updates="constant" name="lineWidth"/>
<Param val="4" valType="int" updates="constant" name="nVertices"/>
<Param val="german_polygon" valType="code" updates="None" name="name"/>
<Param val="" valType="num" updates="constant" name="opacity"/>
<Param val="0" valType="num" updates="constant" name="ori"/>
<Param val="(-0.5, 0)" valType="list" updates="constant" name="pos"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="rectangle" valType="str" updates="None" name="shape"/>
<Param val="(0.3, 0.3)" valType="list" updates="constant" name="size"/>
<Param val="" valType="code" updates="None" name="startEstim"/>
<Param val="time (s)" valType="str" updates="None" name="startType"/>
<Param val="0.0" valType="code" updates="None" name="startVal"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
<Param val="from exp settings" valType="str" updates="None" name="units"/>
<Param val="" valType="code" updates="None" name="validator"/>
<Param val="" valType="list" updates="constant" name="vertices"/>
</PolygonComponent>
<ImageComponent name="german_flag" plugin="None">
<Param val="center" valType="str" updates="constant" name="anchor"/>
<Param val="$[1,1,1]" valType="color" updates="constant" name="color"/>
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
<Param val="1" valType="num" updates="constant" name="contrast"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="False" valType="code" updates="constant" name="draggable"/>
<Param val="60.0" valType="code" updates="None" name="durationEstim"/>
<Param val="True" valType="bool" updates="constant" name="flipHoriz"/>
<Param val="False" valType="bool" updates="constant" name="flipVert"/>
<Param val="stimuli/german_flag.png" valType="file" updates="constant" name="image"/>
<Param val="linear" valType="str" updates="constant" name="interpolate"/>
<Param val="" valType="str" updates="constant" name="mask"/>
<Param val="german_flag" valType="code" updates="None" name="name"/>
<Param val="" valType="num" updates="constant" name="opacity"/>
<Param val="0" valType="num" updates="constant" name="ori"/>
<Param val="(-0.5, 0)" valType="list" updates="constant" name="pos"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="(0.3, 0.3)" valType="list" updates="constant" name="size"/>
<Param val="" valType="code" updates="None" name="startEstim"/>
<Param val="time (s)" valType="str" updates="None" name="startType"/>
<Param val="0.0" valType="code" updates="None" name="startVal"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
<Param val="128" valType="num" updates="constant" name="texture resolution"/>
<Param val="from exp settings" valType="str" updates="None" name="units"/>
<Param val="" valType="code" updates="None" name="validator"/>
</ImageComponent>
<ImageComponent name="english_flag" plugin="None">
<Param val="center" valType="str" updates="constant" name="anchor"/>
<Param val="$[1,1,1]" valType="color" updates="constant" name="color"/>
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
<Param val="1" valType="num" updates="constant" name="contrast"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="False" valType="code" updates="constant" name="draggable"/>
<Param val="60.0" valType="code" updates="None" name="durationEstim"/>
<Param val="False" valType="bool" updates="constant" name="flipHoriz"/>
<Param val="False" valType="bool" updates="constant" name="flipVert"/>
<Param val="stimuli/english_flag.png" valType="file" updates="constant" name="image"/>
<Param val="linear" valType="str" updates="constant" name="interpolate"/>
<Param val="" valType="str" updates="constant" name="mask"/>
<Param val="english_flag" valType="code" updates="None" name="name"/>
<Param val="" valType="num" updates="constant" name="opacity"/>
<Param val="0" valType="num" updates="constant" name="ori"/>
<Param val="(0.5, 0)" valType="list" updates="constant" name="pos"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="(0.3, 0.3)" valType="list" updates="constant" name="size"/>
<Param val="" valType="code" updates="None" name="startEstim"/>
<Param val="time (s)" valType="str" updates="None" name="startType"/>
<Param val="0.0" valType="code" updates="None" name="startVal"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
<Param val="128" valType="num" updates="constant" name="texture resolution"/>
<Param val="from exp settings" valType="str" updates="None" name="units"/>
<Param val="" valType="code" updates="None" name="validator"/>
</ImageComponent>
<TextComponent name="german_text" plugin="None">
<Param val="-1.0000, -0.2157, -1.0000" valType="color" updates="constant" name="color"/>
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
<Param val="1" valType="num" updates="constant" name="contrast"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="False" valType="code" updates="constant" name="draggable"/>
<Param val="60.0" valType="code" updates="None" name="durationEstim"/>
<Param val="None" valType="str" updates="constant" name="flip"/>
<Param val="Open Sans" valType="str" updates="constant" name="font"/>
<Param val="LTR" valType="str" updates="None" name="languageStyle"/>
<Param val="letter_height" valType="num" updates="constant" name="letterHeight"/>
<Param val="german_text" valType="code" updates="None" name="name"/>
<Param val="" valType="num" updates="constant" name="opacity"/>
<Param val="0" valType="num" updates="constant" name="ori"/>
<Param val="(-0.5, -0.25)" valType="list" updates="constant" name="pos"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="None" name="startEstim"/>
<Param val="time (s)" valType="str" updates="None" name="startType"/>
<Param val="0.0" valType="code" updates="None" name="startVal"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
<Param val="Drücken Sie die linke (grün) Taste für Deutsch" valType="str" updates="constant" name="text"/>
<Param val="from exp settings" valType="str" updates="None" name="units"/>
<Param val="" valType="code" updates="None" name="validator"/>
<Param val="" valType="num" updates="constant" name="wrapWidth"/>
</TextComponent>
<TextComponent name="english_text" plugin="None">
<Param val="-1.0000, -1.0000, 0.0902" valType="color" updates="constant" name="color"/>
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
<Param val="1" valType="num" updates="constant" name="contrast"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="False" valType="code" updates="constant" name="draggable"/>
<Param val="60.0" valType="code" updates="None" name="durationEstim"/>
<Param val="None" valType="str" updates="constant" name="flip"/>
<Param val="Open Sans" valType="str" updates="constant" name="font"/>
<Param val="LTR" valType="str" updates="None" name="languageStyle"/>
<Param val="letter_height" valType="num" updates="constant" name="letterHeight"/>
<Param val="english_text" valType="code" updates="None" name="name"/>
<Param val="" valType="num" updates="constant" name="opacity"/>
<Param val="0" valType="num" updates="constant" name="ori"/>
<Param val="(0.5, -0.25)" valType="list" updates="constant" name="pos"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="None" name="startEstim"/>
<Param val="time (s)" valType="str" updates="None" name="startType"/>
<Param val="0.0" valType="code" updates="None" name="startVal"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
<Param val="Press the right (blue) button for English" valType="str" updates="constant" name="text"/>
<Param val="from exp settings" valType="str" updates="None" name="units"/>
<Param val="" valType="code" updates="None" name="validator"/>
<Param val="" valType="num" updates="constant" name="wrapWidth"/>
</TextComponent>
<KeyboardComponent name="choice_key" plugin="None">
<Param val="response_keys" valType="list" updates="constant" name="allowedKeys"/>
<Param val="" valType="str" updates="constant" name="correctAns"/>
<Param val="" valType="str" updates="None" name="deviceLabel"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="True" valType="bool" updates="constant" name="discard previous"/>
<Param val="60.0" valType="code" updates="None" name="durationEstim"/>
<Param val="True" valType="bool" updates="constant" name="forceEndRoutine"/>
<Param val="choice_key" valType="code" updates="None" name="name"/>
<Param val="release" valType="str" updates="constant" name="registerOn"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="None" name="startEstim"/>
<Param val="time (s)" valType="str" updates="None" name="startType"/>
<Param val="0.0" valType="code" updates="None" name="startVal"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="last key" valType="str" updates="constant" name="store"/>
<Param val="False" valType="bool" updates="constant" name="storeCorrect"/>
<Param val="True" valType="bool" updates="constant" name="syncScreenRefresh"/>
</KeyboardComponent>
<CodeComponent name="choice_code" plugin="None">
<Param val="" valType="extendedCode" updates="constant" name="Before Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="Before JS Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="Begin Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="Begin JS Experiment"/>
<Param val="psychoJS.window.mouseVisible = false;&#10;" valType="extendedCode" updates="constant" name="Begin JS Routine"/>
<Param val="win.mouseVisible = False" valType="extendedCode" updates="constant" name="Begin Routine"/>
<Param val="Auto->JS" valType="str" updates="None" name="Code Type"/>
<Param val="" valType="extendedCode" updates="constant" name="Each Frame"/>
<Param val="" valType="extendedCode" updates="constant" name="Each JS Frame"/>
<Param val="" valType="extendedCode" updates="constant" name="End Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="End JS Experiment"/>
<Param val="var _pj;&#10;function _pj_snippets(container) {&#10; function in_es6(left, right) {&#10; if (((right instanceof Array) || ((typeof right) === "string"))) {&#10; return (right.indexOf(left) > (- 1));&#10; } else {&#10; if (((right instanceof Map) || (right instanceof Set) || (right instanceof WeakMap) || (right instanceof WeakSet))) {&#10; return right.has(left);&#10; } else {&#10; return (left in right);&#10; }&#10; }&#10; }&#10; container["in_es6"] = in_es6;&#10; return container;&#10;}&#10;_pj = {};&#10;_pj_snippets(_pj);&#10;if (_pj.in_es6(choice_key.keys, key_left)) {&#10; german_polygon.borderColor = [1, 0.2941, (- 1)];&#10; language = "german";&#10;} else {&#10; if (_pj.in_es6(choice_key.keys, key_right)) {&#10; english_polygon.borderColor = [1, 0.2941, (- 1)];&#10; language = "english";&#10; } else {&#10; throw new Error(`unknown button ${choice_key.keys}`);&#10; }&#10;}&#10;" valType="extendedCode" updates="constant" name="End JS Routine"/>
<Param val="&#10;if choice_key.keys in key_left:&#10; german_polygon.borderColor = [1, 0.2941, -1]&#10; language = "german"&#10;elif choice_key.keys in key_right:&#10; english_polygon.borderColor = [1, 0.2941, -1]&#10; language = "english"&#10;else:&#10; raise Exception(f'unknown button {choice_key.keys}')" valType="extendedCode" updates="constant" name="End Routine"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="choice_code" valType="code" updates="None" name="name"/>
</CodeComponent>
</Routine>
<Routine name="instructions">
<RoutineSettingsComponent name="instructions" plugin="None">
<Param val="none" valType="str" updates="None" name="backgroundFit"/>
<Param val="" valType="str" updates="None" name="backgroundImg"/>
<Param val="$[0,0,0]" valType="color" updates="None" name="color"/>
<Param val="rgb" valType="str" updates="None" name="colorSpace"/>
<Param val="" valType="str" updates="constant" name="desc"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="" valType="code" updates="None" name="durationEstim"/>
<Param val="False" valType="code" updates="None" name="forceNonSlip"/>
<Param val="instructions" valType="code" updates="None" name="name"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="constant" name="skipIf"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="False" valType="bool" updates="None" name="useWindowParams"/>
</RoutineSettingsComponent>
<KeyboardComponent name="key_resp" plugin="None">
<Param val="response_keys" valType="list" updates="constant" name="allowedKeys"/>
<Param val="" valType="str" updates="constant" name="correctAns"/>
<Param val="" valType="str" updates="None" name="deviceLabel"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="True" valType="bool" updates="constant" name="discard previous"/>
<Param val="" valType="code" updates="None" name="durationEstim"/>
<Param val="True" valType="bool" updates="constant" name="forceEndRoutine"/>
<Param val="key_resp" valType="code" updates="None" name="name"/>
<Param val="release" valType="str" updates="constant" name="registerOn"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="None" name="startEstim"/>
<Param val="time (s)" valType="str" updates="None" name="startType"/>
<Param val="0.0" valType="code" updates="None" name="startVal"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="last key" valType="str" updates="constant" name="store"/>
<Param val="False" valType="bool" updates="constant" name="storeCorrect"/>
<Param val="True" valType="bool" updates="constant" name="syncScreenRefresh"/>
</KeyboardComponent>
<TextComponent name="text_instr" plugin="None">
<Param val="white" valType="color" updates="constant" name="color"/>
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
<Param val="1.5" valType="num" updates="constant" name="contrast"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="False" valType="code" updates="constant" name="draggable"/>
<Param val="" valType="code" updates="None" name="durationEstim"/>
<Param val="None" valType="str" updates="constant" name="flip"/>
<Param val="Open Sans" valType="str" updates="constant" name="font"/>
<Param val="LTR" valType="str" updates="None" name="languageStyle"/>
<Param val="letter_height" valType="num" updates="constant" name="letterHeight"/>
<Param val="text_instr" valType="code" updates="None" name="name"/>
<Param val="" valType="num" updates="constant" name="opacity"/>
<Param val="0" valType="num" updates="constant" name="ori"/>
<Param val="(0, 0)" valType="list" updates="constant" name="pos"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="None" name="startEstim"/>
<Param val="time (s)" valType="str" updates="None" name="startType"/>
<Param val="0.0" valType="code" updates="None" name="startVal"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
<Param val="error" valType="str" updates="constant" name="text"/>
<Param val="from exp settings" valType="str" updates="None" name="units"/>
<Param val="" valType="code" updates="None" name="validator"/>
<Param val="1.5" valType="num" updates="constant" name="wrapWidth"/>
</TextComponent>
<CodeComponent name="code" plugin="None">
<Param val="" valType="extendedCode" updates="constant" name="Before Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="Before JS Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="Begin Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="Begin JS Experiment"/>
<Param val="if ((language === "german")) {&#10; if ((session === "1")) {&#10; text_instruction = "Das Experiment beginnt nun mit einer einfachen Aufgabe.";&#10; } else {&#10; if ((session === "2")) {&#10; text_instruction = "Jetzt folgt der letzte Teil des Experiments\n\nDieser Teil ist gleich wie der Teil ganz am Anfang.";&#10; } else {&#10; throw new Error(`unknown session ${session}`);&#10; }&#10; }&#10; text_instruction += "\n\nIn diesem Teil messen wir einen sogenannten \"resting state\", d.h. eine Art \"Grundzustand\" Ihres Gehirns, wenn sie gerade keine aktive Aufgabe erledigen.";&#10; text_instruction += "\n\nBitte setzen Sie sich bequem hin und bleiben Sie m\u00f6glichst still sitzen. Halten Sie die n\u00e4chsten 5 Minuten Ihre Augen ge\u00f6ffnet und versuchen Sie sich zu entspannen. Lassen Sie Ihre Gedanken frei schweifen, ohne sich auf spezifische Gedanken oder Aufgaben zu konzentrieren. Schauen Sie dabei die ganze Zeit das Fixierkreuz an, welches auf dem n\u00e4chsten Bildschirm angezeigt werden wird.";&#10; text_instruction += "\n\nFalls Sie noch Fragen zur Aufgabe haben, lassen Sie es den Experimentleiter bitte jetzt wissen.";&#10; text_instruction += " Wenn Sie bereit sind, dr\u00fccken Sie eine Taste und das Fixierkreuz wird f\u00fcr 5 Minuten erscheinen. ";&#10;} else {&#10; if ((language === "english")) {&#10; if ((session === "1")) {&#10; text_instruction = "Welcome to the experiment!\n\nThe experiment will now begin with a simple task.";&#10; } else {&#10; if ((session === "2")) {&#10; text_instruction = "Now follows the last part of the experiment\n\nThis part is the same as the one at the very beginning.";&#10; } else {&#10; throw new Error(`unknown session ${session}`);&#10; }&#10; }&#10; text_instruction += "\n\nIn this part, we measure a so-called \"resting state\", i.e., a kind of \"baseline state\" of your brain when you are not performing an active task.";&#10; text_instruction += "\n\nPlease sit down comfortably and try to stay as still as possible. Keep your eyes open for the next 5 minutes and try to relax. Let your thoughts wander freely without focusing on specific thoughts or tasks. With your eyes, keep looking on the fixation cross that will appear on the next screen. During the 5 minutes, please keep looking at the fixation cross while it is on the screen.";&#10; text_instruction += "\n\nIf you have any questions about the task, please let the experimentator know now.";&#10; text_instruction += " If you are ready, press any key to begin. The fixation cross will then appear for 5 minutes.";&#10; }&#10;}&#10;text_instr.text = text_instruction;&#10;console.log(`Participant = ${participant_id}, Session = ${session}, language = ${language}`);&#10;" valType="extendedCode" updates="constant" name="Begin JS Routine"/>
<Param val="if language=='german':&#10; if session=='1':&#10; text_instruction = 'Das Experiment beginnt nun mit einer einfachen Aufgabe.'&#10; elif session=='2':&#10; text_instruction = 'Jetzt folgt der letzte Teil des Experiments\n\nDieser Teil ist gleich wie der Teil ganz am Anfang.'&#10; else:&#10; raise Exception(f'unknown session {session}')&#10; text_instruction += '\n\nIn diesem Teil messen wir einen sogenannten "resting state", d.h. eine Art "Grundzustand" Ihres Gehirns, wenn sie gerade keine aktive Aufgabe erledigen.'&#10; text_instruction += '\n\nBitte setzen Sie sich bequem hin und bleiben Sie möglichst still sitzen. Halten Sie die nächsten 5 Minuten Ihre Augen geöffnet und versuchen Sie sich zu entspannen. Lassen Sie Ihre Gedanken frei schweifen, ohne sich auf spezifische Gedanken oder Aufgaben zu konzentrieren. Schauen Sie dabei die ganze Zeit das Fixierkreuz an, welches auf dem nächsten Bildschirm angezeigt werden wird.'&#10; text_instruction += '\n\nFalls Sie noch Fragen zur Aufgabe haben, lassen Sie es den Experimentleiter bitte jetzt wissen.'&#10; text_instruction += ' Wenn Sie bereit sind, drücken Sie eine Taste und das Fixierkreuz wird für 5 Minuten erscheinen. '&#10;elif language=='english':&#10; if session == '1':&#10; text_instruction = 'Welcome to the experiment!\n\nThe experiment will now begin with a simple task.'&#10; elif session == '2':&#10; text_instruction = 'Now follows the last part of the experiment\n\nThis part is the same as the one at the very beginning.'&#10; else:&#10; raise Exception(f'unknown session {session}')&#10; text_instruction += '\n\nIn this part, we measure a so-called "resting state", i.e., a kind of "baseline state" of your brain when you are not performing an active task.'&#10; text_instruction += '\n\nPlease sit down comfortably and try to stay as still as possible. Keep your eyes open for the next 5 minutes and try to relax. Let your thoughts wander freely without focusing on specific thoughts or tasks. With your eyes, keep looking on the fixation cross that will appear on the next screen. During the 5 minutes, please keep looking at the fixation cross while it is on the screen.'&#10; text_instruction += '\n\nIf you have any questions about the task, please let the experimentator know now.'&#10; text_instruction += ' If you are ready, press any key to begin. The fixation cross will then appear for 5 minutes.'&#10; &#10;text_instr.text = text_instruction&#10;&#10;print(f'Participant = {participant_id}, Session = {session}, language = {language}')" valType="extendedCode" updates="constant" name="Begin Routine"/>
<Param val="Auto->JS" valType="str" updates="None" name="Code Type"/>
<Param val="" valType="extendedCode" updates="constant" name="Each Frame"/>
<Param val="" valType="extendedCode" updates="constant" name="Each JS Frame"/>
<Param val="" valType="extendedCode" updates="constant" name="End Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="End JS Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="End JS Routine"/>
<Param val="" valType="extendedCode" updates="constant" name="End Routine"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="code" valType="code" updates="None" name="name"/>
</CodeComponent>
</Routine>
<Routine name="RS">
<RoutineSettingsComponent name="RS" plugin="None">
<Param val="none" valType="str" updates="None" name="backgroundFit"/>
<Param val="" valType="str" updates="None" name="backgroundImg"/>
<Param val="$[0,0,0]" valType="color" updates="None" name="color"/>
<Param val="rgb" valType="str" updates="None" name="colorSpace"/>
<Param val="" valType="str" updates="constant" name="desc"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="" valType="code" updates="None" name="durationEstim"/>
<Param val="False" valType="code" updates="None" name="forceNonSlip"/>
<Param val="RS" valType="code" updates="None" name="name"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="constant" name="skipIf"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="False" valType="bool" updates="None" name="useWindowParams"/>
</RoutineSettingsComponent>
<TextComponent name="text" plugin="None">
<Param val="white" valType="color" updates="constant" name="color"/>
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
<Param val="1" valType="num" updates="constant" name="contrast"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="False" valType="code" updates="constant" name="draggable"/>
<Param val="300" valType="code" updates="None" name="durationEstim"/>
<Param val="None" valType="str" updates="constant" name="flip"/>
<Param val="Open Sans" valType="str" updates="constant" name="font"/>
<Param val="LTR" valType="str" updates="None" name="languageStyle"/>
<Param val="letter_height" valType="num" updates="constant" name="letterHeight"/>
<Param val="text" valType="code" updates="None" name="name"/>
<Param val="" valType="num" updates="constant" name="opacity"/>
<Param val="0" valType="num" updates="constant" name="ori"/>
<Param val="(0, 0)" valType="list" updates="constant" name="pos"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="None" name="startEstim"/>
<Param val="time (s)" valType="str" updates="None" name="startType"/>
<Param val="0.0" valType="code" updates="None" name="startVal"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="$rs_length" valType="code" updates="constant" name="stopVal"/>
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
<Param val="+" valType="str" updates="constant" name="text"/>
<Param val="from exp settings" valType="str" updates="None" name="units"/>
<Param val="" valType="code" updates="None" name="validator"/>
<Param val="" valType="num" updates="constant" name="wrapWidth"/>
</TextComponent>
<CodeComponent name="code_2" plugin="None">
<Param val="" valType="extendedCode" updates="constant" name="Before Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="Before JS Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="Begin Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="Begin JS Experiment"/>
<Param val="start_time = time.time();&#10;last_print = time.time();&#10;" valType="extendedCode" updates="constant" name="Begin JS Routine"/>
<Param val="start_time = time.time()&#10;last_print = time.time()&#10;&#10;" valType="extendedCode" updates="constant" name="Begin Routine"/>
<Param val="Auto->JS" valType="str" updates="None" name="Code Type"/>
<Param val="if (time.time()-last_print)>5:&#10; last_print = time.time()&#10; msg = f'{int(last_print-start_time)}/{rs_length} seconds elapsed'&#10; print(msg, flush=True)&#10; logging.log(level=logging.EXP, msg=msg)&#10; logging.flush() # write messages out to all targets&#10;" valType="extendedCode" updates="constant" name="Each Frame"/>
<Param val="if (((time.time() - last_print) > 5)) {&#10; last_print = time.time();&#10; msg = `${Number.parseInt((last_print - start_time))}/${rs_length} seconds elapsed`;&#10; console.log(msg);&#10; logging.log({"level": logging.EXP, "msg": msg});&#10; logging.flush();&#10;}&#10;" valType="extendedCode" updates="constant" name="Each JS Frame"/>
<Param val="" valType="extendedCode" updates="constant" name="End Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="End JS Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="End JS Routine"/>
<Param val="" valType="extendedCode" updates="constant" name="End Routine"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="code_2" valType="code" updates="None" name="name"/>
</CodeComponent>
<KeyboardComponent name="scanner_3" plugin="None">
<Param val="'t'" valType="list" updates="constant" name="allowedKeys"/>
<Param val="" valType="str" updates="constant" name="correctAns"/>
<Param val="" valType="str" updates="None" name="deviceLabel"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="True" valType="bool" updates="constant" name="discard previous"/>
<Param val="300" valType="code" updates="None" name="durationEstim"/>
<Param val="False" valType="bool" updates="constant" name="forceEndRoutine"/>
<Param val="scanner_3" valType="code" updates="None" name="name"/>
<Param val="press" valType="str" updates="constant" name="registerOn"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="None" name="startEstim"/>
<Param val="time (s)" valType="str" updates="None" name="startType"/>
<Param val="0.0" valType="code" updates="None" name="startVal"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="$rs_length" valType="code" updates="constant" name="stopVal"/>
<Param val="all keys" valType="str" updates="constant" name="store"/>
<Param val="False" valType="bool" updates="constant" name="storeCorrect"/>
<Param val="True" valType="bool" updates="constant" name="syncScreenRefresh"/>
</KeyboardComponent>
</Routine>
<Routine name="end_screen">
<RoutineSettingsComponent name="end_screen" plugin="None">
<Param val="none" valType="str" updates="None" name="backgroundFit"/>
<Param val="" valType="str" updates="None" name="backgroundImg"/>
<Param val="$[0,0,0]" valType="color" updates="None" name="color"/>
<Param val="rgb" valType="str" updates="None" name="colorSpace"/>
<Param val="" valType="str" updates="constant" name="desc"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="" valType="code" updates="None" name="durationEstim"/>
<Param val="False" valType="code" updates="None" name="forceNonSlip"/>
<Param val="end_screen" valType="code" updates="None" name="name"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="constant" name="skipIf"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="False" valType="bool" updates="None" name="useWindowParams"/>
</RoutineSettingsComponent>
<TextComponent name="text_final" plugin="None">
<Param val="black" valType="color" updates="constant" name="color"/>
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
<Param val="1" valType="num" updates="constant" name="contrast"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="False" valType="code" updates="constant" name="draggable"/>
<Param val="" valType="code" updates="None" name="durationEstim"/>
<Param val="None" valType="str" updates="constant" name="flip"/>
<Param val="Open Sans" valType="str" updates="constant" name="font"/>
<Param val="LTR" valType="str" updates="None" name="languageStyle"/>
<Param val="letter_height" valType="num" updates="constant" name="letterHeight"/>
<Param val="text_final" valType="code" updates="None" name="name"/>
<Param val="" valType="num" updates="constant" name="opacity"/>
<Param val="0" valType="num" updates="constant" name="ori"/>
<Param val="(0, 0)" valType="list" updates="constant" name="pos"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="None" name="startEstim"/>
<Param val="time (s)" valType="str" updates="None" name="startType"/>
<Param val="0.0" valType="code" updates="None" name="startVal"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
<Param val="error" valType="str" updates="constant" name="text"/>
<Param val="from exp settings" valType="str" updates="None" name="units"/>
<Param val="" valType="code" updates="None" name="validator"/>
<Param val="" valType="num" updates="constant" name="wrapWidth"/>
</TextComponent>
<KeyboardComponent name="key_resp_2" plugin="None">
<Param val="response_keys" valType="list" updates="constant" name="allowedKeys"/>
<Param val="" valType="str" updates="constant" name="correctAns"/>
<Param val="" valType="str" updates="None" name="deviceLabel"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="True" valType="bool" updates="constant" name="discard previous"/>
<Param val="" valType="code" updates="None" name="durationEstim"/>
<Param val="True" valType="bool" updates="constant" name="forceEndRoutine"/>
<Param val="key_resp_2" valType="code" updates="None" name="name"/>
<Param val="release" valType="str" updates="constant" name="registerOn"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="None" name="startEstim"/>
<Param val="time (s)" valType="str" updates="None" name="startType"/>
<Param val="0.0" valType="code" updates="None" name="startVal"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="last key" valType="str" updates="constant" name="store"/>
<Param val="False" valType="bool" updates="constant" name="storeCorrect"/>
<Param val="True" valType="bool" updates="constant" name="syncScreenRefresh"/>
</KeyboardComponent>
<CodeComponent name="code_final" plugin="None">
<Param val="" valType="extendedCode" updates="constant" name="Before Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="Before JS Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="Begin Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="Begin JS Experiment"/>
<Param val="if ((language === "german")) {&#10; if ((session === 1.toString())) {&#10; text_final.text = "Dieser Experimentteil ist nun vorbei. ";&#10; }&#10; if ((session === 2.toString())) {&#10; text_final.text = "Das Experiment ist nun vorbei, vielen Dank f\u00fcr Ihre Teilnahme! ";&#10; }&#10; text_final.text += "\n\nBitte melden Sie sich beim Experimentleiter.";&#10;} else {&#10; if ((language === "english")) {&#10; if ((session === 1.toString())) {&#10; text_final.text = "This part of the experiment is now over. ";&#10; }&#10; if ((session === 2.toString())) {&#10; text_final.text = "The experiment is now finished, thanks for participating! ";&#10; }&#10; text_final.text += "\n\nPlease let the experimentator know that you are done.";&#10; } else {&#10; console.log(`ERROR: session = ${session} type(error)=${Object.getPrototypeOf(error)}, unknown?`);&#10; }&#10;}&#10;psychoJS.window.color = "#b0c4de";&#10;psychoJS.window.flip();&#10;" valType="extendedCode" updates="constant" name="Begin JS Routine"/>
<Param val="if language=='german':&#10; if session==str(1):&#10; text_final.text = 'Dieser Experimentteil ist nun vorbei. '&#10; if session==str(2):&#10; text_final.text = 'Das Experiment ist nun vorbei, vielen Dank für Ihre Teilnahme! '&#10; text_final.text += '\n\nBitte melden Sie sich beim Experimentleiter.'&#10;elif language=='english':&#10; if session==str(1):&#10; text_final.text = 'This part of the experiment is now over. '&#10; if session==str(2):&#10; text_final.text = 'The experiment is now finished, thanks for participating! '&#10; text_final.text += '\n\nPlease let the experimentator know that you are done.'&#10;else:&#10; print(f'ERROR: session = {session} type(error)={type(error)}, unknown?')&#10;win.color = "#b0c4de"&#10;win.flip()" valType="extendedCode" updates="constant" name="Begin Routine"/>
<Param val="Auto->JS" valType="str" updates="None" name="Code Type"/>
<Param val="" valType="extendedCode" updates="constant" name="Each Frame"/>
<Param val="" valType="extendedCode" updates="constant" name="Each JS Frame"/>
<Param val="" valType="extendedCode" updates="constant" name="End Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="End JS Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="End JS Routine"/>
<Param val="" valType="extendedCode" updates="constant" name="End Routine"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="code_final" valType="code" updates="None" name="name"/>
</CodeComponent>
<KeyboardComponent name="scanner_4" plugin="None">
<Param val="'t'" valType="list" updates="constant" name="allowedKeys"/>
<Param val="" valType="str" updates="constant" name="correctAns"/>
<Param val="" valType="str" updates="None" name="deviceLabel"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="True" valType="bool" updates="constant" name="discard previous"/>
<Param val="" valType="code" updates="None" name="durationEstim"/>
<Param val="False" valType="bool" updates="constant" name="forceEndRoutine"/>
<Param val="scanner_4" valType="code" updates="None" name="name"/>
<Param val="press" valType="str" updates="constant" name="registerOn"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="None" name="startEstim"/>
<Param val="time (s)" valType="str" updates="None" name="startType"/>
<Param val="0.0" valType="code" updates="None" name="startVal"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="all keys" valType="str" updates="constant" name="store"/>
<Param val="False" valType="bool" updates="constant" name="storeCorrect"/>
<Param val="True" valType="bool" updates="constant" name="syncScreenRefresh"/>
</KeyboardComponent>
</Routine>
<Routine name="settings">
<RoutineSettingsComponent name="settings" plugin="None">
<Param val="none" valType="str" updates="None" name="backgroundFit"/>
<Param val="" valType="str" updates="None" name="backgroundImg"/>
<Param val="$[0,0,0]" valType="color" updates="None" name="color"/>
<Param val="rgb" valType="str" updates="None" name="colorSpace"/>
<Param val="" valType="str" updates="constant" name="desc"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="" valType="code" updates="None" name="durationEstim"/>
<Param val="False" valType="code" updates="None" name="forceNonSlip"/>
<Param val="settings" valType="code" updates="None" name="name"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="constant" name="skipIf"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="False" valType="bool" updates="None" name="useWindowParams"/>
</RoutineSettingsComponent>
<CodeComponent name="startup" plugin="None">
<Param val="import time&#10;from psychopy import visual, event, core, gui, logging&#10;&#10;trigger_rs_start = 1&#10;trigger_rs_end = 2&#10;" valType="extendedCode" updates="constant" name="Before Experiment"/>
<Param val="/* Syntax Error: Fix Python code */" valType="extendedCode" updates="constant" name="Before JS Experiment"/>
<Param val="session = expInfo['session']&#10;participant_id = expInfo['participant']&#10;&#10;" valType="extendedCode" updates="constant" name="Begin Experiment"/>
<Param val="session = expInfo["session"];&#10;participant_id = expInfo["participant"];&#10;" valType="extendedCode" updates="constant" name="Begin JS Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="Begin JS Routine"/>
<Param val="" valType="extendedCode" updates="constant" name="Begin Routine"/>
<Param val="Py" valType="str" updates="None" name="Code Type"/>
<Param val="" valType="extendedCode" updates="constant" name="Each Frame"/>
<Param val="" valType="extendedCode" updates="constant" name="Each JS Frame"/>
<Param val="" valType="extendedCode" updates="constant" name="End Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="End JS Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="End JS Routine"/>
<Param val="" valType="extendedCode" updates="constant" name="End Routine"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="startup" valType="code" updates="None" name="name"/>
</CodeComponent>
<CodeComponent name="parameters" plugin="None">
<Param val="rs_length = 300&#10;letter_height = 0.08&#10;&#10;key_left = 'g'&#10;key_right = 'b'&#10;&#10;response_keys = [key_left, key_right] # left and right key" valType="extendedCode" updates="constant" name="Before Experiment"/>
<Param val="rs_length = 300;&#10;letter_height = 0.08;&#10;key_left = "g";&#10;key_right = "b";&#10;response_keys = [key_left, key_right];&#10;" valType="extendedCode" updates="constant" name="Before JS Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="Begin Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="Begin JS Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="Begin JS Routine"/>
<Param val="" valType="extendedCode" updates="constant" name="Begin Routine"/>
<Param val="Auto->JS" valType="str" updates="None" name="Code Type"/>
<Param val="" valType="extendedCode" updates="constant" name="Each Frame"/>
<Param val="" valType="extendedCode" updates="constant" name="Each JS Frame"/>
<Param val="" valType="extendedCode" updates="constant" name="End Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="End JS Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="End JS Routine"/>
<Param val="" valType="extendedCode" updates="constant" name="End Routine"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="parameters" valType="code" updates="None" name="name"/>
</CodeComponent>
</Routine>
<Routine name="wait_for_scanner">
<RoutineSettingsComponent name="wait_for_scanner" plugin="None">
<Param val="none" valType="str" updates="None" name="backgroundFit"/>
<Param val="" valType="str" updates="None" name="backgroundImg"/>
<Param val="$[0,0,0]" valType="color" updates="None" name="color"/>
<Param val="rgb" valType="str" updates="None" name="colorSpace"/>
<Param val="" valType="str" updates="constant" name="desc"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="" valType="code" updates="None" name="durationEstim"/>
<Param val="False" valType="code" updates="None" name="forceNonSlip"/>
<Param val="wait_for_scanner" valType="code" updates="None" name="name"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="constant" name="skipIf"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="False" valType="bool" updates="None" name="useWindowParams"/>
</RoutineSettingsComponent>
<KeyboardComponent name="scanner_1" plugin="None">
<Param val="'t'" valType="list" updates="constant" name="allowedKeys"/>
<Param val="" valType="str" updates="constant" name="correctAns"/>
<Param val="" valType="str" updates="None" name="deviceLabel"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="True" valType="bool" updates="constant" name="discard previous"/>
<Param val="" valType="code" updates="None" name="durationEstim"/>
<Param val="True" valType="bool" updates="constant" name="forceEndRoutine"/>
<Param val="scanner_1" valType="code" updates="None" name="name"/>
<Param val="press" valType="str" updates="constant" name="registerOn"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="None" name="startEstim"/>
<Param val="time (s)" valType="str" updates="None" name="startType"/>
<Param val="0.0" valType="code" updates="None" name="startVal"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="all keys" valType="str" updates="constant" name="store"/>
<Param val="False" valType="bool" updates="constant" name="storeCorrect"/>
<Param val="True" valType="bool" updates="constant" name="syncScreenRefresh"/>
</KeyboardComponent>
<TextComponent name="text_2" plugin="None">
<Param val="white" valType="color" updates="constant" name="color"/>
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
<Param val="1" valType="num" updates="constant" name="contrast"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="False" valType="code" updates="constant" name="draggable"/>
<Param val="" valType="code" updates="None" name="durationEstim"/>
<Param val="None" valType="str" updates="constant" name="flip"/>
<Param val="Open Sans" valType="str" updates="constant" name="font"/>
<Param val="LTR" valType="str" updates="None" name="languageStyle"/>
<Param val="letter_height*1.2" valType="num" updates="constant" name="letterHeight"/>
<Param val="text_2" valType="code" updates="None" name="name"/>
<Param val="" valType="num" updates="constant" name="opacity"/>
<Param val="0" valType="num" updates="constant" name="ori"/>
<Param val="(0, 0)" valType="list" updates="constant" name="pos"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="None" name="startEstim"/>
<Param val="time (s)" valType="str" updates="None" name="startType"/>
<Param val="0.0" valType="code" updates="None" name="startVal"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
<Param val="Das Experiment startet gleich..." valType="str" updates="constant" name="text"/>
<Param val="from exp settings" valType="str" updates="None" name="units"/>
<Param val="" valType="code" updates="None" name="validator"/>
<Param val="" valType="num" updates="constant" name="wrapWidth"/>
</TextComponent>
<CodeComponent name="code_3" plugin="None">
<Param val="" valType="extendedCode" updates="constant" name="Before Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="Before JS Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="Begin Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="Begin JS Experiment"/>
<Param val="if ((language === "english")) {&#10; text_2.text = "The experiment will start soon...";&#10;}&#10;" valType="extendedCode" updates="constant" name="Begin JS Routine"/>
<Param val="if language=='english':&#10; text_2.text = 'The experiment will start soon...'" valType="extendedCode" updates="constant" name="Begin Routine"/>
<Param val="Auto->JS" valType="str" updates="None" name="Code Type"/>
<Param val="" valType="extendedCode" updates="constant" name="Each Frame"/>
<Param val="" valType="extendedCode" updates="constant" name="Each JS Frame"/>
<Param val="" valType="extendedCode" updates="constant" name="End Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="End JS Experiment"/>
<Param val="" valType="extendedCode" updates="constant" name="End JS Routine"/>
<Param val="" valType="extendedCode" updates="constant" name="End Routine"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="code_3" valType="code" updates="None" name="name"/>
</CodeComponent>
</Routine>
<Routine name="setup_fmri">
<RoutineSettingsComponent name="setup_fmri" plugin="None">
<Param val="none" valType="str" updates="None" name="backgroundFit"/>
<Param val="" valType="str" updates="None" name="backgroundImg"/>
<Param val="$[0,0,0]" valType="color" updates="None" name="color"/>
<Param val="rgb" valType="str" updates="None" name="colorSpace"/>
<Param val="" valType="str" updates="constant" name="desc"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="" valType="code" updates="None" name="durationEstim"/>
<Param val="False" valType="code" updates="None" name="forceNonSlip"/>
<Param val="setup_fmri" valType="code" updates="None" name="name"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="constant" name="skipIf"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="False" valType="bool" updates="None" name="useWindowParams"/>
</RoutineSettingsComponent>
</Routine>
<Routine name="buffer">
<RoutineSettingsComponent name="buffer" plugin="None">
<Param val="none" valType="str" updates="None" name="backgroundFit"/>
<Param val="" valType="str" updates="None" name="backgroundImg"/>
<Param val="$[0,0,0]" valType="color" updates="None" name="color"/>
<Param val="rgb" valType="str" updates="None" name="colorSpace"/>
<Param val="" valType="str" updates="constant" name="desc"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="" valType="code" updates="None" name="durationEstim"/>
<Param val="False" valType="code" updates="None" name="forceNonSlip"/>
<Param val="buffer" valType="code" updates="None" name="name"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="constant" name="skipIf"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="" valType="code" updates="constant" name="stopVal"/>
<Param val="False" valType="bool" updates="None" name="useWindowParams"/>
</RoutineSettingsComponent>
<TextComponent name="text_3" plugin="None">
<Param val="white" valType="color" updates="constant" name="color"/>
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
<Param val="1" valType="num" updates="constant" name="contrast"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="False" valType="code" updates="constant" name="draggable"/>
<Param val="" valType="code" updates="None" name="durationEstim"/>
<Param val="None" valType="str" updates="constant" name="flip"/>
<Param val="Arial" valType="str" updates="constant" name="font"/>
<Param val="LTR" valType="str" updates="None" name="languageStyle"/>
<Param val="letter_height" valType="num" updates="constant" name="letterHeight"/>
<Param val="text_3" valType="code" updates="None" name="name"/>
<Param val="" valType="num" updates="constant" name="opacity"/>
<Param val="0" valType="num" updates="constant" name="ori"/>
<Param val="(0, 0)" valType="list" updates="constant" name="pos"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="None" name="startEstim"/>
<Param val="time (s)" valType="str" updates="None" name="startType"/>
<Param val="0.0" valType="code" updates="None" name="startVal"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="5" valType="code" updates="constant" name="stopVal"/>
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
<Param val="+" valType="str" updates="constant" name="text"/>
<Param val="from exp settings" valType="str" updates="None" name="units"/>
<Param val="" valType="code" updates="None" name="validator"/>
<Param val="" valType="num" updates="constant" name="wrapWidth"/>
</TextComponent>
<KeyboardComponent name="scanner_5" plugin="None">
<Param val="'t'" valType="list" updates="constant" name="allowedKeys"/>
<Param val="" valType="str" updates="constant" name="correctAns"/>
<Param val="" valType="str" updates="None" name="deviceLabel"/>
<Param val="False" valType="bool" updates="None" name="disabled"/>
<Param val="True" valType="bool" updates="constant" name="discard previous"/>
<Param val="300" valType="code" updates="None" name="durationEstim"/>
<Param val="False" valType="bool" updates="constant" name="forceEndRoutine"/>
<Param val="scanner_5" valType="code" updates="None" name="name"/>
<Param val="press" valType="str" updates="constant" name="registerOn"/>
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
<Param val="" valType="code" updates="None" name="startEstim"/>
<Param val="time (s)" valType="str" updates="None" name="startType"/>
<Param val="0.0" valType="code" updates="None" name="startVal"/>
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
<Param val="5" valType="code" updates="constant" name="stopVal"/>
<Param val="all keys" valType="str" updates="constant" name="store"/>
<Param val="False" valType="bool" updates="constant" name="storeCorrect"/>
<Param val="True" valType="bool" updates="constant" name="syncScreenRefresh"/>
</KeyboardComponent>
</Routine>
</Routines>
<Flow>
<Routine name="settings"/>
<Routine name="language_selection"/>
<Routine name="instructions"/>
<Routine name="wait_for_scanner"/>
<Routine name="buffer"/>
<Routine name="RS"/>
<Routine name="end_screen"/>
</Flow>
</PsychoPy2experiment>