psychopy 2024.2.4__py3-none-any.whl → 2024.2.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of psychopy might be problematic. Click here for more details.
- psychopy/.DS_Store +0 -0
- psychopy/CHANGELOG.txt +204 -0
- psychopy/GIT_SHA +1 -1
- psychopy/VERSION +1 -1
- psychopy/app/locale/ar_001/.DS_Store +0 -0
- psychopy/app/locale/ar_001/LC_MESSAGE/.DS_Store +0 -0
- psychopy/app/locale/ar_001/LC_MESSAGE/messages.po +1511 -3256
- psychopy/app/runner/runner.py +18 -8
- psychopy/experiment/_experiment.py +32 -7
- psychopy/iohub/client/__init__.py +17 -0
- psychopy/iohub/client/keyboard.py +5 -0
- psychopy/iohub/devices/mouse/linux2.py +4 -0
- psychopy/iohub/devices/mouse/win32.py +5 -0
- psychopy/tests/data/test_loaded_namespace/test_counterbalance.psyexp +142 -0
- psychopy/tests/data/test_loaded_namespace/test_custom_missing.psyexp +129 -0
- psychopy/tests/data/test_loaded_namespace/test_missing_counterbalance.psyexp +116 -0
- psychopy/tests/data/test_loaded_namespace/test_mix_exp.psyexp +181 -0
- psychopy/tests/data/test_loaded_namespace/test_mix_missing.psyexp +140 -0
- psychopy/tests/data/test_loaded_namespace/test_mix_name_calibration.psyexp +164 -0
- psychopy/tests/test_experiment/test_experiment.py +96 -0
- {psychopy-2024.2.4.dist-info → psychopy-2024.2.5.dist-info}/METADATA +1 -1
- {psychopy-2024.2.4.dist-info → psychopy-2024.2.5.dist-info}/RECORD +25 -55
- psychopy/app/locale/zh_CN/LC_MESSAGE/zh_CN.mo +0 -0
- psychopy/app/locale/zh_CN/LC_MESSAGE/zh_CN.po +0 -6127
- psychopy/app/locale/zh_CN/LC_MESSAGE/zh_CN_allFlagged.mo +0 -0
- psychopy/app/locale/zh_CN/LC_MESSAGE/zh_CN_allFlagged.po +0 -7366
- psychopy/demos/builder/Design Templates/randomisedBlocks/html/index.html +0 -23
- psychopy/demos/builder/Design Templates/randomisedBlocks/html/randomisedBlocks-legacy-browsers.js +0 -423
- psychopy/demos/builder/Design Templates/randomisedBlocks/html/randomisedBlocks.js +0 -427
- psychopy/demos/builder/Design Templates/randomisedBlocks/html/resources/chooseBlock.xlsx +0 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/html/resources/facesBlock.xlsx +0 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/html/resources/housesBlock.xlsx +0 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/html/resources/stims/face01.jpg +0 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/html/resources/stims/face02.jpg +0 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/html/resources/stims/face03.jpg +0 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/html/resources/stims/house01.jpg +0 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/html/resources/stims/house02.jpg +0 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/html/resources/stims/house03.jpg +0 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/randomisedBlocks.py +0 -330
- psychopy/demos/builder/Feature Demos/eyetracking/eyetracking.xml +0 -298
- psychopy/demos/builder/Feature Demos/eyetracking/eyetracking.xsd +0 -120
- psychopy/demos/builder/Tools/gammaCalibration/gamma_correction_visual.psyexp +0 -323
- psychopy/demos/builder/Tools/gammaCalibration/gamma_correction_visual.py +0 -562
- psychopy/demos/builder/Tools/gammaCalibration/questStairs.xlsx +0 -0
- psychopy/demos/builder/Tools/gammaCalibration/readme.md +0 -0
- psychopy/demos/builder/Tools/gammaCalibration/resources/low_contrast.png +0 -0
- psychopy/demos/builder/Tools/gammaCalibration/resources/make_2nd_order_tex.py +0 -59
- psychopy/demos/builder/Tools/gammaCalibration/resources/second_order_tex.png +0 -0
- psychopy/demos/coder/stimuli/radialGratingContracting.py +0 -29
- psychopy/hardware/serialport.py +0 -51
- psychopy/tests/data/__test.png +0 -0
- psychopy/tests/data/corrFullRandom_local.csv +0 -16
- psychopy/tests/data/corrFullRandom_local.tsv +0 -6
- psychopy/tests/data/testLoopsBlocks.psyexp_local.py +0 -328
- psychopy/tests/data/text2_height.png +0 -0
- psychopy/tests/data/text2_normAddBlend.png +0 -0
- psychopy/tests/data/text2_normHexbackground.png +0 -0
- psychopy/tests/data/text2_stencil.png +0 -0
- psychopy/tests/test_app/test_builder/data/_2021_ 5_03_1206.csv +0 -9
- psychopy/tests/test_app/test_builder/data/_2021_ 5_03_1324.csv +0 -9
- {psychopy-2024.2.4.dist-info → psychopy-2024.2.5.dist-info}/WHEEL +0 -0
- {psychopy-2024.2.4.dist-info → psychopy-2024.2.5.dist-info}/entry_points.txt +0 -0
- {psychopy-2024.2.4.dist-info → psychopy-2024.2.5.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
3
|
-
<xs:element name="PsychoPy2experiment" type="PsychoPy2experimentType"/>
|
|
4
|
-
<xs:complexType name="ParamType">
|
|
5
|
-
<xs:simpleContent>
|
|
6
|
-
<xs:extension base="xs:string">
|
|
7
|
-
<xs:attribute type="xs:string" name="val" use="optional"/>
|
|
8
|
-
<xs:attribute type="xs:string" name="valType" use="optional"/>
|
|
9
|
-
<xs:attribute type="xs:string" name="updates" use="optional"/>
|
|
10
|
-
<xs:attribute type="xs:string" name="name" use="optional"/>
|
|
11
|
-
</xs:extension>
|
|
12
|
-
</xs:simpleContent>
|
|
13
|
-
</xs:complexType>
|
|
14
|
-
<xs:complexType name="SettingsType">
|
|
15
|
-
<xs:sequence>
|
|
16
|
-
<xs:element type="ParamType" name="Param" maxOccurs="unbounded" minOccurs="0"/>
|
|
17
|
-
</xs:sequence>
|
|
18
|
-
</xs:complexType>
|
|
19
|
-
<xs:complexType name="EyetrackerRecordComponentType">
|
|
20
|
-
<xs:sequence>
|
|
21
|
-
<xs:element type="ParamType" name="Param" maxOccurs="unbounded" minOccurs="0"/>
|
|
22
|
-
</xs:sequence>
|
|
23
|
-
<xs:attribute type="xs:string" name="name"/>
|
|
24
|
-
</xs:complexType>
|
|
25
|
-
<xs:complexType name="RegionOfInterestComponentType">
|
|
26
|
-
<xs:sequence>
|
|
27
|
-
<xs:element type="ParamType" name="Param" maxOccurs="unbounded" minOccurs="0"/>
|
|
28
|
-
</xs:sequence>
|
|
29
|
-
<xs:attribute type="xs:string" name="name"/>
|
|
30
|
-
</xs:complexType>
|
|
31
|
-
<xs:complexType name="PolygonComponentType">
|
|
32
|
-
<xs:sequence>
|
|
33
|
-
<xs:element type="ParamType" name="Param" maxOccurs="unbounded" minOccurs="0"/>
|
|
34
|
-
</xs:sequence>
|
|
35
|
-
<xs:attribute type="xs:string" name="name" use="optional"/>
|
|
36
|
-
</xs:complexType>
|
|
37
|
-
<xs:complexType name="RoutineType" mixed="true">
|
|
38
|
-
<xs:sequence>
|
|
39
|
-
<xs:element type="EyetrackerRecordComponentType" name="EyetrackerRecordComponent" minOccurs="0"/>
|
|
40
|
-
<xs:element type="RegionOfInterestComponentType" name="RegionOfInterestComponent" minOccurs="0"/>
|
|
41
|
-
<xs:element type="PolygonComponentType" name="PolygonComponent" maxOccurs="unbounded" minOccurs="0"/>
|
|
42
|
-
<xs:element type="TextboxComponentType" name="TextboxComponent" minOccurs="0"/>
|
|
43
|
-
<xs:element type="KeyboardComponentType" name="KeyboardComponent" minOccurs="0"/>
|
|
44
|
-
</xs:sequence>
|
|
45
|
-
<xs:attribute type="xs:string" name="name" use="optional"/>
|
|
46
|
-
</xs:complexType>
|
|
47
|
-
<xs:complexType name="EyetrackerCalibrationRoutineType" mixed="true">
|
|
48
|
-
<xs:sequence>
|
|
49
|
-
<xs:element type="ParamType" name="Param" maxOccurs="unbounded" minOccurs="0"/>
|
|
50
|
-
</xs:sequence>
|
|
51
|
-
<xs:attribute type="xs:string" name="name" use="optional"/>
|
|
52
|
-
</xs:complexType>
|
|
53
|
-
<xs:complexType name="EyetrackerValidationRoutineType" mixed="true">
|
|
54
|
-
<xs:sequence>
|
|
55
|
-
<xs:element type="ParamType" name="Param" maxOccurs="unbounded" minOccurs="0"/>
|
|
56
|
-
<xs:element type="EyetrackerRecordComponentType" name="EyetrackerRecordComponent" minOccurs="0"/>
|
|
57
|
-
<xs:element type="RegionOfInterestComponentType" name="RegionOfInterestComponent" minOccurs="0"/>
|
|
58
|
-
<xs:element type="PolygonComponentType" name="PolygonComponent" maxOccurs="unbounded" minOccurs="0"/>
|
|
59
|
-
<xs:element type="TextboxComponentType" name="TextboxComponent" minOccurs="0"/>
|
|
60
|
-
<xs:element type="KeyboardComponentType" name="KeyboardComponent" minOccurs="0"/>
|
|
61
|
-
</xs:sequence>
|
|
62
|
-
<xs:attribute type="xs:string" name="name" use="optional"/>
|
|
63
|
-
</xs:complexType>
|
|
64
|
-
<xs:complexType name="TextboxComponentType">
|
|
65
|
-
<xs:sequence>
|
|
66
|
-
<xs:element type="ParamType" name="Param" maxOccurs="unbounded" minOccurs="0"/>
|
|
67
|
-
</xs:sequence>
|
|
68
|
-
<xs:attribute type="xs:string" name="name"/>
|
|
69
|
-
</xs:complexType>
|
|
70
|
-
<xs:complexType name="KeyboardComponentType">
|
|
71
|
-
<xs:sequence>
|
|
72
|
-
<xs:element type="ParamType" name="Param" maxOccurs="unbounded" minOccurs="0"/>
|
|
73
|
-
</xs:sequence>
|
|
74
|
-
<xs:attribute type="xs:string" name="name"/>
|
|
75
|
-
</xs:complexType>
|
|
76
|
-
<xs:complexType name="RoutinesType">
|
|
77
|
-
<xs:choice maxOccurs="unbounded" minOccurs="0">
|
|
78
|
-
<xs:element type="RoutineType" name="Routine"/>
|
|
79
|
-
<xs:element type="EyetrackerCalibrationRoutineType" name="EyetrackerCalibrationRoutine"/>
|
|
80
|
-
<xs:element type="EyetrackerValidationRoutineType" name="EyetrackerValidationRoutine"/>
|
|
81
|
-
</xs:choice>
|
|
82
|
-
</xs:complexType>
|
|
83
|
-
<xs:complexType name="LoopInitiatorType" mixed="true">
|
|
84
|
-
<xs:sequence>
|
|
85
|
-
<xs:element type="ParamType" name="Param" maxOccurs="unbounded" minOccurs="0"/>
|
|
86
|
-
<xs:element type="EyetrackerRecordComponentType" name="EyetrackerRecordComponent" minOccurs="0"/>
|
|
87
|
-
<xs:element type="RegionOfInterestComponentType" name="RegionOfInterestComponent" minOccurs="0"/>
|
|
88
|
-
<xs:element type="PolygonComponentType" name="PolygonComponent" maxOccurs="unbounded" minOccurs="0"/>
|
|
89
|
-
<xs:element type="TextboxComponentType" name="TextboxComponent" minOccurs="0"/>
|
|
90
|
-
<xs:element type="KeyboardComponentType" name="KeyboardComponent" minOccurs="0"/>
|
|
91
|
-
</xs:sequence>
|
|
92
|
-
<xs:attribute type="xs:string" name="loopType" use="optional"/>
|
|
93
|
-
<xs:attribute type="xs:string" name="name" use="optional"/>
|
|
94
|
-
</xs:complexType>
|
|
95
|
-
<xs:complexType name="LoopTerminatorType">
|
|
96
|
-
<xs:simpleContent>
|
|
97
|
-
<xs:extension base="xs:string">
|
|
98
|
-
<xs:attribute type="xs:string" name="name"/>
|
|
99
|
-
</xs:extension>
|
|
100
|
-
</xs:simpleContent>
|
|
101
|
-
</xs:complexType>
|
|
102
|
-
<xs:complexType name="FlowType">
|
|
103
|
-
<xs:choice maxOccurs="unbounded" minOccurs="0">
|
|
104
|
-
<xs:element type="EyetrackerCalibrationRoutineType" name="EyetrackerCalibrationRoutine"/>
|
|
105
|
-
<xs:element type="EyetrackerValidationRoutineType" name="EyetrackerValidationRoutine"/>
|
|
106
|
-
<xs:element type="RoutineType" name="Routine"/>
|
|
107
|
-
<xs:element type="LoopInitiatorType" name="LoopInitiator"/>
|
|
108
|
-
<xs:element type="LoopTerminatorType" name="LoopTerminator"/>
|
|
109
|
-
</xs:choice>
|
|
110
|
-
</xs:complexType>
|
|
111
|
-
<xs:complexType name="PsychoPy2experimentType">
|
|
112
|
-
<xs:sequence>
|
|
113
|
-
<xs:element type="SettingsType" name="Settings"/>
|
|
114
|
-
<xs:element type="RoutinesType" name="Routines"/>
|
|
115
|
-
<xs:element type="FlowType" name="Flow"/>
|
|
116
|
-
</xs:sequence>
|
|
117
|
-
<xs:attribute type="xs:string" name="encoding"/>
|
|
118
|
-
<xs:attribute type="xs:string" name="version"/>
|
|
119
|
-
</xs:complexType>
|
|
120
|
-
</xs:schema>
|
|
@@ -1,323 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" ?>
|
|
2
|
-
<PsychoPy2experiment encoding="utf-8" version="2022.2.0dev3">
|
|
3
|
-
<Settings>
|
|
4
|
-
<Param val="use prefs" valType="str" updates="None" name="Audio latency priority"/>
|
|
5
|
-
<Param val="use prefs" valType="str" updates="None" name="Audio lib"/>
|
|
6
|
-
<Param val="" valType="str" updates="None" name="Completed URL"/>
|
|
7
|
-
<Param val="auto" valType="str" updates="None" name="Data file delimiter"/>
|
|
8
|
-
<Param val="u'data/%s_%s_%s' % (expInfo['participant'], expName, expInfo['date'])" valType="code" updates="None" name="Data filename"/>
|
|
9
|
-
<Param val="True" valType="bool" updates="None" name="Enable Escape"/>
|
|
10
|
-
<Param val="{'participant':'', 'session':'001'}" valType="code" updates="None" name="Experiment info"/>
|
|
11
|
-
<Param val="True" valType="bool" updates="None" name="Force stereo"/>
|
|
12
|
-
<Param val="True" valType="bool" updates="None" name="Full-screen window"/>
|
|
13
|
-
<Param val="" valType="str" updates="None" name="HTML path"/>
|
|
14
|
-
<Param val="" valType="str" updates="None" name="Incomplete URL"/>
|
|
15
|
-
<Param val="testMonitor" valType="str" updates="None" name="Monitor"/>
|
|
16
|
-
<Param val="[]" valType="list" updates="None" name="Resources"/>
|
|
17
|
-
<Param val="False" valType="bool" updates="None" name="Save csv file"/>
|
|
18
|
-
<Param val="False" valType="bool" updates="None" name="Save excel file"/>
|
|
19
|
-
<Param val="False" valType="bool" updates="None" name="Save hdf5 file"/>
|
|
20
|
-
<Param val="True" valType="bool" updates="None" name="Save log file"/>
|
|
21
|
-
<Param val="True" valType="bool" updates="None" name="Save psydat file"/>
|
|
22
|
-
<Param val="True" valType="bool" updates="None" name="Save wide csv file"/>
|
|
23
|
-
<Param val="1" valType="num" updates="None" name="Screen"/>
|
|
24
|
-
<Param val="True" valType="bool" updates="None" name="Show info dlg"/>
|
|
25
|
-
<Param val="False" valType="bool" updates="None" name="Show mouse"/>
|
|
26
|
-
<Param val="height" valType="str" updates="None" name="Units"/>
|
|
27
|
-
<Param val="" valType="str" updates="None" name="Use version"/>
|
|
28
|
-
<Param val="[1440, 900]" valType="list" updates="None" name="Window size (pixels)"/>
|
|
29
|
-
<Param val="avg" valType="str" updates="None" name="blendMode"/>
|
|
30
|
-
<Param val="$[0,0,0]" valType="color" updates="None" name="color"/>
|
|
31
|
-
<Param val="rgb" valType="str" updates="None" name="colorSpace"/>
|
|
32
|
-
<Param val="100.1.1.1" valType="str" updates="None" name="elAddress"/>
|
|
33
|
-
<Param val="FILTER_LEVEL_2" valType="str" updates="None" name="elDataFiltering"/>
|
|
34
|
-
<Param val="FILTER_LEVEL_OFF" valType="str" updates="None" name="elLiveFiltering"/>
|
|
35
|
-
<Param val="EYELINK 1000 DESKTOP" valType="str" updates="None" name="elModel"/>
|
|
36
|
-
<Param val="ELLIPSE_FIT" valType="str" updates="None" name="elPupilAlgorithm"/>
|
|
37
|
-
<Param val="PUPIL_AREA" valType="str" updates="None" name="elPupilMeasure"/>
|
|
38
|
-
<Param val="1000" valType="num" updates="None" name="elSampleRate"/>
|
|
39
|
-
<Param val="False" valType="bool" updates="None" name="elSimMode"/>
|
|
40
|
-
<Param val="RIGHT_EYE" valType="str" updates="None" name="elTrackEyes"/>
|
|
41
|
-
<Param val="PUPIL_CR_TRACKING" valType="str" updates="None" name="elTrackingMode"/>
|
|
42
|
-
<Param val="gamma_correction_visual" valType="str" updates="None" name="expName"/>
|
|
43
|
-
<Param val="on Sync" valType="str" updates="None" name="exportHTML"/>
|
|
44
|
-
<Param val="None" valType="str" updates="None" name="eyetracker"/>
|
|
45
|
-
<Param val="127.0.0.1" valType="str" updates="None" name="gpAddress"/>
|
|
46
|
-
<Param val="4242" valType="num" updates="None" name="gpPort"/>
|
|
47
|
-
<Param val="ioHub" valType="str" updates="None" name="keyboardBackend"/>
|
|
48
|
-
<Param val="exp" valType="code" updates="None" name="logging level"/>
|
|
49
|
-
<Param val="MIDDLE_BUTTON" valType="list" updates="None" name="mgBlink"/>
|
|
50
|
-
<Param val="CONTINUOUS" valType="str" updates="None" name="mgMove"/>
|
|
51
|
-
<Param val="0.5" valType="num" updates="None" name="mgSaccade"/>
|
|
52
|
-
<Param val="0.6" valType="num" updates="None" name="plConfidenceThreshold"/>
|
|
53
|
-
<Param val="True" valType="bool" updates="None" name="plPupilCaptureRecordingEnabled"/>
|
|
54
|
-
<Param val="" valType="str" updates="None" name="plPupilCaptureRecordingLocation"/>
|
|
55
|
-
<Param val="127.0.0.1" valType="str" updates="None" name="plPupilRemoteAddress"/>
|
|
56
|
-
<Param val="50020" valType="num" updates="None" name="plPupilRemotePort"/>
|
|
57
|
-
<Param val="1000" valType="num" updates="None" name="plPupilRemoteTimeoutMs"/>
|
|
58
|
-
<Param val="False" valType="bool" updates="None" name="plPupillometryOnly"/>
|
|
59
|
-
<Param val="psychopy_iohub_surface" valType="str" updates="None" name="plSurfaceName"/>
|
|
60
|
-
<Param val="" valType="str" updates="None" name="tbLicenseFile"/>
|
|
61
|
-
<Param val="" valType="str" updates="None" name="tbModel"/>
|
|
62
|
-
<Param val="60" valType="num" updates="None" name="tbSampleRate"/>
|
|
63
|
-
<Param val="" valType="str" updates="None" name="tbSerialNo"/>
|
|
64
|
-
</Settings>
|
|
65
|
-
<Routines>
|
|
66
|
-
<Routine name="frames">
|
|
67
|
-
<GratingComponent name="luminance_000">
|
|
68
|
-
<Param val="center" valType="str" updates="constant" name="anchor"/>
|
|
69
|
-
<Param val="avg" valType="str" updates="constant" name="blendmode"/>
|
|
70
|
-
<Param val="$[1,1,1]" valType="color" updates="constant" name="color"/>
|
|
71
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
|
|
72
|
-
<Param val="1.0" valType="num" updates="constant" name="contrast"/>
|
|
73
|
-
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
74
|
-
<Param val="0.05" valType="code" updates="None" name="durationEstim"/>
|
|
75
|
-
<Param val="linear" valType="str" updates="constant" name="interpolate"/>
|
|
76
|
-
<Param val="" valType="file" updates="constant" name="mask"/>
|
|
77
|
-
<Param val="luminance_000" valType="code" updates="None" name="name"/>
|
|
78
|
-
<Param val="1" valType="num" updates="constant" name="opacity"/>
|
|
79
|
-
<Param val="ori" valType="num" updates="set every repeat" name="ori"/>
|
|
80
|
-
<Param val="0.0" valType="num" updates="constant" name="phase"/>
|
|
81
|
-
<Param val="(0, 0)" valType="list" updates="constant" name="pos"/>
|
|
82
|
-
<Param val="False" valType="bool" updates="None" name="saveStartStop"/>
|
|
83
|
-
<Param val="5" valType="num" updates="constant" name="sf"/>
|
|
84
|
-
<Param val="(0.5,0.5)" valType="list" updates="constant" name="size"/>
|
|
85
|
-
<Param val="" valType="code" updates="None" name="startEstim"/>
|
|
86
|
-
<Param val="time (s)" valType="str" updates="None" name="startType"/>
|
|
87
|
-
<Param val="0.0" valType="code" updates="None" name="startVal"/>
|
|
88
|
-
<Param val="duration (frames)" valType="str" updates="None" name="stopType"/>
|
|
89
|
-
<Param val="3" valType="code" updates="constant" name="stopVal"/>
|
|
90
|
-
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
|
|
91
|
-
<Param val="resources/low_contrast.png" valType="file" updates="constant" name="tex"/>
|
|
92
|
-
<Param val="256" valType="num" updates="constant" name="texture resolution"/>
|
|
93
|
-
<Param val="height" valType="str" updates="None" name="units"/>
|
|
94
|
-
</GratingComponent>
|
|
95
|
-
<GratingComponent name="second_ord_025">
|
|
96
|
-
<Param val="center" valType="str" updates="constant" name="anchor"/>
|
|
97
|
-
<Param val="avg" valType="str" updates="constant" name="blendmode"/>
|
|
98
|
-
<Param val="$[1,1,1]" valType="color" updates="constant" name="color"/>
|
|
99
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
|
|
100
|
-
<Param val="1.0" valType="num" updates="constant" name="contrast"/>
|
|
101
|
-
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
102
|
-
<Param val="0.05" valType="code" updates="None" name="durationEstim"/>
|
|
103
|
-
<Param val="linear" valType="str" updates="constant" name="interpolate"/>
|
|
104
|
-
<Param val="" valType="file" updates="constant" name="mask"/>
|
|
105
|
-
<Param val="second_ord_025" valType="code" updates="None" name="name"/>
|
|
106
|
-
<Param val="1" valType="num" updates="constant" name="opacity"/>
|
|
107
|
-
<Param val="ori" valType="num" updates="set every repeat" name="ori"/>
|
|
108
|
-
<Param val="0.25" valType="num" updates="constant" name="phase"/>
|
|
109
|
-
<Param val="(0, 0)" valType="list" updates="constant" name="pos"/>
|
|
110
|
-
<Param val="False" valType="bool" updates="None" name="saveStartStop"/>
|
|
111
|
-
<Param val="5" valType="num" updates="constant" name="sf"/>
|
|
112
|
-
<Param val="(0.5,0.5)" valType="list" updates="constant" name="size"/>
|
|
113
|
-
<Param val="0.05" valType="code" updates="None" name="startEstim"/>
|
|
114
|
-
<Param val="frame N" valType="str" updates="None" name="startType"/>
|
|
115
|
-
<Param val="3" valType="code" updates="None" name="startVal"/>
|
|
116
|
-
<Param val="duration (frames)" valType="str" updates="None" name="stopType"/>
|
|
117
|
-
<Param val="3" valType="code" updates="constant" name="stopVal"/>
|
|
118
|
-
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
|
|
119
|
-
<Param val="resources/second_order_tex.png" valType="file" updates="constant" name="tex"/>
|
|
120
|
-
<Param val="256" valType="num" updates="constant" name="texture resolution"/>
|
|
121
|
-
<Param val="height" valType="str" updates="None" name="units"/>
|
|
122
|
-
</GratingComponent>
|
|
123
|
-
<GratingComponent name="luminance_050">
|
|
124
|
-
<Param val="center" valType="str" updates="constant" name="anchor"/>
|
|
125
|
-
<Param val="avg" valType="str" updates="constant" name="blendmode"/>
|
|
126
|
-
<Param val="$[1,1,1]" valType="color" updates="constant" name="color"/>
|
|
127
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
|
|
128
|
-
<Param val="1.0" valType="num" updates="constant" name="contrast"/>
|
|
129
|
-
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
130
|
-
<Param val="0.05" valType="code" updates="None" name="durationEstim"/>
|
|
131
|
-
<Param val="linear" valType="str" updates="constant" name="interpolate"/>
|
|
132
|
-
<Param val="" valType="file" updates="constant" name="mask"/>
|
|
133
|
-
<Param val="luminance_050" valType="code" updates="None" name="name"/>
|
|
134
|
-
<Param val="1" valType="num" updates="constant" name="opacity"/>
|
|
135
|
-
<Param val="ori" valType="num" updates="set every repeat" name="ori"/>
|
|
136
|
-
<Param val="0.5" valType="num" updates="constant" name="phase"/>
|
|
137
|
-
<Param val="(0, 0)" valType="list" updates="constant" name="pos"/>
|
|
138
|
-
<Param val="False" valType="bool" updates="None" name="saveStartStop"/>
|
|
139
|
-
<Param val="5" valType="num" updates="constant" name="sf"/>
|
|
140
|
-
<Param val="(0.5,0.5)" valType="list" updates="constant" name="size"/>
|
|
141
|
-
<Param val="0.1" valType="code" updates="None" name="startEstim"/>
|
|
142
|
-
<Param val="frame N" valType="str" updates="None" name="startType"/>
|
|
143
|
-
<Param val="6" valType="code" updates="None" name="startVal"/>
|
|
144
|
-
<Param val="duration (frames)" valType="str" updates="None" name="stopType"/>
|
|
145
|
-
<Param val="3" valType="code" updates="constant" name="stopVal"/>
|
|
146
|
-
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
|
|
147
|
-
<Param val="resources/low_contrast.png" valType="file" updates="constant" name="tex"/>
|
|
148
|
-
<Param val="256" valType="num" updates="constant" name="texture resolution"/>
|
|
149
|
-
<Param val="height" valType="str" updates="None" name="units"/>
|
|
150
|
-
</GratingComponent>
|
|
151
|
-
<GratingComponent name="second_ord_075">
|
|
152
|
-
<Param val="center" valType="str" updates="constant" name="anchor"/>
|
|
153
|
-
<Param val="avg" valType="str" updates="constant" name="blendmode"/>
|
|
154
|
-
<Param val="$[1,1,1]" valType="color" updates="constant" name="color"/>
|
|
155
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
|
|
156
|
-
<Param val="1.0" valType="num" updates="constant" name="contrast"/>
|
|
157
|
-
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
158
|
-
<Param val="0.05" valType="code" updates="None" name="durationEstim"/>
|
|
159
|
-
<Param val="linear" valType="str" updates="constant" name="interpolate"/>
|
|
160
|
-
<Param val="" valType="file" updates="constant" name="mask"/>
|
|
161
|
-
<Param val="second_ord_075" valType="code" updates="None" name="name"/>
|
|
162
|
-
<Param val="1" valType="num" updates="constant" name="opacity"/>
|
|
163
|
-
<Param val="ori" valType="num" updates="set every repeat" name="ori"/>
|
|
164
|
-
<Param val="0.75" valType="num" updates="constant" name="phase"/>
|
|
165
|
-
<Param val="(0, 0)" valType="list" updates="constant" name="pos"/>
|
|
166
|
-
<Param val="False" valType="bool" updates="None" name="saveStartStop"/>
|
|
167
|
-
<Param val="5" valType="num" updates="constant" name="sf"/>
|
|
168
|
-
<Param val="(0.5,0.5)" valType="list" updates="constant" name="size"/>
|
|
169
|
-
<Param val="0.15" valType="code" updates="None" name="startEstim"/>
|
|
170
|
-
<Param val="frame N" valType="str" updates="None" name="startType"/>
|
|
171
|
-
<Param val="9" valType="code" updates="None" name="startVal"/>
|
|
172
|
-
<Param val="duration (frames)" valType="str" updates="None" name="stopType"/>
|
|
173
|
-
<Param val="3" valType="code" updates="constant" name="stopVal"/>
|
|
174
|
-
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
|
|
175
|
-
<Param val="resources/second_order_tex.png" valType="file" updates="constant" name="tex"/>
|
|
176
|
-
<Param val="256" valType="num" updates="constant" name="texture resolution"/>
|
|
177
|
-
<Param val="height" valType="str" updates="None" name="units"/>
|
|
178
|
-
</GratingComponent>
|
|
179
|
-
</Routine>
|
|
180
|
-
<Routine name="response">
|
|
181
|
-
<KeyboardComponent name="resp">
|
|
182
|
-
<Param val="'left','right'" valType="list" updates="constant" name="allowedKeys"/>
|
|
183
|
-
<Param val="right" valType="str" updates="constant" name="correctAns"/>
|
|
184
|
-
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
185
|
-
<Param val="False" valType="bool" updates="constant" name="discard previous"/>
|
|
186
|
-
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
187
|
-
<Param val="True" valType="bool" updates="constant" name="forceEndRoutine"/>
|
|
188
|
-
<Param val="resp" valType="code" updates="None" name="name"/>
|
|
189
|
-
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
190
|
-
<Param val="" valType="code" updates="None" name="startEstim"/>
|
|
191
|
-
<Param val="time (s)" valType="str" updates="None" name="startType"/>
|
|
192
|
-
<Param val="0.0" valType="code" updates="None" name="startVal"/>
|
|
193
|
-
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
194
|
-
<Param val="" valType="code" updates="constant" name="stopVal"/>
|
|
195
|
-
<Param val="last key" valType="str" updates="constant" name="store"/>
|
|
196
|
-
<Param val="True" valType="bool" updates="constant" name="storeCorrect"/>
|
|
197
|
-
<Param val="True" valType="bool" updates="constant" name="syncScreenRefresh"/>
|
|
198
|
-
</KeyboardComponent>
|
|
199
|
-
</Routine>
|
|
200
|
-
<Routine name="feedback">
|
|
201
|
-
<CodeComponent name="make_feedbk">
|
|
202
|
-
<Param val="" valType="extendedCode" updates="constant" name="Before Experiment"/>
|
|
203
|
-
<Param val="" valType="extendedCode" updates="constant" name="Before JS Experiment"/>
|
|
204
|
-
<Param val="" valType="extendedCode" updates="constant" name="Begin Experiment"/>
|
|
205
|
-
<Param val="" valType="extendedCode" updates="constant" name="Begin JS Experiment"/>
|
|
206
|
-
<Param val="msg = `gamma = ${level}&#10;resp:${resp.keys}`&#10;;&#10;" valType="extendedCode" updates="constant" name="Begin JS Routine"/>
|
|
207
|
-
<Param val="msg = f"gamma = {level} \nresp:{resp.keys}"" valType="extendedCode" updates="constant" name="Begin Routine"/>
|
|
208
|
-
<Param val="Auto->JS" valType="str" updates="None" name="Code Type"/>
|
|
209
|
-
<Param val="" valType="extendedCode" updates="constant" name="Each Frame"/>
|
|
210
|
-
<Param val="" valType="extendedCode" updates="constant" name="Each JS Frame"/>
|
|
211
|
-
<Param val="" valType="extendedCode" updates="constant" name="End Experiment"/>
|
|
212
|
-
<Param val="" valType="extendedCode" updates="constant" name="End JS Experiment"/>
|
|
213
|
-
<Param val="" valType="extendedCode" updates="constant" name="End JS Routine"/>
|
|
214
|
-
<Param val="" valType="extendedCode" updates="constant" name="End Routine"/>
|
|
215
|
-
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
216
|
-
<Param val="make_feedbk" valType="code" updates="None" name="name"/>
|
|
217
|
-
</CodeComponent>
|
|
218
|
-
<TextboxComponent name="show_feedbk">
|
|
219
|
-
<Param val="center" valType="str" updates="constant" name="alignment"/>
|
|
220
|
-
<Param val="center" valType="str" updates="constant" name="anchor"/>
|
|
221
|
-
<Param val="True" valType="bool" updates="constant" name="autoLog"/>
|
|
222
|
-
<Param val="False" valType="bool" updates="constant" name="bold"/>
|
|
223
|
-
<Param val="None" valType="color" updates="constant" name="borderColor"/>
|
|
224
|
-
<Param val="2" valType="num" updates="constant" name="borderWidth"/>
|
|
225
|
-
<Param val="white" valType="color" updates="constant" name="color"/>
|
|
226
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
|
|
227
|
-
<Param val="1" valType="num" updates="constant" name="contrast"/>
|
|
228
|
-
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
229
|
-
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
230
|
-
<Param val="False" valType="bool" updates="constant" name="editable"/>
|
|
231
|
-
<Param val="None" valType="color" updates="constant" name="fillColor"/>
|
|
232
|
-
<Param val="False" valType="bool" updates="constant" name="flipHoriz"/>
|
|
233
|
-
<Param val="False" valType="bool" updates="constant" name="flipVert"/>
|
|
234
|
-
<Param val="Open Sans" valType="str" updates="constant" name="font"/>
|
|
235
|
-
<Param val="False" valType="bool" updates="constant" name="italic"/>
|
|
236
|
-
<Param val="LTR" valType="str" updates="None" name="languageStyle"/>
|
|
237
|
-
<Param val="0.05" valType="num" updates="constant" name="letterHeight"/>
|
|
238
|
-
<Param val="1.0" valType="num" updates="constant" name="lineSpacing"/>
|
|
239
|
-
<Param val="show_feedbk" valType="code" updates="None" name="name"/>
|
|
240
|
-
<Param val="" valType="num" updates="constant" name="opacity"/>
|
|
241
|
-
<Param val="0" valType="num" updates="constant" name="ori"/>
|
|
242
|
-
<Param val="0" valType="num" updates="constant" name="padding"/>
|
|
243
|
-
<Param val="(0, 0)" valType="list" updates="constant" name="pos"/>
|
|
244
|
-
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
245
|
-
<Param val="(None, None)" valType="list" updates="constant" name="size"/>
|
|
246
|
-
<Param val="" valType="code" updates="None" name="startEstim"/>
|
|
247
|
-
<Param val="time (s)" valType="str" updates="None" name="startType"/>
|
|
248
|
-
<Param val="0.0" valType="code" updates="None" name="startVal"/>
|
|
249
|
-
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
250
|
-
<Param val="0.5" valType="code" updates="constant" name="stopVal"/>
|
|
251
|
-
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
|
|
252
|
-
<Param val="$msg" valType="str" updates="set every repeat" name="text"/>
|
|
253
|
-
<Param val="from exp settings" valType="str" updates="None" name="units"/>
|
|
254
|
-
</TextboxComponent>
|
|
255
|
-
</Routine>
|
|
256
|
-
<Routine name="setup_trial">
|
|
257
|
-
<CodeComponent name="set_gamma">
|
|
258
|
-
<Param val="" valType="extendedCode" updates="constant" name="Before Experiment"/>
|
|
259
|
-
<Param val="" valType="extendedCode" updates="constant" name="Before JS Experiment"/>
|
|
260
|
-
<Param val="gamma = 1" valType="extendedCode" updates="constant" name="Begin Experiment"/>
|
|
261
|
-
<Param val="gamma = 1;&#10;" valType="extendedCode" updates="constant" name="Begin JS Experiment"/>
|
|
262
|
-
<Param val="gamma = level;&#10;trials.addOtherData("gamma", level);&#10;psychoJS.window.gamma = level;&#10;" valType="extendedCode" updates="constant" name="Begin JS Routine"/>
|
|
263
|
-
<Param val="gamma = level # from staircase&#10;trials.addOtherData('gamma', level)&#10;&#10;win.gamma = level" valType="extendedCode" updates="constant" name="Begin Routine"/>
|
|
264
|
-
<Param val="Auto->JS" valType="str" updates="None" name="Code Type"/>
|
|
265
|
-
<Param val="" valType="extendedCode" updates="constant" name="Each Frame"/>
|
|
266
|
-
<Param val="" valType="extendedCode" updates="constant" name="Each JS Frame"/>
|
|
267
|
-
<Param val="" valType="extendedCode" updates="constant" name="End Experiment"/>
|
|
268
|
-
<Param val="" valType="extendedCode" updates="constant" name="End JS Experiment"/>
|
|
269
|
-
<Param val="" valType="extendedCode" updates="constant" name="End JS Routine"/>
|
|
270
|
-
<Param val="" valType="extendedCode" updates="constant" name="End Routine"/>
|
|
271
|
-
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
272
|
-
<Param val="set_gamma" valType="code" updates="None" name="name"/>
|
|
273
|
-
</CodeComponent>
|
|
274
|
-
<CodeComponent name="rand_side">
|
|
275
|
-
<Param val="" valType="extendedCode" updates="constant" name="Before Experiment"/>
|
|
276
|
-
<Param val="" valType="extendedCode" updates="constant" name="Before JS Experiment"/>
|
|
277
|
-
<Param val="" valType="extendedCode" updates="constant" name="Begin Experiment"/>
|
|
278
|
-
<Param val="" valType="extendedCode" updates="constant" name="Begin JS Experiment"/>
|
|
279
|
-
<Param val="if ((Math.random() > 0.5)) {&#10; ori = 180;&#10; high_ans = "right";&#10;} else {&#10; ori = 0;&#10; high_ans = "left";&#10;}&#10;" valType="extendedCode" updates="constant" name="Begin JS Routine"/>
|
|
280
|
-
<Param val="# randomize whether "high gamma" is right or left&#10;# "high" is where the grating appears to drift if&#10;# the gamma is too high. Count as "correct" so&#10;# that next level will reduce.&#10;if random() > 0.5:&#10; ori = 180&#10; high_ans = 'right'&#10;else:&#10; ori = 0&#10; high_ans = 'left'" valType="extendedCode" updates="constant" name="Begin Routine"/>
|
|
281
|
-
<Param val="Auto->JS" valType="str" updates="None" name="Code Type"/>
|
|
282
|
-
<Param val="" valType="extendedCode" updates="constant" name="Each Frame"/>
|
|
283
|
-
<Param val="" valType="extendedCode" updates="constant" name="Each JS Frame"/>
|
|
284
|
-
<Param val="" valType="extendedCode" updates="constant" name="End Experiment"/>
|
|
285
|
-
<Param val="" valType="extendedCode" updates="constant" name="End JS Experiment"/>
|
|
286
|
-
<Param val="" valType="extendedCode" updates="constant" name="End JS Routine"/>
|
|
287
|
-
<Param val="" valType="extendedCode" updates="constant" name="End Routine"/>
|
|
288
|
-
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
289
|
-
<Param val="rand_side" valType="code" updates="None" name="name"/>
|
|
290
|
-
</CodeComponent>
|
|
291
|
-
</Routine>
|
|
292
|
-
</Routines>
|
|
293
|
-
<Flow>
|
|
294
|
-
<LoopInitiator loopType="MultiStairHandler" name="trials">
|
|
295
|
-
<Param name="conditions" updates="None" val="[{'startVal': 0.8, 'startValSD': 0.2}, {'startVal': 3, 'startValSD': 0.2}]" valType="list"/>
|
|
296
|
-
<Param name="conditionsFile" updates="None" val="questStairs.xlsx" valType="file"/>
|
|
297
|
-
<Param name="endPoints" updates="None" val="[0, 1]" valType="num"/>
|
|
298
|
-
<Param name="isTrials" updates="None" val="True" valType="bool"/>
|
|
299
|
-
<Param name="loopType" updates="None" val="interleaved staircases" valType="str"/>
|
|
300
|
-
<Param name="nReps" updates="None" val="30" valType="num"/>
|
|
301
|
-
<Param name="name" updates="None" val="trials" valType="code"/>
|
|
302
|
-
<Param name="stairType" updates="None" val="QUEST" valType="str"/>
|
|
303
|
-
<Param name="switchMethod" updates="None" val="random" valType="str"/>
|
|
304
|
-
</LoopInitiator>
|
|
305
|
-
<Routine name="setup_trial"/>
|
|
306
|
-
<LoopInitiator loopType="TrialHandler" name="frame_cycles">
|
|
307
|
-
<Param name="Selected rows" updates="None" val="" valType="str"/>
|
|
308
|
-
<Param name="conditions" updates="None" val="None" valType="str"/>
|
|
309
|
-
<Param name="conditionsFile" updates="None" val="" valType="file"/>
|
|
310
|
-
<Param name="endPoints" updates="None" val="[0, 1]" valType="num"/>
|
|
311
|
-
<Param name="isTrials" updates="None" val="False" valType="bool"/>
|
|
312
|
-
<Param name="loopType" updates="None" val="sequential" valType="str"/>
|
|
313
|
-
<Param name="nReps" updates="None" val="5" valType="num"/>
|
|
314
|
-
<Param name="name" updates="None" val="frame_cycles" valType="code"/>
|
|
315
|
-
<Param name="random seed" updates="None" val="" valType="code"/>
|
|
316
|
-
</LoopInitiator>
|
|
317
|
-
<Routine name="frames"/>
|
|
318
|
-
<LoopTerminator name="frame_cycles"/>
|
|
319
|
-
<Routine name="response"/>
|
|
320
|
-
<Routine name="feedback"/>
|
|
321
|
-
<LoopTerminator name="trials"/>
|
|
322
|
-
</Flow>
|
|
323
|
-
</PsychoPy2experiment>
|