Best JavaScript code snippet using playwright-internal
search_index.js
Source: search_index.js
1window.esdocSearchIndex = [2 [3 "vcl framework/scripts/experiment-properties/data/custom_subcondition_generator.js~custom_trial_structure_conditions",4 "variable/index.html#static-variable-CUSTOM_TRIAL_STRUCTURE_CONDITIONS",5 "<span>CUSTOM_TRIAL_STRUCTURE_CONDITIONS</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/data/custom_subcondition_generator.js</span>",6 "variable"7 ],8 [9 "vcl framework/scripts/experiment-properties/data/constants/estimation_data.js~estimation_base",10 "variable/index.html#static-variable-ESTIMATION_BASE",11 "<span>ESTIMATION_BASE</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/data/constants/estimation_data.js</span>",12 "variable"13 ],14 [15 "vcl framework/scripts/experiment-properties/data/data_controller.js~experiment_bases",16 "variable/index.html#static-variable-EXPERIMENT_BASES",17 "<span>EXPERIMENT_BASES</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/data/data_controller.js</span>",18 "variable"19 ],20 [21 "vcl framework/scripts/experiment-properties/data/data_controller.js~experiment_conditions",22 "variable/index.html#static-variable-EXPERIMENT_CONDITIONS",23 "<span>EXPERIMENT_CONDITIONS</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/data/data_controller.js</span>",24 "variable"25 ],26 [27 "vcl framework/scripts/experiments/estimation/estimation.js~estimation",28 "class/scripts/experiments/estimation/estimation.js~Estimation.html",29 "<span>Estimation</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiments/estimation/estimation.js</span>",30 "class"31 ],32 [33 "vcl framework/scripts/experiments/jnd/jnd.js~jnd",34 "class/scripts/experiments/jnd/jnd.js~JND.html",35 "<span>JND</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiments/jnd/jnd.js</span>",36 "class"37 ],38 [39 "vcl framework/scripts/experiment-properties/data/constants/jnd_data.js~jnd_base",40 "variable/index.html#static-variable-JND_BASE",41 "<span>JND_BASE</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/data/constants/jnd_data.js</span>",42 "variable"43 ],44 [45 "vcl framework/scripts/experiment-properties/data/constants/jnd_data.js~jnd_conditions",46 "variable/index.html#static-variable-JND_CONDITIONS",47 "<span>JND_CONDITIONS</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/data/constants/jnd_data.js</span>",48 "variable"49 ],50 [51 "vcl framework/scripts/experiment-properties/data/constants/jnd_radius_data.js~jnd_radius_base",52 "variable/index.html#static-variable-JND_RADIUS_BASE",53 "<span>JND_RADIUS_BASE</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/data/constants/jnd_radius_data.js</span>",54 "variable"55 ],56 [57 "vcl framework/scripts/experiment-properties/data/constants/jnd_radius_data.js~jnd_radius_conditions",58 "variable/index.html#static-variable-JND_RADIUS_CONDITIONS",59 "<span>JND_RADIUS_CONDITIONS</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/data/constants/jnd_radius_data.js</span>",60 "variable"61 ],62 [63 "vcl framework/scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius",64 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html",65 "<span>JND_Radius</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiments/jnd_radius/jnd_radius.js</span>",66 "class"67 ],68 [69 "vcl framework/scripts/experiment-properties/data/constants/stevens_data.js~stevens_base",70 "variable/index.html#static-variable-STEVENS_BASE",71 "<span>STEVENS_BASE</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/data/constants/stevens_data.js</span>",72 "variable"73 ],74 [75 "vcl framework/scripts/experiment-properties/data/constants/stevens_data.js~stevens_conditions",76 "variable/index.html#static-variable-STEVENS_CONDITIONS",77 "<span>STEVENS_CONDITIONS</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/data/constants/stevens_data.js</span>",78 "variable"79 ],80 [81 "vcl framework/scripts/experiments/stevens/stevens.js~stevens",82 "class/scripts/experiments/stevens/stevens.js~Stevens.html",83 "<span>Stevens</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiments/stevens/stevens.js</span>",84 "class"85 ],86 [87 "vcl framework/scripts/experiment-properties/balancing/balancing_controller.js~balance_subconditions",88 "function/index.html#static-function-balance_subconditions",89 "<span>balance_subconditions</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/balancing/balancing_controller.js</span>",90 "function"91 ],92 [93 "vcl framework/scripts/experiment-properties/data/data_controller.js~create_condition_dataset",94 "function/index.html#static-function-create_condition_dataset",95 "<span>create_condition_dataset</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/data/data_controller.js</span>",96 "function"97 ],98 [99 "vcl framework/scripts/experiment-properties/graphing/d3-custom-plots/distractor_scatter_plot.js~create_distractor_scatter_plot",100 "function/index.html#static-function-create_distractor_scatter_plot",101 "<span>create_distractor_scatter_plot</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/graphing/d3-custom-plots/distractor_scatter_plot.js</span>",102 "function"103 ],104 [105 "vcl framework/scripts/experiment-properties/graphing/d3-base-plots/ring_plot.js~create_ring_plot",106 "function/index.html#static-function-create_ring_plot",107 "<span>create_ring_plot</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/graphing/d3-base-plots/ring_plot.js</span>",108 "function"109 ],110 [111 "vcl framework/scripts/experiment-properties/graphing/d3-base-plots/scatter_plot.js~create_scatter_plot",112 "function/index.html#static-function-create_scatter_plot",113 "<span>create_scatter_plot</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/graphing/d3-base-plots/scatter_plot.js</span>",114 "function"115 ],116 [117 "vcl framework/scripts/experiment-properties/graphing/d3-base-plots/shape_plot.js~create_shape_plot",118 "function/index.html#static-function-create_shape_plot",119 "<span>create_shape_plot</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/graphing/d3-base-plots/shape_plot.js</span>",120 "function"121 ],122 [123 "vcl framework/scripts/experiment-properties/graphing/d3-base-plots/strip_plot.js~create_strip_plot",124 "function/index.html#static-function-create_strip_plot",125 "<span>create_strip_plot</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/graphing/d3-base-plots/strip_plot.js</span>",126 "function"127 ],128 [129 "vcl framework/scripts/experiments/estimation/estimation_timeline.js~estimation_exp",130 "variable/index.html#static-variable-estimation_exp",131 "<span>estimation_exp</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiments/estimation/estimation_timeline.js</span>",132 "variable"133 ],134 [135 "vcl framework/scripts/helpers/experiment_helpers.js~force_greater_right_position",136 "function/index.html#static-function-force_greater_right_position",137 "<span>force_greater_right_position</span> <span class=\"search-result-import-path\">VCL Framework/scripts/helpers/experiment_helpers.js</span>",138 "function"139 ],140 [141 "vcl framework/scripts/experiment-properties/data/data_controller.js~get_data",142 "function/index.html#static-function-get_data",143 "<span>get_data</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/data/data_controller.js</span>",144 "function"145 ],146 [147 "vcl framework/scripts/experiment-properties/data/data_controller.js~get_data_subset",148 "function/index.html#static-function-get_data_subset",149 "<span>get_data_subset</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/data/data_controller.js</span>",150 "function"151 ],152 [153 "vcl framework/scripts/experiment-properties/data/custom_subcondition_generator.js~get_subconditions",154 "function/index.html#static-function-get_subconditions",155 "<span>get_subconditions</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/data/custom_subcondition_generator.js</span>",156 "function"157 ],158 [159 "vcl framework/scripts/experiment-properties/balancing/generators/latin_square_generator.js~initialize_latin_square",160 "function/index.html#static-function-initialize_latin_square",161 "<span>initialize_latin_square</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/balancing/generators/latin_square_generator.js</span>",162 "function"163 ],164 [165 "vcl framework/scripts/experiment-properties/balancing/generators/random_generator.js~initialize_random_order",166 "function/index.html#static-function-initialize_random_order",167 "<span>initialize_random_order</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/balancing/generators/random_generator.js</span>",168 "function"169 ],170 [171 "vcl framework/scripts/experiment-properties/graphing/custom_graphing_controller.js~is_custom_plot",172 "function/index.html#static-function-is_custom_plot",173 "<span>is_custom_plot</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/graphing/custom_graphing_controller.js</span>",174 "function"175 ],176 [177 "vcl framework/scripts/experiments/jnd/jnd_timeline.js~jnd_exp",178 "variable/index.html#static-variable-jnd_exp",179 "<span>jnd_exp</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiments/jnd/jnd_timeline.js</span>",180 "variable"181 ],182 [183 "vcl framework/scripts/experiments/jnd_radius/jnd_radius_timeline.js~jnd_radius_exp",184 "variable/index.html#static-variable-jnd_radius_exp",185 "<span>jnd_radius_exp</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiments/jnd_radius/jnd_radius_timeline.js</span>",186 "variable"187 ],188 [189 "vcl framework/scripts/experiment-properties/graphing/graphing_controller.js~plot_distributions",190 "function/index.html#static-function-plot_distributions",191 "<span>plot_distributions</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/graphing/graphing_controller.js</span>",192 "function"193 ],194 [195 "vcl framework/scripts/experiment-properties/graphing/d3-base-plots/scatter_plot.js~plot_scatter_points",196 "function/index.html#static-function-plot_scatter_points",197 "<span>plot_scatter_points</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/graphing/d3-base-plots/scatter_plot.js</span>",198 "function"199 ],200 [201 "vcl framework/scripts/experiment-properties/graphing/custom_graphing_controller.js~prepare_custom_plot",202 "function/index.html#static-function-prepare_custom_plot",203 "<span>prepare_custom_plot</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiment-properties/graphing/custom_graphing_controller.js</span>",204 "function"205 ],206 [207 "vcl framework/scripts/helpers/experiment_helpers.js~randomize_position",208 "function/index.html#static-function-randomize_position",209 "<span>randomize_position</span> <span class=\"search-result-import-path\">VCL Framework/scripts/helpers/experiment_helpers.js</span>",210 "function"211 ],212 [213 "vcl framework/scripts/helpers/experiment_helpers.js~randomize_radius_position",214 "function/index.html#static-function-randomize_radius_position",215 "<span>randomize_radius_position</span> <span class=\"search-result-import-path\">VCL Framework/scripts/helpers/experiment_helpers.js</span>",216 "function"217 ],218 [219 "vcl framework/scripts/experiments/stevens/stevens_timeline.js~stevens_exp",220 "variable/index.html#static-variable-stevens_exp",221 "<span>stevens_exp</span> <span class=\"search-result-import-path\">VCL Framework/scripts/experiments/stevens/stevens_timeline.js</span>",222 "variable"223 ],224 [225 "scripts/.external-ecmascript.js~array",226 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array",227 "scripts/.external-ecmascript.js~Array",228 "external"229 ],230 [231 "scripts/.external-ecmascript.js~arraybuffer",232 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer",233 "scripts/.external-ecmascript.js~ArrayBuffer",234 "external"235 ],236 [237 "scripts/.external-ecmascript.js~boolean",238 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean",239 "scripts/.external-ecmascript.js~Boolean",240 "external"241 ],242 [243 "scripts/.external-ecmascript.js~dataview",244 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView",245 "scripts/.external-ecmascript.js~DataView",246 "external"247 ],248 [249 "scripts/.external-ecmascript.js~date",250 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date",251 "scripts/.external-ecmascript.js~Date",252 "external"253 ],254 [255 "scripts/.external-ecmascript.js~error",256 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error",257 "scripts/.external-ecmascript.js~Error",258 "external"259 ],260 [261 "scripts/.external-ecmascript.js~evalerror",262 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError",263 "scripts/.external-ecmascript.js~EvalError",264 "external"265 ],266 [267 "scripts/.external-ecmascript.js~float32array",268 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array",269 "scripts/.external-ecmascript.js~Float32Array",270 "external"271 ],272 [273 "scripts/.external-ecmascript.js~float64array",274 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array",275 "scripts/.external-ecmascript.js~Float64Array",276 "external"277 ],278 [279 "scripts/.external-ecmascript.js~function",280 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function",281 "scripts/.external-ecmascript.js~Function",282 "external"283 ],284 [285 "scripts/.external-ecmascript.js~generator",286 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator",287 "scripts/.external-ecmascript.js~Generator",288 "external"289 ],290 [291 "scripts/.external-ecmascript.js~generatorfunction",292 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction",293 "scripts/.external-ecmascript.js~GeneratorFunction",294 "external"295 ],296 [297 "scripts/.external-ecmascript.js~infinity",298 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity",299 "scripts/.external-ecmascript.js~Infinity",300 "external"301 ],302 [303 "scripts/.external-ecmascript.js~int16array",304 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array",305 "scripts/.external-ecmascript.js~Int16Array",306 "external"307 ],308 [309 "scripts/.external-ecmascript.js~int32array",310 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array",311 "scripts/.external-ecmascript.js~Int32Array",312 "external"313 ],314 [315 "scripts/.external-ecmascript.js~int8array",316 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array",317 "scripts/.external-ecmascript.js~Int8Array",318 "external"319 ],320 [321 "scripts/.external-ecmascript.js~internalerror",322 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError",323 "scripts/.external-ecmascript.js~InternalError",324 "external"325 ],326 [327 "scripts/.external-ecmascript.js~json",328 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON",329 "scripts/.external-ecmascript.js~JSON",330 "external"331 ],332 [333 "scripts/.external-ecmascript.js~map",334 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map",335 "scripts/.external-ecmascript.js~Map",336 "external"337 ],338 [339 "scripts/.external-ecmascript.js~nan",340 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN",341 "scripts/.external-ecmascript.js~NaN",342 "external"343 ],344 [345 "scripts/.external-ecmascript.js~number",346 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number",347 "scripts/.external-ecmascript.js~Number",348 "external"349 ],350 [351 "scripts/.external-ecmascript.js~object",352 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object",353 "scripts/.external-ecmascript.js~Object",354 "external"355 ],356 [357 "scripts/.external-ecmascript.js~promise",358 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise",359 "scripts/.external-ecmascript.js~Promise",360 "external"361 ],362 [363 "scripts/.external-ecmascript.js~proxy",364 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy",365 "scripts/.external-ecmascript.js~Proxy",366 "external"367 ],368 [369 "scripts/.external-ecmascript.js~rangeerror",370 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError",371 "scripts/.external-ecmascript.js~RangeError",372 "external"373 ],374 [375 "scripts/.external-ecmascript.js~referenceerror",376 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError",377 "scripts/.external-ecmascript.js~ReferenceError",378 "external"379 ],380 [381 "scripts/.external-ecmascript.js~reflect",382 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect",383 "scripts/.external-ecmascript.js~Reflect",384 "external"385 ],386 [387 "scripts/.external-ecmascript.js~regexp",388 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp",389 "scripts/.external-ecmascript.js~RegExp",390 "external"391 ],392 [393 "scripts/.external-ecmascript.js~set",394 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set",395 "scripts/.external-ecmascript.js~Set",396 "external"397 ],398 [399 "scripts/.external-ecmascript.js~string",400 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String",401 "scripts/.external-ecmascript.js~String",402 "external"403 ],404 [405 "scripts/.external-ecmascript.js~symbol",406 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol",407 "scripts/.external-ecmascript.js~Symbol",408 "external"409 ],410 [411 "scripts/.external-ecmascript.js~syntaxerror",412 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError",413 "scripts/.external-ecmascript.js~SyntaxError",414 "external"415 ],416 [417 "scripts/.external-ecmascript.js~typeerror",418 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError",419 "scripts/.external-ecmascript.js~TypeError",420 "external"421 ],422 [423 "scripts/.external-ecmascript.js~urierror",424 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError",425 "scripts/.external-ecmascript.js~URIError",426 "external"427 ],428 [429 "scripts/.external-ecmascript.js~uint16array",430 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array",431 "scripts/.external-ecmascript.js~Uint16Array",432 "external"433 ],434 [435 "scripts/.external-ecmascript.js~uint32array",436 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array",437 "scripts/.external-ecmascript.js~Uint32Array",438 "external"439 ],440 [441 "scripts/.external-ecmascript.js~uint8array",442 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array",443 "scripts/.external-ecmascript.js~Uint8Array",444 "external"445 ],446 [447 "scripts/.external-ecmascript.js~uint8clampedarray",448 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray",449 "scripts/.external-ecmascript.js~Uint8ClampedArray",450 "external"451 ],452 [453 "scripts/.external-ecmascript.js~weakmap",454 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap",455 "scripts/.external-ecmascript.js~WeakMap",456 "external"457 ],458 [459 "scripts/.external-ecmascript.js~weakset",460 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet",461 "scripts/.external-ecmascript.js~WeakSet",462 "external"463 ],464 [465 "scripts/.external-ecmascript.js~boolean",466 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean",467 "scripts/.external-ecmascript.js~boolean",468 "external"469 ],470 [471 "scripts/.external-ecmascript.js~function",472 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function",473 "scripts/.external-ecmascript.js~function",474 "external"475 ],476 [477 "scripts/.external-ecmascript.js~null",478 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null",479 "scripts/.external-ecmascript.js~null",480 "external"481 ],482 [483 "scripts/.external-ecmascript.js~number",484 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number",485 "scripts/.external-ecmascript.js~number",486 "external"487 ],488 [489 "scripts/.external-ecmascript.js~object",490 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object",491 "scripts/.external-ecmascript.js~object",492 "external"493 ],494 [495 "scripts/.external-ecmascript.js~string",496 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String",497 "scripts/.external-ecmascript.js~string",498 "external"499 ],500 [501 "scripts/.external-ecmascript.js~undefined",502 "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined",503 "scripts/.external-ecmascript.js~undefined",504 "external"505 ],506 [507 "scripts/experiment-properties/balancing/balancing_controller.js",508 "file/scripts/experiment-properties/balancing/balancing_controller.js.html",509 "scripts/experiment-properties/balancing/balancing_controller.js",510 "file"511 ],512 [513 "scripts/experiment-properties/balancing/generators/latin_square_generator.js",514 "file/scripts/experiment-properties/balancing/generators/latin_square_generator.js.html",515 "scripts/experiment-properties/balancing/generators/latin_square_generator.js",516 "file"517 ],518 [519 "scripts/experiment-properties/balancing/generators/random_generator.js",520 "file/scripts/experiment-properties/balancing/generators/random_generator.js.html",521 "scripts/experiment-properties/balancing/generators/random_generator.js",522 "file"523 ],524 [525 "scripts/experiment-properties/data/constants/estimation_data.js",526 "file/scripts/experiment-properties/data/constants/estimation_data.js.html",527 "scripts/experiment-properties/data/constants/estimation_data.js",528 "file"529 ],530 [531 "scripts/experiment-properties/data/constants/jnd_data.js",532 "file/scripts/experiment-properties/data/constants/jnd_data.js.html",533 "scripts/experiment-properties/data/constants/jnd_data.js",534 "file"535 ],536 [537 "scripts/experiment-properties/data/constants/jnd_radius_data.js",538 "file/scripts/experiment-properties/data/constants/jnd_radius_data.js.html",539 "scripts/experiment-properties/data/constants/jnd_radius_data.js",540 "file"541 ],542 [543 "scripts/experiment-properties/data/constants/stevens_data.js",544 "file/scripts/experiment-properties/data/constants/stevens_data.js.html",545 "scripts/experiment-properties/data/constants/stevens_data.js",546 "file"547 ],548 [549 "scripts/experiment-properties/data/custom_subcondition_generator.js",550 "file/scripts/experiment-properties/data/custom_subcondition_generator.js.html",551 "scripts/experiment-properties/data/custom_subcondition_generator.js",552 "file"553 ],554 [555 "scripts/experiment-properties/data/data_controller.js",556 "file/scripts/experiment-properties/data/data_controller.js.html",557 "scripts/experiment-properties/data/data_controller.js",558 "file"559 ],560 [561 "scripts/experiment-properties/distribution/gaussian_distribution_generator.js",562 "file/scripts/experiment-properties/distribution/gaussian_distribution_generator.js.html",563 "scripts/experiment-properties/distribution/gaussian_distribution_generator.js",564 "file"565 ],566 [567 "scripts/experiment-properties/graphing/custom_graphing_controller.js",568 "file/scripts/experiment-properties/graphing/custom_graphing_controller.js.html",569 "scripts/experiment-properties/graphing/custom_graphing_controller.js",570 "file"571 ],572 [573 "scripts/experiment-properties/graphing/d3-base-plots/ring_plot.js",574 "file/scripts/experiment-properties/graphing/d3-base-plots/ring_plot.js.html",575 "scripts/experiment-properties/graphing/d3-base-plots/ring_plot.js",576 "file"577 ],578 [579 "scripts/experiment-properties/graphing/d3-base-plots/scatter_plot.js",580 "file/scripts/experiment-properties/graphing/d3-base-plots/scatter_plot.js.html",581 "scripts/experiment-properties/graphing/d3-base-plots/scatter_plot.js",582 "file"583 ],584 [585 "scripts/experiment-properties/graphing/d3-base-plots/shape_plot.js",586 "file/scripts/experiment-properties/graphing/d3-base-plots/shape_plot.js.html",587 "scripts/experiment-properties/graphing/d3-base-plots/shape_plot.js",588 "file"589 ],590 [591 "scripts/experiment-properties/graphing/d3-base-plots/strip_plot.js",592 "file/scripts/experiment-properties/graphing/d3-base-plots/strip_plot.js.html",593 "scripts/experiment-properties/graphing/d3-base-plots/strip_plot.js",594 "file"595 ],596 [597 "scripts/experiment-properties/graphing/d3-custom-plots/distractor_scatter_plot.js",598 "file/scripts/experiment-properties/graphing/d3-custom-plots/distractor_scatter_plot.js.html",599 "scripts/experiment-properties/graphing/d3-custom-plots/distractor_scatter_plot.js",600 "file"601 ],602 [603 "scripts/experiment-properties/graphing/graphing_controller.js",604 "file/scripts/experiment-properties/graphing/graphing_controller.js.html",605 "scripts/experiment-properties/graphing/graphing_controller.js",606 "file"607 ],608 [609 "scripts/experiments/estimation/estimation.js",610 "file/scripts/experiments/estimation/estimation.js.html",611 "scripts/experiments/estimation/estimation.js",612 "file"613 ],614 [615 "scripts/experiments/estimation/estimation.js~estimation#margin",616 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-MARGIN",617 "scripts/experiments/estimation/estimation.js~Estimation#MARGIN",618 "member"619 ],620 [621 "scripts/experiments/estimation/estimation.js~estimation#max_step_interval",622 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-MAX_STEP_INTERVAL",623 "scripts/experiments/estimation/estimation.js~Estimation#MAX_STEP_INTERVAL",624 "member"625 ],626 [627 "scripts/experiments/estimation/estimation.js~estimation#max_step_size",628 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-MAX_STEP_SIZE",629 "scripts/experiments/estimation/estimation.js~Estimation#MAX_STEP_SIZE",630 "member"631 ],632 [633 "scripts/experiments/estimation/estimation.js~estimation#max_y_pos_jitter",634 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-MAX_Y_POS_JITTER",635 "scripts/experiments/estimation/estimation.js~Estimation#MAX_Y_POS_JITTER",636 "member"637 ],638 [639 "scripts/experiments/estimation/estimation.js~estimation#pixel_to_cm",640 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-PIXEL_TO_CM",641 "scripts/experiments/estimation/estimation.js~Estimation#PIXEL_TO_CM",642 "member"643 ],644 [645 "scripts/experiments/estimation/estimation.js~estimation#rounds_per_cond",646 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-ROUNDS_PER_COND",647 "scripts/experiments/estimation/estimation.js~Estimation#ROUNDS_PER_COND",648 "member"649 ],650 [651 "scripts/experiments/estimation/estimation.js~estimation#x_distance_between_shapes",652 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-X_DISTANCE_BETWEEN_SHAPES",653 "scripts/experiments/estimation/estimation.js~Estimation#X_DISTANCE_BETWEEN_SHAPES",654 "member"655 ],656 [657 "scripts/experiments/estimation/estimation.js~estimation#y_diviation_from_x_axis",658 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-Y_DIVIATION_FROM_X_AXIS",659 "scripts/experiments/estimation/estimation.js~Estimation#Y_DIVIATION_FROM_X_AXIS",660 "member"661 ],662 [663 "scripts/experiments/estimation/estimation.js~estimation#adjusted_midpoint_matrix",664 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-adjusted_midpoint_matrix",665 "scripts/experiments/estimation/estimation.js~Estimation#adjusted_midpoint_matrix",666 "member"667 ],668 [669 "scripts/experiments/estimation/estimation.js~estimation#balancing_type",670 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-balancing_type",671 "scripts/experiments/estimation/estimation.js~Estimation#balancing_type",672 "member"673 ],674 [675 "scripts/experiments/estimation/estimation.js~estimation#calculate_size_change",676 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-method-calculate_size_change",677 "scripts/experiments/estimation/estimation.js~Estimation#calculate_size_change",678 "method"679 ],680 [681 "scripts/experiments/estimation/estimation.js~estimation#calculate_y_position",682 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-method-calculate_y_position",683 "scripts/experiments/estimation/estimation.js~Estimation#calculate_y_position",684 "method"685 ],686 [687 "scripts/experiments/estimation/estimation.js~estimation#condition_name",688 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-condition_name",689 "scripts/experiments/estimation/estimation.js~Estimation#condition_name",690 "member"691 ],692 [693 "scripts/experiments/estimation/estimation.js~estimation#constructor",694 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-constructor-constructor",695 "scripts/experiments/estimation/estimation.js~Estimation#constructor",696 "method"697 ],698 [699 "scripts/experiments/estimation/estimation.js~estimation#curr_condition_index",700 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-curr_condition_index",701 "scripts/experiments/estimation/estimation.js~Estimation#curr_condition_index",702 "member"703 ],704 [705 "scripts/experiments/estimation/estimation.js~estimation#curr_conditions_constants",706 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-curr_conditions_constants",707 "scripts/experiments/estimation/estimation.js~Estimation#curr_conditions_constants",708 "member"709 ],710 [711 "scripts/experiments/estimation/estimation.js~estimation#curr_round_num",712 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-curr_round_num",713 "scripts/experiments/estimation/estimation.js~Estimation#curr_round_num",714 "member"715 ],716 [717 "scripts/experiments/estimation/estimation.js~estimation#current_practice_condition_index",718 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-current_practice_condition_index",719 "scripts/experiments/estimation/estimation.js~Estimation#current_practice_condition_index",720 "member"721 ],722 [723 "scripts/experiments/estimation/estimation.js~estimation#experiment_conditions_constants",724 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-experiment_conditions_constants",725 "scripts/experiments/estimation/estimation.js~Estimation#experiment_conditions_constants",726 "member"727 ],728 [729 "scripts/experiments/estimation/estimation.js~estimation#export_trial_data",730 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-method-export_trial_data",731 "scripts/experiments/estimation/estimation.js~Estimation#export_trial_data",732 "method"733 ],734 [735 "scripts/experiments/estimation/estimation.js~estimation#generate_trial",736 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-method-generate_trial",737 "scripts/experiments/estimation/estimation.js~Estimation#generate_trial",738 "method"739 ],740 [741 "scripts/experiments/estimation/estimation.js~estimation#graph_type",742 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-graph_type",743 "scripts/experiments/estimation/estimation.js~Estimation#graph_type",744 "member"745 ],746 [747 "scripts/experiments/estimation/estimation.js~estimation#input_count_array",748 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-input_count_array",749 "scripts/experiments/estimation/estimation.js~Estimation#input_count_array",750 "member"751 ],752 [753 "scripts/experiments/estimation/estimation.js~estimation#is_practice",754 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-is_practice",755 "scripts/experiments/estimation/estimation.js~Estimation#is_practice",756 "member"757 ],758 [759 "scripts/experiments/estimation/estimation.js~estimation#plot_circle",760 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-method-plot_circle",761 "scripts/experiments/estimation/estimation.js~Estimation#plot_circle",762 "method"763 ],764 [765 "scripts/experiments/estimation/estimation.js~estimation#plot_instruction",766 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-method-plot_instruction",767 "scripts/experiments/estimation/estimation.js~Estimation#plot_instruction",768 "method"769 ],770 [771 "scripts/experiments/estimation/estimation.js~estimation#plot_line",772 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-method-plot_line",773 "scripts/experiments/estimation/estimation.js~Estimation#plot_line",774 "method"775 ],776 [777 "scripts/experiments/estimation/estimation.js~estimation#plot_rectangle",778 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-method-plot_rectangle",779 "scripts/experiments/estimation/estimation.js~Estimation#plot_rectangle",780 "method"781 ],782 [783 "scripts/experiments/estimation/estimation.js~estimation#plot_shape",784 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-method-plot_shape",785 "scripts/experiments/estimation/estimation.js~Estimation#plot_shape",786 "method"787 ],788 [789 "scripts/experiments/estimation/estimation.js~estimation#plot_square",790 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-method-plot_square",791 "scripts/experiments/estimation/estimation.js~Estimation#plot_square",792 "method"793 ],794 [795 "scripts/experiments/estimation/estimation.js~estimation#plot_trial",796 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-method-plot_trial",797 "scripts/experiments/estimation/estimation.js~Estimation#plot_trial",798 "method"799 ],800 [801 "scripts/experiments/estimation/estimation.js~estimation#plot_trials",802 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-method-plot_trials",803 "scripts/experiments/estimation/estimation.js~Estimation#plot_trials",804 "method"805 ],806 [807 "scripts/experiments/estimation/estimation.js~estimation#plot_triangle",808 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-method-plot_triangle",809 "scripts/experiments/estimation/estimation.js~Estimation#plot_triangle",810 "method"811 ],812 [813 "scripts/experiments/estimation/estimation.js~estimation#practice_conditions_constants",814 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-practice_conditions_constants",815 "scripts/experiments/estimation/estimation.js~Estimation#practice_conditions_constants",816 "member"817 ],818 [819 "scripts/experiments/estimation/estimation.js~estimation#practice_end",820 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-practice_end",821 "scripts/experiments/estimation/estimation.js~Estimation#practice_end",822 "member"823 ],824 [825 "scripts/experiments/estimation/estimation.js~estimation#practice_trial_data",826 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-practice_trial_data",827 "scripts/experiments/estimation/estimation.js~Estimation#practice_trial_data",828 "member"829 ],830 [831 "scripts/experiments/estimation/estimation.js~estimation#prepare_experiment",832 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-method-prepare_experiment",833 "scripts/experiments/estimation/estimation.js~Estimation#prepare_experiment",834 "method"835 ],836 [837 "scripts/experiments/estimation/estimation.js~estimation#prepare_practice",838 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-method-prepare_practice",839 "scripts/experiments/estimation/estimation.js~Estimation#prepare_practice",840 "method"841 ],842 [843 "scripts/experiments/estimation/estimation.js~estimation#raw_sub_conds",844 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-raw_sub_conds",845 "scripts/experiments/estimation/estimation.js~Estimation#raw_sub_conds",846 "member"847 ],848 [849 "scripts/experiments/estimation/estimation.js~estimation#results",850 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-results",851 "scripts/experiments/estimation/estimation.js~Estimation#results",852 "member"853 ],854 [855 "scripts/experiments/estimation/estimation.js~estimation#round_end",856 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-round_end",857 "scripts/experiments/estimation/estimation.js~Estimation#round_end",858 "member"859 ],860 [861 "scripts/experiments/estimation/estimation.js~estimation#set_variables_to_experiment",862 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-method-set_variables_to_experiment",863 "scripts/experiments/estimation/estimation.js~Estimation#set_variables_to_experiment",864 "method"865 ],866 [867 "scripts/experiments/estimation/estimation.js~estimation#sub_condition_order",868 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-sub_condition_order",869 "scripts/experiments/estimation/estimation.js~Estimation#sub_condition_order",870 "member"871 ],872 [873 "scripts/experiments/estimation/estimation.js~estimation#subject_id",874 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-subject_id",875 "scripts/experiments/estimation/estimation.js~Estimation#subject_id",876 "member"877 ],878 [879 "scripts/experiments/estimation/estimation.js~estimation#subject_initials",880 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-subject_initials",881 "scripts/experiments/estimation/estimation.js~Estimation#subject_initials",882 "member"883 ],884 [885 "scripts/experiments/estimation/estimation.js~estimation#trial_data",886 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-trial_data",887 "scripts/experiments/estimation/estimation.js~Estimation#trial_data",888 "member"889 ],890 [891 "scripts/experiments/estimation/estimation.js~estimation#trial_structure",892 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-member-trial_structure",893 "scripts/experiments/estimation/estimation.js~Estimation#trial_structure",894 "member"895 ],896 [897 "scripts/experiments/estimation/estimation.js~estimation#update_curr_cond_idx",898 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-method-update_curr_cond_idx",899 "scripts/experiments/estimation/estimation.js~Estimation#update_curr_cond_idx",900 "method"901 ],902 [903 "scripts/experiments/estimation/estimation.js~estimation#update_curr_round_number",904 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-method-update_curr_round_number",905 "scripts/experiments/estimation/estimation.js~Estimation#update_curr_round_number",906 "method"907 ],908 [909 "scripts/experiments/estimation/estimation.js~estimation#update_input_array",910 "class/scripts/experiments/estimation/estimation.js~Estimation.html#instance-method-update_input_array",911 "scripts/experiments/estimation/estimation.js~Estimation#update_input_array",912 "method"913 ],914 [915 "scripts/experiments/estimation/estimation.js~estimation.append_adjustments_listener",916 "class/scripts/experiments/estimation/estimation.js~Estimation.html#static-method-append_adjustments_listener",917 "scripts/experiments/estimation/estimation.js~Estimation.append_adjustments_listener",918 "method"919 ],920 [921 "scripts/experiments/estimation/estimation_timeline.js",922 "file/scripts/experiments/estimation/estimation_timeline.js.html",923 "scripts/experiments/estimation/estimation_timeline.js",924 "file"925 ],926 [927 "scripts/experiments/jnd/jnd.js",928 "file/scripts/experiments/jnd/jnd.js.html",929 "scripts/experiments/jnd/jnd.js",930 "file"931 ],932 [933 "scripts/experiments/jnd/jnd.js~jnd#convergence_threshold",934 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-CONVERGENCE_THRESHOLD",935 "scripts/experiments/jnd/jnd.js~JND#CONVERGENCE_THRESHOLD",936 "member"937 ],938 [939 "scripts/experiments/jnd/jnd.js~jnd#incorrect_multiplier",940 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-INCORRECT_MULTIPLIER",941 "scripts/experiments/jnd/jnd.js~JND#INCORRECT_MULTIPLIER",942 "member"943 ],944 [945 "scripts/experiments/jnd/jnd.js~jnd#max_correlation",946 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-MAX_CORRELATION",947 "scripts/experiments/jnd/jnd.js~JND#MAX_CORRELATION",948 "member"949 ],950 [951 "scripts/experiments/jnd/jnd.js~jnd#max_trials",952 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-MAX_TRIALS",953 "scripts/experiments/jnd/jnd.js~JND#MAX_TRIALS",954 "member"955 ],956 [957 "scripts/experiments/jnd/jnd.js~jnd#min_correlation",958 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-MIN_CORRELATION",959 "scripts/experiments/jnd/jnd.js~JND#MIN_CORRELATION",960 "member"961 ],962 [963 "scripts/experiments/jnd/jnd.js~jnd#min_trials",964 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-MIN_TRIALS",965 "scripts/experiments/jnd/jnd.js~JND#MIN_TRIALS",966 "member"967 ],968 [969 "scripts/experiments/jnd/jnd.js~jnd#window_interval",970 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-WINDOW_INTERVAL",971 "scripts/experiments/jnd/jnd.js~JND#WINDOW_INTERVAL",972 "member"973 ],974 [975 "scripts/experiments/jnd/jnd.js~jnd#window_size",976 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-WINDOW_SIZE",977 "scripts/experiments/jnd/jnd.js~JND#WINDOW_SIZE",978 "member"979 ],980 [981 "scripts/experiments/jnd/jnd.js~jnd#adjusted_quantity_matrix",982 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-adjusted_quantity_matrix",983 "scripts/experiments/jnd/jnd.js~JND#adjusted_quantity_matrix",984 "member"985 ],986 [987 "scripts/experiments/jnd/jnd.js~jnd#balancing_type",988 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-balancing_type",989 "scripts/experiments/jnd/jnd.js~JND#balancing_type",990 "member"991 ],992 [993 "scripts/experiments/jnd/jnd.js~jnd#calculate_adjusted_correlation",994 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-method-calculate_adjusted_correlation",995 "scripts/experiments/jnd/jnd.js~JND#calculate_adjusted_correlation",996 "method"997 ],998 [999 "scripts/experiments/jnd/jnd.js~jnd#check_response",1000 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-method-check_response",1001 "scripts/experiments/jnd/jnd.js~JND#check_response",1002 "method"1003 ],1004 [1005 "scripts/experiments/jnd/jnd.js~jnd#condition_group",1006 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-condition_group",1007 "scripts/experiments/jnd/jnd.js~JND#condition_group",1008 "member"1009 ],1010 [1011 "scripts/experiments/jnd/jnd.js~jnd#condition_name",1012 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-condition_name",1013 "scripts/experiments/jnd/jnd.js~JND#condition_name",1014 "member"1015 ],1016 [1017 "scripts/experiments/jnd/jnd.js~jnd#constructor",1018 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-constructor-constructor",1019 "scripts/experiments/jnd/jnd.js~JND#constructor",1020 "method"1021 ],1022 [1023 "scripts/experiments/jnd/jnd.js~jnd#current_practice_condition_index",1024 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-current_practice_condition_index",1025 "scripts/experiments/jnd/jnd.js~JND#current_practice_condition_index",1026 "member"1027 ],1028 [1029 "scripts/experiments/jnd/jnd.js~jnd#current_sub_condition_index",1030 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-current_sub_condition_index",1031 "scripts/experiments/jnd/jnd.js~JND#current_sub_condition_index",1032 "member"1033 ],1034 [1035 "scripts/experiments/jnd/jnd.js~jnd#distractor_coordinates",1036 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-distractor_coordinates",1037 "scripts/experiments/jnd/jnd.js~JND#distractor_coordinates",1038 "member"1039 ],1040 [1041 "scripts/experiments/jnd/jnd.js~jnd#end_sub_condition",1042 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-method-end_sub_condition",1043 "scripts/experiments/jnd/jnd.js~JND#end_sub_condition",1044 "method"1045 ],1046 [1047 "scripts/experiments/jnd/jnd.js~jnd#export_summary_data",1048 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-method-export_summary_data",1049 "scripts/experiments/jnd/jnd.js~JND#export_summary_data",1050 "method"1051 ],1052 [1053 "scripts/experiments/jnd/jnd.js~jnd#export_trial_data",1054 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-method-export_trial_data",1055 "scripts/experiments/jnd/jnd.js~JND#export_trial_data",1056 "method"1057 ],1058 [1059 "scripts/experiments/jnd/jnd.js~jnd#first_trial_of_sub_condition",1060 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-first_trial_of_sub_condition",1061 "scripts/experiments/jnd/jnd.js~JND#first_trial_of_sub_condition",1062 "member"1063 ],1064 [1065 "scripts/experiments/jnd/jnd.js~jnd#generate_trial",1066 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-method-generate_trial",1067 "scripts/experiments/jnd/jnd.js~JND#generate_trial",1068 "method"1069 ],1070 [1071 "scripts/experiments/jnd/jnd.js~jnd#get_next_adjusted_statistic",1072 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-method-get_next_adjusted_statistic",1073 "scripts/experiments/jnd/jnd.js~JND#get_next_adjusted_statistic",1074 "method"1075 ],1076 [1077 "scripts/experiments/jnd/jnd.js~jnd#graph_type",1078 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-graph_type",1079 "scripts/experiments/jnd/jnd.js~JND#graph_type",1080 "member"1081 ],1082 [1083 "scripts/experiments/jnd/jnd.js~jnd#handle_data_saving",1084 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-method-handle_data_saving",1085 "scripts/experiments/jnd/jnd.js~JND#handle_data_saving",1086 "method"1087 ],1088 [1089 "scripts/experiments/jnd/jnd.js~jnd#initialize_adjusted_statistic",1090 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-method-initialize_adjusted_statistic",1091 "scripts/experiments/jnd/jnd.js~JND#initialize_adjusted_statistic",1092 "method"1093 ],1094 [1095 "scripts/experiments/jnd/jnd.js~jnd#is_converged_in_window",1096 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-method-is_converged_in_window",1097 "scripts/experiments/jnd/jnd.js~JND#is_converged_in_window",1098 "method"1099 ],1100 [1101 "scripts/experiments/jnd/jnd.js~jnd#left_coordinates",1102 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-left_coordinates",1103 "scripts/experiments/jnd/jnd.js~JND#left_coordinates",1104 "member"1105 ],1106 [1107 "scripts/experiments/jnd/jnd.js~jnd#practice_conditions_constants",1108 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-practice_conditions_constants",1109 "scripts/experiments/jnd/jnd.js~JND#practice_conditions_constants",1110 "member"1111 ],1112 [1113 "scripts/experiments/jnd/jnd.js~jnd#prepare_experiment",1114 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-method-prepare_experiment",1115 "scripts/experiments/jnd/jnd.js~JND#prepare_experiment",1116 "method"1117 ],1118 [1119 "scripts/experiments/jnd/jnd.js~jnd#prepare_practice",1120 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-method-prepare_practice",1121 "scripts/experiments/jnd/jnd.js~JND#prepare_practice",1122 "method"1123 ],1124 [1125 "scripts/experiments/jnd/jnd.js~jnd#raw_constants",1126 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-raw_constants",1127 "scripts/experiments/jnd/jnd.js~JND#raw_constants",1128 "member"1129 ],1130 [1131 "scripts/experiments/jnd/jnd.js~jnd#right_coordinates",1132 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-right_coordinates",1133 "scripts/experiments/jnd/jnd.js~JND#right_coordinates",1134 "member"1135 ],1136 [1137 "scripts/experiments/jnd/jnd.js~jnd#sub_condition_order",1138 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-sub_condition_order",1139 "scripts/experiments/jnd/jnd.js~JND#sub_condition_order",1140 "member"1141 ],1142 [1143 "scripts/experiments/jnd/jnd.js~jnd#sub_conditions_constants",1144 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-sub_conditions_constants",1145 "scripts/experiments/jnd/jnd.js~JND#sub_conditions_constants",1146 "member"1147 ],1148 [1149 "scripts/experiments/jnd/jnd.js~jnd#subject_id",1150 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-subject_id",1151 "scripts/experiments/jnd/jnd.js~JND#subject_id",1152 "member"1153 ],1154 [1155 "scripts/experiments/jnd/jnd.js~jnd#subject_initials",1156 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-subject_initials",1157 "scripts/experiments/jnd/jnd.js~JND#subject_initials",1158 "member"1159 ],1160 [1161 "scripts/experiments/jnd/jnd.js~jnd#trial_data",1162 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-trial_data",1163 "scripts/experiments/jnd/jnd.js~JND#trial_data",1164 "member"1165 ],1166 [1167 "scripts/experiments/jnd/jnd.js~jnd#trial_structure",1168 "class/scripts/experiments/jnd/jnd.js~JND.html#instance-member-trial_structure",1169 "scripts/experiments/jnd/jnd.js~JND#trial_structure",1170 "member"1171 ],1172 [1173 "scripts/experiments/jnd/jnd_timeline.js",1174 "file/scripts/experiments/jnd/jnd_timeline.js.html",1175 "scripts/experiments/jnd/jnd_timeline.js",1176 "file"1177 ],1178 [1179 "scripts/experiments/jnd_radius/jnd_radius.js",1180 "file/scripts/experiments/jnd_radius/jnd_radius.js.html",1181 "scripts/experiments/jnd_radius/jnd_radius.js",1182 "file"1183 ],1184 [1185 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#convergence_threshold",1186 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-CONVERGENCE_THRESHOLD",1187 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#CONVERGENCE_THRESHOLD",1188 "member"1189 ],1190 [1191 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#incorrect_multiplier",1192 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-INCORRECT_MULTIPLIER",1193 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#INCORRECT_MULTIPLIER",1194 "member"1195 ],1196 [1197 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#max_radius",1198 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-MAX_RADIUS",1199 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#MAX_RADIUS",1200 "member"1201 ],1202 [1203 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#max_trials",1204 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-MAX_TRIALS",1205 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#MAX_TRIALS",1206 "member"1207 ],1208 [1209 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#min_radius",1210 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-MIN_RADIUS",1211 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#MIN_RADIUS",1212 "member"1213 ],1214 [1215 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#min_trials",1216 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-MIN_TRIALS",1217 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#MIN_TRIALS",1218 "member"1219 ],1220 [1221 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#pixels_per_cm",1222 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-PIXELS_PER_CM",1223 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#PIXELS_PER_CM",1224 "member"1225 ],1226 [1227 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#window_interval",1228 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-WINDOW_INTERVAL",1229 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#WINDOW_INTERVAL",1230 "member"1231 ],1232 [1233 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#window_size",1234 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-WINDOW_SIZE",1235 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#WINDOW_SIZE",1236 "member"1237 ],1238 [1239 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#adjusted_quantity_matrix",1240 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-adjusted_quantity_matrix",1241 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#adjusted_quantity_matrix",1242 "member"1243 ],1244 [1245 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#balancing_type",1246 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-balancing_type",1247 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#balancing_type",1248 "member"1249 ],1250 [1251 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#calculate_adjusted_radius",1252 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-method-calculate_adjusted_radius",1253 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#calculate_adjusted_radius",1254 "method"1255 ],1256 [1257 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#check_response",1258 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-method-check_response",1259 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#check_response",1260 "method"1261 ],1262 [1263 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#condition_name",1264 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-condition_name",1265 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#condition_name",1266 "member"1267 ],1268 [1269 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#constructor",1270 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-constructor-constructor",1271 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#constructor",1272 "method"1273 ],1274 [1275 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#current_sub_condition_index",1276 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-current_sub_condition_index",1277 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#current_sub_condition_index",1278 "member"1279 ],1280 [1281 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#end_sub_condition",1282 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-method-end_sub_condition",1283 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#end_sub_condition",1284 "method"1285 ],1286 [1287 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#export_summary_data",1288 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-method-export_summary_data",1289 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#export_summary_data",1290 "method"1291 ],1292 [1293 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#export_trial_data",1294 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-method-export_trial_data",1295 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#export_trial_data",1296 "method"1297 ],1298 [1299 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#first_trial_of_sub_condition",1300 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-first_trial_of_sub_condition",1301 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#first_trial_of_sub_condition",1302 "member"1303 ],1304 [1305 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#generate_trial",1306 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-method-generate_trial",1307 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#generate_trial",1308 "method"1309 ],1310 [1311 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#get_next_adjusted_statistic",1312 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-method-get_next_adjusted_statistic",1313 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#get_next_adjusted_statistic",1314 "method"1315 ],1316 [1317 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#graph_type",1318 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-graph_type",1319 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#graph_type",1320 "member"1321 ],1322 [1323 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#handle_data_saving",1324 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-method-handle_data_saving",1325 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#handle_data_saving",1326 "method"1327 ],1328 [1329 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#initialize_adjusted_statistic",1330 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-method-initialize_adjusted_statistic",1331 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#initialize_adjusted_statistic",1332 "method"1333 ],1334 [1335 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#is_converged_in_window",1336 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-method-is_converged_in_window",1337 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#is_converged_in_window",1338 "method"1339 ],1340 [1341 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#left_radius",1342 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-left_radius",1343 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#left_radius",1344 "member"1345 ],1346 [1347 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#prepare_experiment",1348 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-method-prepare_experiment",1349 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#prepare_experiment",1350 "method"1351 ],1352 [1353 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#raw_constants",1354 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-raw_constants",1355 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#raw_constants",1356 "member"1357 ],1358 [1359 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#right_radius",1360 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-right_radius",1361 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#right_radius",1362 "member"1363 ],1364 [1365 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#sub_condition_order",1366 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-sub_condition_order",1367 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#sub_condition_order",1368 "member"1369 ],1370 [1371 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#sub_conditions_constants",1372 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-sub_conditions_constants",1373 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#sub_conditions_constants",1374 "member"1375 ],1376 [1377 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#subject_id",1378 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-subject_id",1379 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#subject_id",1380 "member"1381 ],1382 [1383 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#subject_initials",1384 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-subject_initials",1385 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#subject_initials",1386 "member"1387 ],1388 [1389 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#trial_data",1390 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-trial_data",1391 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#trial_data",1392 "member"1393 ],1394 [1395 "scripts/experiments/jnd_radius/jnd_radius.js~jnd_radius#trial_structure",1396 "class/scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius.html#instance-member-trial_structure",1397 "scripts/experiments/jnd_radius/jnd_radius.js~JND_Radius#trial_structure",1398 "member"1399 ],1400 [1401 "scripts/experiments/jnd_radius/jnd_radius_timeline.js",1402 "file/scripts/experiments/jnd_radius/jnd_radius_timeline.js.html",1403 "scripts/experiments/jnd_radius/jnd_radius_timeline.js",1404 "file"1405 ],1406 [1407 "scripts/experiments/stevens/stevens.js",1408 "file/scripts/experiments/stevens/stevens.js.html",1409 "scripts/experiments/stevens/stevens.js",1410 "file"1411 ],1412 [1413 "scripts/experiments/stevens/stevens.js~stevens#max_step_interval",1414 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-MAX_STEP_INTERVAL",1415 "scripts/experiments/stevens/stevens.js~Stevens#MAX_STEP_INTERVAL",1416 "member"1417 ],1418 [1419 "scripts/experiments/stevens/stevens.js~stevens#adjusted_midpoint_matrix",1420 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-adjusted_midpoint_matrix",1421 "scripts/experiments/stevens/stevens.js~Stevens#adjusted_midpoint_matrix",1422 "member"1423 ],1424 [1425 "scripts/experiments/stevens/stevens.js~stevens#balancing_type",1426 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-balancing_type",1427 "scripts/experiments/stevens/stevens.js~Stevens#balancing_type",1428 "member"1429 ],1430 [1431 "scripts/experiments/stevens/stevens.js~stevens#calculate_exclusion_criteria",1432 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-method-calculate_exclusion_criteria",1433 "scripts/experiments/stevens/stevens.js~Stevens#calculate_exclusion_criteria",1434 "method"1435 ],1436 [1437 "scripts/experiments/stevens/stevens.js~stevens#condition_group",1438 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-condition_group",1439 "scripts/experiments/stevens/stevens.js~Stevens#condition_group",1440 "member"1441 ],1442 [1443 "scripts/experiments/stevens/stevens.js~stevens#condition_name",1444 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-condition_name",1445 "scripts/experiments/stevens/stevens.js~Stevens#condition_name",1446 "member"1447 ],1448 [1449 "scripts/experiments/stevens/stevens.js~stevens#constructor",1450 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-constructor-constructor",1451 "scripts/experiments/stevens/stevens.js~Stevens#constructor",1452 "method"1453 ],1454 [1455 "scripts/experiments/stevens/stevens.js~stevens#current_sub_condition_index",1456 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-current_sub_condition_index",1457 "scripts/experiments/stevens/stevens.js~Stevens#current_sub_condition_index",1458 "member"1459 ],1460 [1461 "scripts/experiments/stevens/stevens.js~stevens#distractor_coordinates",1462 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-distractor_coordinates",1463 "scripts/experiments/stevens/stevens.js~Stevens#distractor_coordinates",1464 "member"1465 ],1466 [1467 "scripts/experiments/stevens/stevens.js~stevens#end_practice_experiment",1468 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-method-end_practice_experiment",1469 "scripts/experiments/stevens/stevens.js~Stevens#end_practice_experiment",1470 "method"1471 ],1472 [1473 "scripts/experiments/stevens/stevens.js~stevens#end_round",1474 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-method-end_round",1475 "scripts/experiments/stevens/stevens.js~Stevens#end_round",1476 "method"1477 ],1478 [1479 "scripts/experiments/stevens/stevens.js~stevens#end_sub_condition",1480 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-method-end_sub_condition",1481 "scripts/experiments/stevens/stevens.js~Stevens#end_sub_condition",1482 "method"1483 ],1484 [1485 "scripts/experiments/stevens/stevens.js~stevens#experiment_conditions_constants",1486 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-experiment_conditions_constants",1487 "scripts/experiments/stevens/stevens.js~Stevens#experiment_conditions_constants",1488 "member"1489 ],1490 [1491 "scripts/experiments/stevens/stevens.js~stevens#export_summary_data",1492 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-method-export_summary_data",1493 "scripts/experiments/stevens/stevens.js~Stevens#export_summary_data",1494 "method"1495 ],1496 [1497 "scripts/experiments/stevens/stevens.js~stevens#export_trial_data",1498 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-method-export_trial_data",1499 "scripts/experiments/stevens/stevens.js~Stevens#export_trial_data",1500 "method"1501 ],1502 [1503 "scripts/experiments/stevens/stevens.js~stevens#generate_distractor_coordinates",1504 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-method-generate_distractor_coordinates",1505 "scripts/experiments/stevens/stevens.js~Stevens#generate_distractor_coordinates",1506 "method"1507 ],1508 [1509 "scripts/experiments/stevens/stevens.js~stevens#generate_trial",1510 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-method-generate_trial",1511 "scripts/experiments/stevens/stevens.js~Stevens#generate_trial",1512 "method"1513 ],1514 [1515 "scripts/experiments/stevens/stevens.js~stevens#get_anchoring_value",1516 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-method-get_anchoring_value",1517 "scripts/experiments/stevens/stevens.js~Stevens#get_anchoring_value",1518 "method"1519 ],1520 [1521 "scripts/experiments/stevens/stevens.js~stevens#get_estimated_mids",1522 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-method-get_estimated_mids",1523 "scripts/experiments/stevens/stevens.js~Stevens#get_estimated_mids",1524 "method"1525 ],1526 [1527 "scripts/experiments/stevens/stevens.js~stevens#get_last_trial",1528 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-method-get_last_trial",1529 "scripts/experiments/stevens/stevens.js~Stevens#get_last_trial",1530 "method"1531 ],1532 [1533 "scripts/experiments/stevens/stevens.js~stevens#get_standard_deviation",1534 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-method-get_standard_deviation",1535 "scripts/experiments/stevens/stevens.js~Stevens#get_standard_deviation",1536 "method"1537 ],1538 [1539 "scripts/experiments/stevens/stevens.js~stevens#graph_type",1540 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-graph_type",1541 "scripts/experiments/stevens/stevens.js~Stevens#graph_type",1542 "member"1543 ],1544 [1545 "scripts/experiments/stevens/stevens.js~stevens#handle_data_saving",1546 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-method-handle_data_saving",1547 "scripts/experiments/stevens/stevens.js~Stevens#handle_data_saving",1548 "method"1549 ],1550 [1551 "scripts/experiments/stevens/stevens.js~stevens#input_count_array",1552 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-input_count_array",1553 "scripts/experiments/stevens/stevens.js~Stevens#input_count_array",1554 "member"1555 ],1556 [1557 "scripts/experiments/stevens/stevens.js~stevens#left_coordinates",1558 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-left_coordinates",1559 "scripts/experiments/stevens/stevens.js~Stevens#left_coordinates",1560 "member"1561 ],1562 [1563 "scripts/experiments/stevens/stevens.js~stevens#middle_coordinates",1564 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-middle_coordinates",1565 "scripts/experiments/stevens/stevens.js~Stevens#middle_coordinates",1566 "member"1567 ],1568 [1569 "scripts/experiments/stevens/stevens.js~stevens#practice_end",1570 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-practice_end",1571 "scripts/experiments/stevens/stevens.js~Stevens#practice_end",1572 "member"1573 ],1574 [1575 "scripts/experiments/stevens/stevens.js~stevens#practice_trial_data",1576 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-practice_trial_data",1577 "scripts/experiments/stevens/stevens.js~Stevens#practice_trial_data",1578 "member"1579 ],1580 [1581 "scripts/experiments/stevens/stevens.js~stevens#prepare_experiment",1582 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-method-prepare_experiment",1583 "scripts/experiments/stevens/stevens.js~Stevens#prepare_experiment",1584 "method"1585 ],1586 [1587 "scripts/experiments/stevens/stevens.js~stevens#prepare_practice",1588 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-method-prepare_practice",1589 "scripts/experiments/stevens/stevens.js~Stevens#prepare_practice",1590 "method"1591 ],1592 [1593 "scripts/experiments/stevens/stevens.js~stevens#raw_constants",1594 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-raw_constants",1595 "scripts/experiments/stevens/stevens.js~Stevens#raw_constants",1596 "member"1597 ],1598 [1599 "scripts/experiments/stevens/stevens.js~stevens#right_coordinates",1600 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-right_coordinates",1601 "scripts/experiments/stevens/stevens.js~Stevens#right_coordinates",1602 "member"1603 ],1604 [1605 "scripts/experiments/stevens/stevens.js~stevens#round_end",1606 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-round_end",1607 "scripts/experiments/stevens/stevens.js~Stevens#round_end",1608 "member"1609 ],1610 [1611 "scripts/experiments/stevens/stevens.js~stevens#set_foundational_dataset_order",1612 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-method-set_foundational_dataset_order",1613 "scripts/experiments/stevens/stevens.js~Stevens#set_foundational_dataset_order",1614 "method"1615 ],1616 [1617 "scripts/experiments/stevens/stevens.js~stevens#sub_condition_order",1618 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-sub_condition_order",1619 "scripts/experiments/stevens/stevens.js~Stevens#sub_condition_order",1620 "member"1621 ],1622 [1623 "scripts/experiments/stevens/stevens.js~stevens#sub_conditions_constants",1624 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-sub_conditions_constants",1625 "scripts/experiments/stevens/stevens.js~Stevens#sub_conditions_constants",1626 "member"1627 ],1628 [1629 "scripts/experiments/stevens/stevens.js~stevens#subject_id",1630 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-subject_id",1631 "scripts/experiments/stevens/stevens.js~Stevens#subject_id",1632 "member"1633 ],1634 [1635 "scripts/experiments/stevens/stevens.js~stevens#subject_initials",1636 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-subject_initials",1637 "scripts/experiments/stevens/stevens.js~Stevens#subject_initials",1638 "member"1639 ],1640 [1641 "scripts/experiments/stevens/stevens.js~stevens#trial_data",1642 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-trial_data",1643 "scripts/experiments/stevens/stevens.js~Stevens#trial_data",1644 "member"1645 ],1646 [1647 "scripts/experiments/stevens/stevens.js~stevens#trial_structure",1648 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-member-trial_structure",1649 "scripts/experiments/stevens/stevens.js~Stevens#trial_structure",1650 "member"1651 ],1652 [1653 "scripts/experiments/stevens/stevens.js~stevens#update_estimated_correlation",1654 "class/scripts/experiments/stevens/stevens.js~Stevens.html#instance-method-update_estimated_correlation",1655 "scripts/experiments/stevens/stevens.js~Stevens#update_estimated_correlation",1656 "method"1657 ],1658 [1659 "scripts/experiments/stevens/stevens_timeline.js",1660 "file/scripts/experiments/stevens/stevens_timeline.js.html",1661 "scripts/experiments/stevens/stevens_timeline.js",1662 "file"1663 ],1664 [1665 "scripts/helpers/experiment_helpers.js",1666 "file/scripts/helpers/experiment_helpers.js.html",1667 "scripts/helpers/experiment_helpers.js",1668 "file"1669 ]...
jnd_timeline.js
Source: jnd_timeline.js
1import JND from "/scripts/experiments/jnd/jnd.js";2export var jnd_exp = new JND(params);3var timeline = [];4var address = location.protocol + "//" + location.hostname + ":" + location.port; 5// =========================================================6// WELCOME TRIAL BLOCK7var welcome = {8 type: 'html-keyboard-response',9 stimulus: `<div align = "center">` + `<img src="${address}/img/VCL_lab_logo.png"></img><br><br>` +10 `<b>Base:</b> JND` + '<br>' + 11 `<b>Trial Type:</b> ${jnd_exp.trial_structure}` + '<br>' + 12 `<b>Graph Type:</b> ${jnd_exp.graph_type}` + '<br>' + 13 `<b>Condition:</b> ${jnd_exp.condition_name}` + 14 '<br><br><br><p><font size = 15>Press any key to begin.<p></font>' +15 '</div>',16 data: {type: 'instruction'}17};18timeline.push(welcome);19// =========================================================20// INSTRUCTION TRIAL BLOCKS21switch(jnd_exp.graph_type){22 case "scatter":23 if (jnd_exp.condition_name === "distractor_multi" || jnd_exp.condition_name === "distractor_rainbow") {24 var instructions = {25 type: "html-keyboard-response",26 stimulus: "<div align = 'center'> <p>In this experiment, two graphs will appear side-by-side." + 27 "<br> Indicate which graph is more correlated by pressing the Z or M key. </p><p>" +28 "<div style='height: 290px; width: 700px; display: block;'>"+29 `<div style='float: left;'><img src='${address}/img/sample_multi_distractor_1.png'></img>` +30 "<p class='small'><strong>Press the Z key</strong></p></div>" +31 `<div style='float: right;'><img src='${address}/img/sample_multi_distractor_2.png'></img>` +32 "<p class='small'><strong>Press the M key</strong></p></div>" +33 "</div>" + "<div> <br><p>Press any key to continue.</p> </div>" + 34 "</div>" 35 };36 }37 else if (jnd_exp.condition_name === "distractor_ratio_pilot") {38 var instructions = {39 type: "html-keyboard-response",40 stimulus: "<div align = 'center'> <p>In this experiment, two graphs will appear side-by-side." + 41 "<br> Indicate whether the graph with <font color='BLUE'>blue</font> points is more correlated by pressing the Z or M key. </p><p>" +42 "<div style='height: 290px; width: 700px; display: block;'>"+43 `<div style='float: left;'><img src='${address}/img/sample_distractor_ratio_1.png'></img>` +44 "<p class='small'><strong>Press the Z key</strong></p></div>" +45 `<div style='float: right;'><img src='${address}/img/sample_distractor_ratio_2.png'></img>` +46 "<p class='small'><strong>Press the M key</strong></p></div>" +47 "</div>" + "<div> <br><p>Press any key to continue.</p> </div>" + 48 "</div>" 49 };50 }51 else if (jnd_exp.condition_group === "distractor" && jnd_exp.condition_name.split("_")[2] === "shades"){52 var instructions = {53 type: "html-keyboard-response",54 stimulus: "<div align = 'center'> <p>In this experiment, two graphs will appear side-by-side." + 55 "<br> Indicate which graph is more correlated by pressing the Z or M key. </p><p>" +56 "<div style='height: 290px; width: 700px; display: block;'>"+57 `<div style='float: left;'><img src='${address}/img/sample_distractor_shades_1.png'></img>` +58 "<p class='small'><strong>Press the Z key</strong></p></div>" +59 `<div style='float: right;'><img src='${address}/img/sample_distractor_shades_2.png'></img>` +60 "<p class='small'><strong>Press the M key</strong></p></div>" +61 "</div>" + "<div> <br><p>Press any key to continue.</p> </div>" + 62 "</div>" 63 };64 }65 else if (jnd_exp.condition_group === "distractor") {66 let name_split_array = jnd_exp.condition_name.split("_");67 let target = "";68 let color = "";69 let axis = "";70 if (name_split_array.length === 4){71 target = name_split_array[1];72 color = name_split_array[2];73 axis = name_split_array[3];74 } else {75 target = name_split_array[1];76 color = name_split_array[3];77 axis = name_split_array[4];78 }79 var instructions = {80 type: "html-keyboard-response",81 stimulus: `<div align = 'center'>In this experiment, two graphs will appear side-by-side. 82 <br> 83 Indicate which graph has a higher correlation of the <b>target-colored</b> ${target}s by pressing the Z or M key. 84 <br>85 Ignore any squares with a <b>distractor</b> color.86 <br>87 <br>88 <img src='${address}/img/distractors/target-distractors/${color}_${axis}.png'></img>89 <br>90 <div style='height: 43vh; display: block;'>91 <div style='float: left;'>92 <img src='${address}/img/distractors/plots/sample_distractor_${color}_1.png'></img>93 <p class='small'><strong>Press the Z key</strong></p>94 </div>95 <div style='float: right;'>96 <img src='${address}/img/distractors/plots/sample_distractor_${color}_2.png'></img>97 <p class='small'><strong>Press the M key</strong></p></div>98 </div>99 <div> 100 <br>101 <p>Press any key to continue.</p> 102 </div>103 ` 104 };105 } else {106 var instructions = {107 type: "html-keyboard-response",108 stimulus: "<div align = 'center'> <p>In this experiment, two graphs will appear side-by-side." + 109 "<br> Indicate which graph is more correlated by pressing the Z or M key. </p><p>" +110 "<div style='height: 290px; width: 700px; display: block;'>"+111 `<div style='float: left;'><img src='${address}/img/sample_scatter_1.png'></img>` +112 "<p class='small'><strong>Press the Z key</strong></p></div>" +113 `<div style='float: right;'><img src='${address}/img/sample_scatter_2.png'></img>` +114 "<p class='small'><strong>Press the M key</strong></p></div>" +115 "</div>" + "<div> <br><p>Press any key to continue.</p> </div>" + 116 "</div>" 117 };118 }119 break;120 case "strip":121 if (jnd_exp.condition_name === "line_length_strip") {122 var instructions = {123 type: "html-keyboard-response",124 stimulus: "<div align = 'center'> <p>In this experiment, two graphs will appear one on top of the other." + 125 "<br> Indicate which graph is more correlated by pressing the Z or M key. </p><p>" +126 "<strong>Press the Z key if the graph <u>above</u> is more correlated.</strong>" +127 `<div style='float: center; display: block;'><img src='${address}/img/sample_line_length_strip.png'></img></div>` +128 "<strong>Press the M key if the graph <u>below</u> is more correlated.</strong>"129 };130 } else {131 var instructions = {132 type: "html-keyboard-response",133 stimulus: "<div align = 'center'> <p>In this experiment, two graphs will appear one on top of the other." + 134 "<br> Indicate which graph is more correlated by pressing the Z or M key. </p><p>" +135 "<strong>Press the Z key if the graph <u>above</u> is more correlated.</strong>" +136 `<div style='float: center; display: block;'><img src='${address}/img/sample_jnd_strip.png'></img></div>` +137 "<strong>Press the M key if the graph <u>below</u> is more correlated.</strong>"138 };139 }140 break;141 case "ring":142 var instructions = {143 type: "html-keyboard-response",144 stimulus: "<div align = 'center'> <p>In this experiment, two graphs will appear one on top of the other." + 145 "<br> Indicate which graph is more correlated by pressing the Z or M key. </p><p>" +146 "<strong>Press the Z key if the graph <u>above</u> is more correlated.</strong>" +147 `<div style='float: center; display: block;'><img src='${address}/img/sample_jnd_ring.png'></img></div>` +148 "<strong>Press the M key if the graph <u>below</u> is more correlated.</strong>"149 };150 break; 151}152var ready = {153 type: 'html-keyboard-response',154 stimulus: "<div align = 'center'> <font size = 20><p>Ready? We will first do some practice trials. <p>" + "<br><br><p><b>Press any key to begin.</b></p></font></div>",155 data: {type: 'instruction'}156}157var instruction_trials = {158 timeline: [instructions, ready]159};160timeline.push(instruction_trials);161// =========================================================162// PRACTICE TRIAL BLOCKS163// ---------------------------------------------------------164// FEEDBACK165var feedback = {166 type: 'html-keyboard-response',167 // choices: jsPsych.NO_KEYS, //No responses will be accepted as a valid response.168 // trial_duration: 500,169 data: {type: 'feedback'},170 stimulus: function(){171 document.body.style.backgroundColor = jnd_exp.trial_data.feedback_background_color;172 var last_trial = JSON.parse(jsPsych.data.getLastTrialData().json());173 var last_trial_correct = last_trial[0]["correct"];174 // For debugging purposes:175 if (last_trial_correct == -1){176 return '<p>' + 177 '<font style="font-size:50px; color:blue">Exiting from experiment.<p></font>'178 }179 else if (last_trial_correct){180 return '<p><i class="fa fa-check-circle" style="font-size:50px; color:green; margin-right: 10px;"></i>' + 181 '<font style="font-size:50px; color:green">Correct!<p></font>'182 }183 else{184 return '<p><i class="fa fa-close" style="font-size:50px; color:red; margin-right: 10px;"></i>' + 185 '<font style="font-size:50px; color:red;"">Incorrect!<p></font>'186 }187 }188};189// ---------------------------------------------------------190// PRACTICE TIMELINE191var practice_jnd = jnd_exp.generate_trial("practice");192var practice = {193 timeline: [practice_jnd, feedback], // We use same feedback block as that used in practice 194 loop_function: function(data){ // Return true if timeline should continue195 // Return false if timeline should end196 // Flag is always true for each trial since we display one trial for 197 // each condition on the practice 198 jnd_exp.first_trial_of_sub_condition = true;199 // For debugging, if you want to exit out of experiment, press q:200 if (jsPsych.pluginAPI.convertKeyCharacterToKeyCode('q') == data.values()[0].key_press){201 // Turn flag on 202 jnd_exp.first_trial_of_sub_condition = true;203 return false;204 }205 // If there are still more practice conditions, increment current index206 if (jnd_exp.current_practice_condition_index < (jnd_exp.practice_conditions_constants.length-1)){207 jnd_exp.current_practice_condition_index++; 208 console.log("!!!!!!!!!! Moved to new practice condition at index " 209 + jnd_exp.current_practice_condition_index);210 return true; 211 }212 // Else end experiment213 else{214 // Turn flag on 215 jnd_exp.first_trial_of_sub_condition = true;216 return false;217 }218 }219};220timeline.push(practice);221// ---------------------------------------------------------222// STOP BLOCK223var stop = {224 type: 'html-keyboard-response',225 stimulus: "<div align = 'center'> <font size = 20><p>This concludes the practice trials.<p>" + "<br><br><p><b>Any questions?</b></p></font></div>",226 data: {type: 'instruction'},227 on_start: function(stop){228 // Reset background color to feedback229 document.body.style.backgroundColor = jnd_exp.trial_data.feedback_background_color;230 }231}232var ready_experiment = {233 type: 'html-keyboard-response',234 stimulus: "<div align = 'center'> <font size = 20><p>Ready?<p>" + "<br><br><p><b>Press any key to begin.</b></p></font></div>",235 data: {type: 'instruction'}236}237var stop_trials = {238 timeline: [stop, ready_experiment]239};240timeline.push(stop_trials);241// =========================================================242// EXPERIMENT TRIAL BLOCKS243var trial = jnd_exp.generate_trial("test");244var experiment = {245 timeline: [trial, feedback], // We use same feedback block as that used in practice 246 loop_function: function(data){ // Return true if timeline should continue247 // Return false if timeline should end248 // For debugging, if you want to exit out of experiment, press q:249 if (jsPsych.pluginAPI.convertKeyCharacterToKeyCode('q') == data.values()[0].key_press){250 return false;251 }252 // If subcondition should end:253 if(jnd_exp.end_sub_condition()){254 jnd_exp.first_trial_of_sub_condition = true;255 // If there are still more subconditions, increment current index256 if (jnd_exp.current_sub_condition_index < (jnd_exp.sub_conditions_constants.length-1)){257 jnd_exp.current_sub_condition_index++; 258 console.log("!!!!!!!!!! Moved to new sub condition at index " 259 + jnd_exp.current_sub_condition_index);260 return true; 261 }262 // Else end experiment263 else{264 return false;265 }266 } 267 // Else continue w/ current subcondition:268 else {269 return true;270 }271 },272 on_finish: function(data){273 jnd_exp.trial_data = data; 274 }275};276timeline.push(experiment);277console.log("======================");278// =========================================================279// DATA DOWNLOADING 280var experiment_end = {281 type: 'html-keyboard-response',282 stimulus: '<div align = "center">' + 283 '<p><font size = 10>You have completed the experiment!<p></font>' +284 '<br>' +285 'Trial and summary data files will now automatically download locally.' + 286 '</div>' ,287 on_start: function(){288 jnd_exp.export_trial_data();289 jnd_exp.export_summary_data();290 291 // Reset background color to feedback292 document.body.style.backgroundColor = jnd_exp.trial_data.feedback_background_color;293 }294};295timeline.push(experiment_end);296// =========================================================297// START JSPSYCH298jsPsych.init({299 timeline: timeline,300 on_finish: function(){ 301 jsPsych.data.displayData();302 }...
jnd_radius_timeline.js
Source: jnd_radius_timeline.js
1import JND_Radius from "/scripts/experiments/jnd_radius/jnd_radius.js";2export var jnd_radius_exp = new JND_Radius(params);3var timeline = [];4var address = location.protocol + "//" + location.hostname + ":" + location.port; 5// Firefox check for formatting6if (typeof InstallTrigger !== 'undefined') {7 var isFirefox = true;8} else {9 var isFirefox = false;10}11// =========================================================12// WELCOME TRIAL BLOCK13let shape_names = jnd_radius_exp.condition_name.split("_");14var welcome = {15 type: 'html-keyboard-response',16 stimulus: `<div align = "center" style="margin-top: ${isFirefox ? "25vh" : "0"}">` + `<img src="${address}/img/VCL_lab_logo.png"></img><br><br>` +17 `<b>Base:</b> ${jnd_radius_exp.constructor.name}` + '<br>' + 18 `<b>Trial Type:</b> ${jnd_radius_exp.trial_structure}` + '<br>' + 19 `<b>Condition:</b> ${shape_names[0]}, ${shape_names[1]}` + 20 '<br><br><br><p><font size = 15>Press any key to begin.<p></font>' +21 '</div>',22 data: {type: 'instruction'}23};24timeline.push(welcome);25// =========================================================26// INSTRUCTION TRIAL BLOCKS27var instructions = {28 type: "html-keyboard-response",29 stimulus: 30 `31 <div align = 'center' style = 'margin-top: ${isFirefox ? "35vh" : "0"}; height: 35vh; display: block'>32 <p>In this experiment, two shapes will appear side-by-side.33 <br>34 Indicate which graph is has a <b>greater area</b> by pressing the Z or M key. </p><p>35 <div style='height: auto;'>36 <div style='float: left;'>37 <img src="${address}/img/sample_${shape_names[0]}.png"></img> 38 <p class='small'><strong>Press the Z key</strong></p>39 </div>40 <div style='float: right;'>41 <img src="${address}/img/sample_${shape_names[1]}.png"></img>42 <p class='small'><strong>Press the M key</strong></p>43 </div>44 </div>45 </div> 46 <br>47 <div style='text-align: center; display: block'><br><br><br><p>Press any key to continue.</div>48 ` 49};50timeline.push(instructions);51// =========================================================52// FEEDBACK53var feedback = {54 type: 'html-keyboard-response',55 choices: jsPsych.NO_KEYS, //No responses will be accepted as a valid response.56 trial_duration: 500,57 data: {type: 'feedback'},58 stimulus: function(){59 document.body.style.backgroundColor = jnd_radius_exp.trial_data.feedback_background_color;60 var last_trial = JSON.parse(jsPsych.data.getLastTrialData().json());61 var last_trial_correct = last_trial[0]["correct"];62 // For debugging purposes:63 if (last_trial_correct == -1){64 return '<p>' + 65 `<div style = "margin-top: ${isFirefox ? "45vh" : "0"};"><font style="font-size:50px; color:blue">Exiting from experiment.<p></font></div>`66 }67 else if (last_trial_correct){68 return `<p><div style = "margin-top: ${isFirefox ? "45vh" : "0"};"><i class="fa fa-check-circle" style="font-size:50px; color:green; margin-right: 10px;"></i>` + 69 '<font style="font-size:50px; color:green">Correct!<p></font></div>'70 }71 else{72 return `<p><div style = "margin-top: ${isFirefox ? "45vh" : "0"};"><i class="fa fa-close" style="font-size:50px; color:red; margin-right: 10px;"></i>` + 73 '<font style="font-size:50px; color:red;"">Incorrect!<p></font></div>'74 }75 }76};77// =========================================================78// EXPERIMENT TRIAL BLOCKS79var trial = jnd_radius_exp.generate_trial("test");80var experiment = {81 timeline: [trial, feedback], // We use same feedback block as that used in practice 82 loop_function: function(data){ // Return true if timeline should continue83 // Return false if timeline should end84 // For debugging, if you want to exit out of experiment, press q:85 if (jsPsych.pluginAPI.convertKeyCharacterToKeyCode('q') == data.values()[0].key_press){86 return false;87 }88 // If subcondition should end:89 if(jnd_radius_exp.end_sub_condition()){90 jnd_radius_exp.first_trial_of_sub_condition = true;91 // If there are still more subconditions, increment current index92 if (jnd_radius_exp.current_sub_condition_index < (jnd_radius_exp.sub_conditions_constants.length-1)){93 jnd_radius_exp.current_sub_condition_index++; 94 console.log("!!!!!!!!!! Moved to new sub condition at index " 95 + jnd_radius_exp.current_sub_condition_index);96 return true; 97 }98 // Else end experiment99 else{100 return false;101 }102 } 103 // Else continue w/ current subcondition:104 else {105 return true;106 }107 },108 on_finish: function(data){109 jnd_radius_exp.trial_data = data; 110 }111};112timeline.push(experiment);113console.log("======================");114// =========================================================115// DATA DOWNLOADING 116var experiment_end = {117 type: 'html-keyboard-response',118 stimulus: `<div align = "center" style = "margin-top: ${isFirefox ? "45vh" : "0"};">` + 119 '<p><font size = 10>You have completed the experiment!<p></font>' +120 '<br>' +121 'Trial and summary data files will now automatically download locally.' + 122 '</div>' ,123 on_start: function(){124 jnd_radius_exp.export_trial_data();125 jnd_radius_exp.export_summary_data();126 // Reset background color to feedback127 document.body.style.backgroundColor = jnd_radius_exp.trial_data.feedback_background_color;128 }129};130timeline.push(experiment_end);131// =========================================================132// START JSPSYCH133jsPsych.init({134 timeline: timeline,135 on_finish: function(){ 136 jsPsych.data.displayData();137 }...
edit_tms_fieldnames.js
Source: edit_tms_fieldnames.js
1// ==UserScript==2// @name Add links to table3// @run-at document-start4// @include http://lms.primelog.com/*5// @include https://uat.primelog.com/*6// @include http://*.primelog.com/*7// @include https://*.primelog.com/*8// @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js9// @require https://gist.github.com/raw/2625891/waitForKeyElements.js10// ==/UserScript==11/* globals jQuery, $, waitForKeyElements */12/* eslint-disable no-multi-spaces */13// ==UserScript==14(function() {15 'use strict';16function EditInnerHtml (jNode, varName) {17 jNode.context.innerHTML = varName;18}19 function EditInnerHtmlAndAttribute (jNode, elemName, newValue)20 {21 jNode.context.innerHTML = newValue;22 jNode.value = newValue;23 var ele = document.querySelector(elemName);24 ele.value = newValue;25 }26var LoadReference;27// Sök vyn - Files28// Byt namn på fälten29 var fieldName1 = "Main reference: (Load/TS)";30 var fieldName2 = "Load carrier reference:";31 var fieldName3 = "Carrier name:";32 var fieldName4 = "Load list type:";33 var fieldName5 = "Metadata:";34 var fieldName6 = "Departure name:";35 var fieldName7 = "ETD date from:";36 var fieldName8 = "ETD date to:";37waitForKeyElements ("body > form > table > tbody > tr > td > table > tbody > tr:nth-child(1) > td:nth-child(1) > label", jNd => {EditInnerHtml (jNd, fieldName1); }, true);38waitForKeyElements ("body > form > table > tbody > tr > td > table > tbody > tr:nth-child(2) > td:nth-child(1) > label", jNd => {EditInnerHtml (jNd, fieldName2); }, true);39waitForKeyElements ("body > form > table > tbody > tr > td > table > tbody > tr:nth-child(3) > td:nth-child(1) > label", jNd => {EditInnerHtml (jNd, fieldName3); }, true);40waitForKeyElements ("body > form > table > tbody > tr > td > table > tbody > tr:nth-child(4) > td:nth-child(1) > label", jNd => {EditInnerHtml (jNd, fieldName4); }, true);41waitForKeyElements ("body > form > table > tbody > tr > td > table > tbody > tr:nth-child(5) > td:nth-child(1) > label", jNd => {EditInnerHtml (jNd, fieldName5); }, true);42waitForKeyElements ("body > form > table > tbody > tr > td > table > tbody > tr:nth-child(6) > td:nth-child(1) > label", jNd => {EditInnerHtml (jNd, fieldName6); }, true);43waitForKeyElements ("body > form > table > tbody > tr > td > table > tbody > tr:nth-child(7) > td:nth-child(1) > label", jNd => {EditInnerHtml (jNd, fieldName7); }, true);44waitForKeyElements ("body > form > table > tbody > tr > td > table > tbody > tr:nth-child(8) > td:nth-child(1) > label", jNd => {EditInnerHtml (jNd, fieldName8); }, true);45//Dropdown menu - "Type"46waitForKeyElements ("body > form > table > tbody > tr > td > table > tbody > tr:nth-child(4) > td:nth-child(2) > select > option:nth-child(2)", jNd => {EditInnerHtmlAndAttribute (jNd,"body > form > table > tbody > tr > td > table > tbody > tr:nth-child(4) > td:nth-child(2) > select > option:nth-child(2)", "LOADLIST_ALL_TS"); }, true);47waitForKeyElements ("body > form > table > tbody > tr > td > table > tbody > tr:nth-child(4) > td:nth-child(2) > select > option:nth-child(3)", jNd => {EditInnerHtmlAndAttribute (jNd,"body > form > table > tbody > tr > td > table > tbody > tr:nth-child(4) > td:nth-child(2) > select > option:nth-child(3)", "LOADLIST_SINGLE_TS"); }, true);48waitForKeyElements ("body > form > table > tbody > tr > td > table > tbody > tr:nth-child(4) > td:nth-child(2) > select > option:nth-child(4)", jNd => {EditInnerHtmlAndAttribute (jNd,"body > form > table > tbody > tr > td > table > tbody > tr:nth-child(4) > td:nth-child(2) > select > option:nth-child(4)", "N/A"); }, true);49// Resultatvyn, byt namn på kolumnerna50 var fieldNotInUse = "Not in use";51waitForKeyElements ("#table > thead > tr > th:nth-child(1)", jNd => {EditInnerHtml (jNd, "Load list type"); }, true);52waitForKeyElements ("#table > thead > tr > th:nth-child(2)", jNd => {EditInnerHtml (jNd, "Main reference (TS/Load)"); }, true);53waitForKeyElements ("#table > thead > tr > th:nth-child(3)", jNd => {EditInnerHtml (jNd, "Carrier name"); }, true);54waitForKeyElements ("#table > thead > tr > th:nth-child(4)", jNd => {EditInnerHtml (jNd, "Metadata"); }, true);55waitForKeyElements ("#table > thead > tr > th:nth-child(5)", jNd => {EditInnerHtml (jNd, "File name"); }, true);56waitForKeyElements ("#table > thead > tr > th:nth-child(6)", jNd => {EditInnerHtml (jNd, "Load carrier reference"); }, true);57waitForKeyElements ("#table > thead > tr > th:nth-child(7)", jNd => {EditInnerHtml (jNd, "Estimated time of departure"); }, true);58waitForKeyElements ("#table > thead > tr > th:nth-child(8)", jNd => {EditInnerHtml (jNd, fieldNotInUse); }, true);59waitForKeyElements ("#table > thead > tr > th:nth-child(9)", jNd => {EditInnerHtml (jNd, fieldNotInUse); }, true);60waitForKeyElements ("#table > thead > tr > th:nth-child(10)", jNd => {EditInnerHtml (jNd, fieldNotInUse); }, true);...
jnd.connect.google.calendar.service.js
1/**2 * @fileoverview file controllerìì ì¬ì©ê°ë¥íëë¡ file data convert3 */4(function() {5 'use strict';6 angular7 .module('jandiApp')8 .service('JndConnectGoogleCalendar', JndConnectGoogleCalendar);9 /* @ngInject */10 function JndConnectGoogleCalendar($http, $filter, configuration) {11 var that = this;12 var translate = $filter('translate');13 var minuteList = [14 {text: translate('@jnd-connect-43'), value: '0s'},15 {text: translate('@jnd-connect-44'), value: '1m'},16 {text: translate('@jnd-connect-45'), value: '5m'},17 {text: translate('@jnd-connect-46'), value: '10m'},18 {text: translate('@jnd-connect-47'), value: '15m'},19 {text: translate('@jnd-connect-48'), value: '30m'},20 {text: translate('@jnd-connect-49'), value: '1h'},21 {text: translate('@jnd-connect-50'), value: '2h'},22 {text: translate('@jnd-connect-51'), value: '4h'},23 {text: translate('@jnd-connect-52'), value: '1d'}24 ];25 var hourList = [26 {text: translate('@jnd-connect-58'), value: 24},27 {text: translate('@jnd-connect-59'), value: 1},28 {text: translate('@jnd-connect-60'), value: 2},29 {text: translate('@jnd-connect-61'), value: 3},30 {text: translate('@jnd-connect-62'), value: 4},31 {text: translate('@jnd-connect-63'), value: 5},32 {text: translate('@jnd-connect-64'), value: 6},33 {text: translate('@jnd-connect-65'), value: 7},34 {text: translate('@jnd-connect-66'), value: 8},35 {text: translate('@jnd-connect-67'), value: 9},36 {text: translate('@jnd-connect-68'), value: 10},37 {text: translate('@jnd-connect-69'), value: 11},38 {text: translate('@jnd-connect-70'), value: 12},39 {text: translate('@jnd-connect-71'), value: 13},40 {text: translate('@jnd-connect-72'), value: 14},41 {text: translate('@jnd-connect-73'), value: 15},42 {text: translate('@jnd-connect-74'), value: 16},43 {text: translate('@jnd-connect-75'), value: 17},44 {text: translate('@jnd-connect-76'), value: 18},45 {text: translate('@jnd-connect-77'), value: 19},46 {text: translate('@jnd-connect-78'), value: 20},47 {text: translate('@jnd-connect-79'), value: 21},48 {text: translate('@jnd-connect-80'), value: 22},49 {text: translate('@jnd-connect-81'), value: 23}50 ];51 var dateList = [52 {text: translate('@jnd-connect-55'), value: '0d'},53 {text: translate('@jnd-connect-56'), value: '1d'},54 {text: translate('@jnd-connect-57'), value: '2d'}55 ];56 var dayList = [57 {text: translate('@jnd-connect-90'), value: 'MO'},58 {text: translate('@jnd-connect-91'), value: 'TU'},59 {text: translate('@jnd-connect-92'), value: 'WE'},60 {text: translate('@jnd-connect-93'), value: 'TH'},61 {text: translate('@jnd-connect-94'), value: 'FR'},62 {text: translate('@jnd-connect-95'), value: 'SA'},63 {text: translate('@jnd-connect-96'), value: 'SU'}64 ];65 _init();66 /**67 * init68 * @private69 */70 function _init() {71 that.getCalendarList = getCalendarList;72 that.getMinuteList = getMinuteList;73 that.getHourList = getHourList;74 that.getDateList = getDateList;75 that.getDayList = getDayList;76 }77 /**78 * http://wiki.tosslab.com/pages/viewpage.action?pageId=724200179 * ë±ë¡ë ìºë¦°ë 리ì¤í¸ë¥¼ ë°íí¨80 * @returns {*}81 */82 function getCalendarList() {83 return $http({84 method: 'GET',85 url: configuration.api_connect_address + 'authentication/googleCalendar/calendarList'86 });87 }88 /**89 * get minute list90 * @returns {Array.<*>}91 */92 function getMinuteList() {93 return minuteList.slice(0);94 }95 /**96 * get hour list97 * @returns {Array.<*>}98 */99 function getHourList() {100 return hourList.slice(0);101 }102 /**103 * get date list104 * @returns {Array.<*>}105 */106 function getDateList() {107 return dateList.slice(0);108 }109 /**110 * get day list111 * @returns {Array.<*>}112 */113 function getDayList() {114 return dayList.slice(0);115 }116 }...
app.js
Source: app.js
1// --- LOADING MODULES2var express = require('express');3var body_parser = require('body-parser');4// --- INSTANTIATE THE APP5var app = express();6// Configure body-parser for express7app.use(body_parser.urlencoded({extended:false}));8app.use(body_parser.json());9// --- STATIC MIDDLEWARE 10app.use(express.static(__dirname + '/public'));11app.use('/jspsych', express.static(__dirname + "/jspsych"));12// --- VIEW LOCATION, SET UP SERVING STATIC HTML13app.set('views', __dirname + '/public/views');14app.engine('html', require('ejs').renderFile);15app.set('view engine', 'html');16// --- ROUTING17// Home page18app.get('/', function(request, response) {19 response.render('index.html');20});21// Experiment Routing22app.get('/experiment/:experiment/graph_type/:graph_type/trial_structure/:trial_structure/condition/:condition/balancing/:balancing/subject_id/:subject_id/subject_initials/:subject_initials', function(request, response) {23 24 console.log(request.params);25 let keys = {26 trial_structure: request.params.trial_structure,27 condition: request.params.condition, 28 graph_type: request.params.graph_type,29 balancing: request.params.balancing,30 subject_id: request.params.subject_id,31 subject_initials: request.params.subject_initials32 };33 if (request.params.experiment === "jnd") {34 response.render('jnd/jnd_experiment.html', keys);35 } else if (request.params.experiment === "stevens") {36 response.render('stevens/stevens_experiment.html', keys);37 } else if (request.params.experiment === "jnd_radius") {38 response.render('jnd_radius/jnd_radius_experiment.html', keys);39 } else if (request.params.experiment === "estimation") {40 response.render('estimation/estimation_experiment.html', keys);41 }42});43// JND Trial Display44app.get('/jnd_trial', function(request, response) {45 response.render('jnd/jnd_trial_display.html');46});47// JND Radius Display48app.get('/jnd_radius_trial', function(request, response) {49 response.render('jnd_radius/jnd_radius_trial_display.html');50});51// Stevens Trial Display52app.get('/stevens_trial', function(request, response) {53 response.render('stevens/stevens_trial_display.html');54});55// Estimation Trial Display56app.get('/estimation_trial', function(request, response) {57 response.render('estimation/estimation_trial_display.html');58});59// --- START THE SERVER 60var server = app.listen(8080, function(){61 console.log("Listening on port %d", server.address().port);...
DevLUT.js
Source: DevLUT.js
1// convert 20 experimental just noticeable tension increments (21 steps) to new Arduino LUT2var jndx = [2,9,13,16,19,22,25,28,31,34,37,41,44,48,52,57,62,67,74,82,90];3var n = jndx.length - 1;4var base = jndx[0];5function tweak(value) {6 return value - base;7}8var jnd = jndx.map(tweak);9//return jnd.toString();10var step = [0x7F]; // warn Arduino of LUT load11step[1] = $prop('Settings.LeftOffset');12step[2] = $prop('Settings.RightOffset');13var m = ($prop('Settings.tmax') - base) / jnd[n]; // max tension rescale factor14// Bresenham thru jnd increments to steps15step[17] = Math.round(m * jnd[n]); // rescale last step16var l = 0;17for (i = 3; i < 17; i++) {18 l += n;19 var j = l / 15; // location in jnd[] corresponding to step[i]20 var a = Math.floor(j); // linear interpolation: index into jnd[]21 var b = jnd[a + 1] - jnd[a]; // servo steps22 var f = j - a; // jnd[] fraction23 step[i] = Math.round(m * (jnd[a] + f * b));24}25//return step[3] // goes to LUT[1] (Lut[0] == 0)26//return step.toString();27var l = 16; // most slack control indices28var r = 32;29if ($prop('Settings.max_test')) {30 l += 15; // most tense control indices31 r += 15;32}33step[18] = l;34step[19] = r;35// send calibration table, then 0x7F (reset), then update servo positions36//return String.fromCharCode(0)+step.toString()+'!'+sl+sr; // Arduino would have to parse ASCII37var str = String.fromCharCode.apply(null,step);38//return str.length; // 2139// send servo step LUT, then left and right servo position indices using that LUT...
JNDLUT.js
Source: JNDLUT.js
1// adjust servo movement range and steps2// 20 experimental just noticeable tension increments (21 steps)3var jndx = [2,9,13,16,19,22,25,28,31,34,37,41,44,48,52,57,62,67,74,82,90];4var n = jndx.length - 1;5var base = jndx[0];6function tweak(value) {7 return value - base;8}9var jnd = jndx.map(tweak);10//return jnd.toString();11var step = [0]; // warn Arduino of LUT load12step[1] = $prop('Settings.LeftOffset');13step[2] = $prop('Settings.RightOffset');14var m = ($prop('Settings.tmax') - base) / jnd[n]; // max tension rescale factor15// Bresenham thru jnd increments to steps16step[17] = Math.round(m * jnd[n]); // rescale last step17var l = 0;18for (i = 3; i < 17; i++) {19 l += n;20 var j = l / 15; // location in jnd[] corresponding to step[i]21 var a = Math.floor(j); // linear interpolation: index into jnd[]22 var b = jnd[a + 1] - jnd[a]; // servo steps23 var f = j - a; // jnd[] fraction24 step[i] = Math.round(m * (jnd[a] + f * b));25}26return step.toString();27var l = 16; // most slack control indices28var r = 32;29if ($prop('Settings.max_test')) {30 l += 15; // most tense control indices31 r += 15;32}33// send calibration table, then 127, then update servo positions34//return String.fromCharCode(0)+step.toString()+'!'+sl+sr; // Arduino would have to parse ASCII35var str = String.fromCharCode.apply(null,step)+String.fromCharCode(127,l,r);36// return str.length; // 2137// send servo step LUT, 127 sync, then left and right servo position indices using that LUT...
Using AI Code Generation
1const {chromium} = require('playwright');2(async () => {3 const browser = await chromium.launch();4 const context = await browser.newContext();5 const page = await context.newPage();6 await page.screenshot({ path: `example.png` });7 await browser.close();8})();9await browser.launch({headless: true});10const {chromium} = require('playwright');11(async () => {12 const browser = await chromium.launch();13 const context = await browser.newContext();14 const page = await context.newPage();15 await page.screenshot({ path: `example.png` });16 await browser.close();17})();
Using AI Code Generation
1const { chromium } = require('playwright');2(async () => {3 const browser = await chromium.launch();4 const context = await browser.newContext();5 const page = await context.newPage();6 await page.screenshot({ path: 'example.png' });7 await browser.close();8})();9const { chromium } = require('playwright');10(async () => {11 const browser = await chromium.launch();12 const context = await browser.newContext();13 const page = await context.newPage();14 await page.screenshot({ path: 'example.png' });15 await browser.close();16})();17const { chromium } = require('playwright');18(async () => {19 const browser = await chromium.launch();20 const context = await browser.newContext();21 const page = await context.newPage();22 await page.screenshot({ path: 'example.png' });23 await browser.close();24})();25const { chromium } = require('playwright');26(async () => {27 const browser = await chromium.launch();28 const context = await browser.newContext();29 const page = await context.newPage();30 await page.screenshot({ path: 'example.png' });31 await browser.close();32})();33const { chromium } = require('playwright');34(async () => {35 const browser = await chromium.launch();36 const context = await browser.newContext();37 const page = await context.newPage();38 await page.screenshot({ path: 'example.png' });39 await browser.close();40})();41const { chromium } = require('playwright');42(async () => {43 const browser = await chromium.launch();44 const context = await browser.newContext();45 const page = await context.newPage();46 await page.screenshot({ path: 'example.png' });47 await browser.close();48})();
Using AI Code Generation
1const {chromium} = require('playwright');2(async () => {3 const browser = await chromium.launch({headless: false});4 const context = await browser.newContext();5 const page = await context.newPage();6 await page.click('input[type="text"]');7 await page.fill('input[type="text"]', 'playwright');8 await page.press('input[type="text"]', 'Enter');9 await page.screenshot({ path: `example.png` });10 await browser.close();11})();
Using AI Code Generation
1const { webkit } = require('playwright');2(async () => {3 const browser = await webkit.launch();4 const context = await browser.newContext();5 const page = await context.newPage();6 await page.screenshot({ path: `example.png` });7 await browser.close();8})();
Using AI Code Generation
1const playwright = require('playwright');2(async () => {3 const browser = await playwright.chromium.launch({ headless: false });4 const context = await browser.newContext();5 const page = await context.newPage();6 await page.screenshot({ path: 'google.png' });7 await browser.close();8})();9const playwright = require('playwright');10(async () => {11 const browser = await playwright.chromium.launch({ headless: false });12 const context = await browser.newContext();13 const page = await context.newPage();14 await page.screenshot({ path: 'google.png' });15 await browser.close();16})();17const playwright = require('playwright');18(async () => {19 const browser = await playwright.chromium.launch({ headless: false });20 const context = await browser.newContext();21 const page = await context.newPage();22 await page.screenshot({ path: 'google.png' });23 await browser.close();24})();25const playwright = require('playwright');26(async () => {27 const browser = await playwright.chromium.launch({ headless: false });28 const context = await browser.newContext();29 const page = await context.newPage();30 await page.screenshot({ path: 'google.png' });31 await browser.close();32})();33const playwright = require('playwright');34(async () => {35 const browser = await playwright.chromium.launch({ headless: false });36 const context = await browser.newContext();37 const page = await context.newPage();38 await page.screenshot({ path: 'google.png' });39 await browser.close();40})();41const playwright = require('playwright');42(async () => {43 const browser = await playwright.chromium.launch({ headless: false });44 const context = await browser.newContext();45 const page = await context.newPage();
Using AI Code Generation
1const {chromium, webkit, firefox} = require('playwright');2(async () => {3 const browser = await chromium.launch();4 const context = await browser.newContext();5 const page = await context.newPage();6 await page.screenshot({ path: 'google.png' });7 await browser.close();8})();9const {chromium, webkit, firefox} = require('playwright');10(async () => {11 const browser = await chromium.launch();12 const context = await browser.newContext();13 const page = await context.newPage();14 await page.screenshot({ path: 'google.png' });15 await browser.close();16})();17throw new Error(18throw new Error(19at onClose (/playwright/node_modules/playwright/lib/server/browserType.js: 71: 15)20at Interface.helper.addEventListener (/playwright/node_modules/playwright/lib/server/browserType.js: 60: 50)21at Interface.emit (events.js: 315: 20)22at Interface.close (readline.js: 424: 8)23at Socket.onend (readline.js: 191: 10)24at Socket.emit (events.js: 315: 20)25at endReadableNT (_stream_readable.js: 1220: 12)26at processTicksAndRejections (internal/process/task_queues.js: 84: 21)27at async Launcher.launch (/playwright/node_modules/playwright/lib/server/browserType.js: 36: 61) {28at onClose (/playwright/node_modules/playwright/lib/server/browserType.js: 71: 15)29at Interface.helper.addEventListener (/playwright/node_modules/playwright/lib
Using AI Code Generation
1const playwright = require('playwright');2(async () => {3const browser = await playwright.chromium.launch({ headless: false });4const context = await browser.newContext();5const page = await context.newPage();6await page.screenshot({path: 'example.png'});7await browser.close();8})();9const playwright = require('playwright');10(async () => {11const browser = await playwright.chromium.launch({ headless: false });12const context = await browser.newContext();13const page = await context.newPage();14await page.screenshot({path: 'example.png'});15await browser.close();16})();17const playwright = require('playwright');18(async () => {19const browser = await playwright.chromium.launch({ headless: false });20const context = await browser.newContext();21const page = await context.newPage();22await page.screenshot({path: 'example.png'});23await browser.close();24})();25const playwright = require('playwright');26(async () => {27const browser = await playwright.chromium.launch({ headless: false });28const context = await browser.newContext();29const page = await context.newPage();30await page.screenshot({path: 'example.png'});31await browser.close();32})();33const playwright = require('playwright');34(async () => {35const browser = await playwright.chromium.launch({ headless: false });36const context = await browser.newContext();37const page = await context.newPage();
Using AI Code Generation
1const { jnd } = require('playwright-internal');2const fs = require('fs');3const path = require('path');4const { jnd } = require('playwright-internal');5const fs = require('fs');6const path = require('path');7const { jnd } = require('playwright-internal');8const fs = require('fs');9const path = require('path');10const { jnd } = require('playwright-internal');11const fs = require('fs');12const path = require('path');13const { jnd } = require('playwright-internal');14const fs = require('fs');15const path = require('path');16const { jnd } = require('playwright-internal');17const fs = require('fs');18const path = require('path');19const { jnd } = require('playwright-internal');20const fs = require('fs');21const path = require('path');22const { jnd } = require('playwright-internal');23const fs = require('fs');24const path = require('path');25const { jnd } = require('playwright-internal');26const fs = require('fs');27const path = require('path');28const { jnd } = require('playwright-internal');29const fs = require('fs');30const path = require('path');31const { jnd } = require('playwright-internal');32const fs = require('fs');33const path = require('path');34const { jnd } = require('playwright-internal');35const fs = require('fs');36const path = require('path');37const { jnd } = require('playwright-internal');
Using AI Code Generation
1const { jnd } = require('@playwright/test');2const { test, expect } = require('@playwright/test');3test.describe('test', () => {4 test('test', async ({ page }) => {5 const search = await page.$('input[name="q"]');6 await search.fill('Playwright');7 await page.keyboard.press('Enter');8 await page.waitForTimeout(2000);9 await page.screenshot({ path: `screenshot.png` });10 await jnd(page, 'screenshot.png');11 });12});13{14 "scripts": {15 },16 "devDependencies": {17 }18}
Using AI Code Generation
1const { chromium } = require('playwright');2const { JND } = require('playwright-internal-api');3(async () => {4 const browser = await chromium.launch();5 const page = await browser.newPage();6 const pageObject = await JND.getPage(page);7 const pageTitle = await pageObject.title();8 console.log(pageTitle);9})();10const { chromium } = require('playwright');11const { JND } = require('playwright-internal-api');12(async () => {13 const browser = await chromium.launch();14 const page = await browser.newPage();15 const pageObject = await JND.getPage(page);16 const pageTitle = await pageObject.title();17 console.log(pageTitle);18})();19const { chromium } = require('playwright');20const { JND } = require('playwright-internal-api');21(async () => {22 const browser = await chromium.launch();23 const page = await browser.newPage();24 const pageObject = await JND.getPage(page);25 const pageTitle = await pageObject.title();26 console.log(pageTitle);27})();
Jest + Playwright - Test callbacks of event-based DOM library
firefox browser does not start in playwright
Is it possible to get the selector from a locator object in playwright?
How to run a list of test suites in a single file concurrently in jest?
Running Playwright in Azure Function
firefox browser does not start in playwright
This question is quite close to a "need more focus" question. But let's try to give it some focus:
Does Playwright has access to the cPicker object on the page? Does it has access to the window object?
Yes, you can access both cPicker and the window object inside an evaluate call.
Should I trigger the events from the HTML file itself, and in the callbacks, print in the DOM the result, in some dummy-element, and then infer from that dummy element text that the callbacks fired?
Exactly, or you can assign values to a javascript variable:
const cPicker = new ColorPicker({
onClickOutside(e){
},
onInput(color){
window['color'] = color;
},
onChange(color){
window['result'] = color;
}
})
And then
it('Should call all callbacks with correct arguments', async() => {
await page.goto(`http://localhost:5000/tests/visual/basic.html`, {waitUntil:'load'})
// Wait until the next frame
await page.evaluate(() => new Promise(requestAnimationFrame))
// Act
// Assert
const result = await page.evaluate(() => window['color']);
// Check the value
})
Check out the latest blogs from LambdaTest on this topic:
Native apps are developed specifically for one platform. Hence they are fast and deliver superior performance. They can be downloaded from various app stores and are not accessible through browsers.
One of the essential parts when performing automated UI testing, whether using Selenium or another framework, is identifying the correct web elements the tests will interact with. However, if the web elements are not located correctly, you might get NoSuchElementException in Selenium. This would cause a false negative result because we won’t get to the actual functionality check. Instead, our test will fail simply because it failed to interact with the correct element.
Smartphones have changed the way humans interact with technology. Be it travel, fitness, lifestyle, video games, or even services, it’s all just a few touches away (quite literally so). We only need to look at the growing throngs of smartphone or tablet users vs. desktop users to grasp this reality.
As part of one of my consulting efforts, I worked with a mid-sized company that was looking to move toward a more agile manner of developing software. As with any shift in work style, there is some bewilderment and, for some, considerable anxiety. People are being challenged to leave their comfort zones and embrace a continuously changing, dynamic working environment. And, dare I say it, testing may be the most ‘disturbed’ of the software roles in agile development.
LambdaTest’s Playwright tutorial will give you a broader idea about the Playwright automation framework, its unique features, and use cases with examples to exceed your understanding of Playwright testing. This tutorial will give A to Z guidance, from installing the Playwright framework to some best practices and advanced concepts.
Get 100 minutes of automation test minutes FREE!!