@brainpilot/skills 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/dist/index.d.ts +6 -0
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +28 -0
  4. package/dist/index.js.map +1 -0
  5. package/package.json +35 -0
  6. package/skills/01_Meta-Skills/contribute-skill/SKILL.md +277 -0
  7. package/skills/01_Meta-Skills/contribute-skills-via-pr/SKILL.md +163 -0
  8. package/skills/01_Meta-Skills/paper-to-skill/SKILL.md +435 -0
  9. package/skills/01_Meta-Skills/paper-to-skill/references/extraction-guide.md +286 -0
  10. package/skills/01_Meta-Skills/paper-to-skill/references/skill-template.md +250 -0
  11. package/skills/01_Meta-Skills/repo-to-skill/SKILL.md +289 -0
  12. package/skills/01_Meta-Skills/share-case/SKILL.md +253 -0
  13. package/skills/01_Meta-Skills/share-usage/README.md +63 -0
  14. package/skills/01_Meta-Skills/share-usage/SKILL.md +395 -0
  15. package/skills/01_Meta-Skills/verify-skill/SKILL.md +331 -0
  16. package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/SKILL.md +194 -0
  17. package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/references/effect-sizes.md +352 -0
  18. package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/references/sample-size-guide.md +407 -0
  19. package/skills/02_Cross-Domain_Foundation/cogsci-statistics/SKILL.md +361 -0
  20. package/skills/02_Cross-Domain_Foundation/cogsci-statistics/references/common-analyses.md +517 -0
  21. package/skills/02_Cross-Domain_Foundation/cogsci-visualization/SKILL.md +292 -0
  22. package/skills/02_Cross-Domain_Foundation/cogsci-visualization/references/plot-recipes.md +709 -0
  23. package/skills/02_Cross-Domain_Foundation/research-literacy/SKILL.md +286 -0
  24. package/skills/02_Cross-Domain_Foundation/research-literacy/references/common-assumptions.md +320 -0
  25. package/skills/02_Cross-Domain_Foundation/research-literacy/references/planning-template.md +143 -0
  26. package/skills/03_Cognitive_Psychology/alternative-uses-task-designer/SKILL.md +197 -0
  27. package/skills/03_Cognitive_Psychology/alternative-uses-task-designer/references/instruction-templates.md +60 -0
  28. package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/SKILL.md +246 -0
  29. package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/references/classic-paradigms.md +435 -0
  30. package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/references/design-principles.md +256 -0
  31. package/skills/03_Cognitive_Psychology/creativity-self-efficacy-mediation/SKILL.md +270 -0
  32. package/skills/03_Cognitive_Psychology/creativity-self-efficacy-mediation/references/lavaan-templates.md +172 -0
  33. package/skills/03_Cognitive_Psychology/divergent-thinking-scoring/SKILL.md +238 -0
  34. package/skills/03_Cognitive_Psychology/divergent-thinking-scoring/references/scoring-rubric.md +143 -0
  35. package/skills/03_Cognitive_Psychology/drift-diffusion-model/SKILL.md +203 -0
  36. package/skills/03_Cognitive_Psychology/drift-diffusion-model/references/fitting-guide.md +571 -0
  37. package/skills/03_Cognitive_Psychology/drift-diffusion-model/references/model-variants.md +427 -0
  38. package/skills/03_Cognitive_Psychology/evidence-accumulation-selector/SKILL.md +310 -0
  39. package/skills/03_Cognitive_Psychology/evidence-accumulation-selector/references/ez-diffusion-formulas.md +137 -0
  40. package/skills/03_Cognitive_Psychology/signal-detection-analysis/SKILL.md +300 -0
  41. package/skills/03_Cognitive_Psychology/signal-detection-analysis/references/application-guide.md +278 -0
  42. package/skills/03_Cognitive_Psychology/signal-detection-analysis/references/sdt-formulas.md +318 -0
  43. package/skills/03_Cognitive_Psychology/visual-search-array-generator/SKILL.md +283 -0
  44. package/skills/03_Cognitive_Psychology/visual-search-array-generator/references/array-generation-parameters.yaml +111 -0
  45. package/skills/04_Psycholinguistics/reading-time-analysis/SKILL.md +301 -0
  46. package/skills/04_Psycholinguistics/reading-time-analysis/references/measure-computation-guide.md +195 -0
  47. package/skills/04_Psycholinguistics/self-paced-reading-designer/SKILL.md +257 -0
  48. package/skills/04_Psycholinguistics/self-paced-reading-designer/references/analysis-guide.md +356 -0
  49. package/skills/04_Psycholinguistics/self-paced-reading-designer/references/region-segmentation.md +266 -0
  50. package/skills/04_Psycholinguistics/sentence-stimulus-norming/SKILL.md +346 -0
  51. package/skills/04_Psycholinguistics/sentence-stimulus-norming/references/lexical-databases-guide.md +184 -0
  52. package/skills/05_EEG_ERP/eeg-paradigm-designer/SKILL.md +226 -0
  53. package/skills/05_EEG_ERP/eeg-paradigm-designer/references/component-paradigm-map.md +276 -0
  54. package/skills/05_EEG_ERP/eeg-paradigm-designer/references/timing-parameters.md +244 -0
  55. package/skills/05_EEG_ERP/eeg-preprocessing-pipeline-guide/SKILL.md +367 -0
  56. package/skills/05_EEG_ERP/eeg-preprocessing-pipeline-guide/references/parameter-lookup-tables.md +138 -0
  57. package/skills/05_EEG_ERP/erp-analysis/SKILL.md +185 -0
  58. package/skills/05_EEG_ERP/erp-analysis/references/erp-components.md +447 -0
  59. package/skills/05_EEG_ERP/erp-analysis/references/preprocessing-pipeline.md +277 -0
  60. package/skills/05_EEG_ERP/erp-analysis/references/statistical-approaches.md +351 -0
  61. package/skills/05_EEG_ERP/mne-python-guide/SKILL.md +174 -0
  62. package/skills/05_EEG_ERP/mne-python-guide/references/decoding.md +178 -0
  63. package/skills/05_EEG_ERP/mne-python-guide/references/io_formats.md +160 -0
  64. package/skills/05_EEG_ERP/mne-python-guide/references/preprocessing.md +259 -0
  65. package/skills/05_EEG_ERP/mne-python-guide/references/simulation.md +173 -0
  66. package/skills/05_EEG_ERP/mne-python-guide/references/source_localization.md +234 -0
  67. package/skills/05_EEG_ERP/mne-python-guide/references/statistics.md +196 -0
  68. package/skills/05_EEG_ERP/mne-python-guide/references/time_frequency.md +165 -0
  69. package/skills/05_EEG_ERP/mne-python-guide/references/visualization.md +175 -0
  70. package/skills/06_fMRI_Neuroimaging/brain-connectivity-modeler/SKILL.md +317 -0
  71. package/skills/06_fMRI_Neuroimaging/brain-connectivity-modeler/references/method-implementation-guide.md +116 -0
  72. package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/SKILL.md +296 -0
  73. package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/references/design-matrix-guide.md +214 -0
  74. package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/references/statistical-inference.md +288 -0
  75. package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/SKILL.md +274 -0
  76. package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/references/quality-control.md +336 -0
  77. package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/references/step-by-step-pipeline.md +380 -0
  78. package/skills/06_fMRI_Neuroimaging/fmri-task-design-guide/SKILL.md +264 -0
  79. package/skills/06_fMRI_Neuroimaging/fmri-task-design-guide/references/design-optimization-examples.md +114 -0
  80. package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/SKILL.md +273 -0
  81. package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/references/decoding-methods.md +170 -0
  82. package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/references/rsa-guide.md +266 -0
  83. package/skills/06_fMRI_Neuroimaging/pycortex-guide/SKILL.md +123 -0
  84. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/database-subjects.md +179 -0
  85. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/dataset-types.md +208 -0
  86. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/freesurfer-fmriprep.md +162 -0
  87. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/mapping-transforms.md +181 -0
  88. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/mni-utils.md +207 -0
  89. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/surface-analysis.md +219 -0
  90. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/visualization.md +251 -0
  91. package/skills/07_Computational_Modeling/act-r-model-builder/SKILL.md +297 -0
  92. package/skills/07_Computational_Modeling/act-r-model-builder/references/model-patterns.md +197 -0
  93. package/skills/07_Computational_Modeling/act-r-model-builder/references/parameter-table.yaml +204 -0
  94. package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/SKILL.md +294 -0
  95. package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/references/diagnostics-checklist.md +351 -0
  96. package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/references/prior-selection-guide.md +241 -0
  97. package/skills/07_Computational_Modeling/parameter-recovery-checker/SKILL.md +269 -0
  98. package/skills/07_Computational_Modeling/parameter-recovery-checker/references/recovery-diagnostics.md +207 -0
  99. package/skills/08_Computational_Neuroscience/brain-connectivity-modeler/SKILL.md +317 -0
  100. package/skills/08_Computational_Neuroscience/brain-connectivity-modeler/references/method-implementation-guide.md +116 -0
  101. package/skills/08_Computational_Neuroscience/neural-decoding-analysis/SKILL.md +273 -0
  102. package/skills/08_Computational_Neuroscience/neural-decoding-analysis/references/decoding-methods.md +170 -0
  103. package/skills/08_Computational_Neuroscience/neural-decoding-analysis/references/rsa-guide.md +266 -0
  104. package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/SKILL.md +305 -0
  105. package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/references/data-requirements.md +60 -0
  106. package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/references/method-comparison.md +151 -0
  107. package/skills/08_Computational_Neuroscience/spiking-network-model-builder/SKILL.md +376 -0
  108. package/skills/08_Computational_Neuroscience/spiking-network-model-builder/references/hh-parameters.md +117 -0
  109. package/skills/08_Computational_Neuroscience/spiking-network-model-builder/references/network-regimes.md +130 -0
  110. package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/SKILL.md +258 -0
  111. package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/references/indicator-parameters.md +242 -0
  112. package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/references/pipeline-details.md +211 -0
  113. package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/SKILL.md +261 -0
  114. package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/references/opsin-catalog.md +124 -0
  115. package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/references/stimulation-parameters.md +304 -0
  116. package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/SKILL.md +367 -0
  117. package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/references/disconnection-guide.md +152 -0
  118. package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/references/vlsm-pipeline.md +182 -0
  119. package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/SKILL.md +250 -0
  120. package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/references/deficit-profiles.md +302 -0
  121. package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/references/test-catalog.md +304 -0
  122. package/skills/11_Developmental_Cognition/infant-looking-time-designer/SKILL.md +345 -0
  123. package/skills/11_Developmental_Cognition/infant-looking-time-designer/references/age-parameters.yaml +186 -0
  124. package/skills/12_Social_Cognition/tom-task-selector/SKILL.md +379 -0
  125. package/skills/12_Social_Cognition/tom-task-selector/references/task-database.md +317 -0
  126. package/skills/13_Visualization/nature-figure/README.md +442 -0
  127. package/skills/13_Visualization/nature-figure/SKILL.md +60 -0
  128. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-01-bar-charts.png +0 -0
  129. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-02-line-trends.png +0 -0
  130. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-03-heatmaps.png +0 -0
  131. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-04-scatter-bubble.png +0 -0
  132. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-05-radar-polar.png +0 -0
  133. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-06-distributions.png +0 -0
  134. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-07-forest-interval.png +0 -0
  135. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-08-area-stacked.png +0 -0
  136. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-09-image-plates.png +0 -0
  137. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-10-network-matrix.png +0 -0
  138. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_motivation.png +0 -0
  139. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_observation.png +0 -0
  140. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_observation_distillation.png +0 -0
  141. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_contrastive.png +0 -0
  142. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_results_CEDAR.png +0 -0
  143. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_results_IEDB.png +0 -0
  144. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_schematic.png +0 -0
  145. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/RNAGenScape_schematic.png +0 -0
  146. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/figures/ablation.png +0 -0
  147. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/figures/comparison.png +0 -0
  148. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/plot_ablation.py +86 -0
  149. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/plot_comparison.py +109 -0
  150. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/diffusion_swiss_roll.py +97 -0
  151. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/diffusion_swiss_roll.png +0 -0
  152. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_GeneRegulatory.pdf +0 -0
  153. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_GeneRegulatory.png +0 -0
  154. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_Trajectory.pdf +0 -0
  155. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_Trajectory.png +0 -0
  156. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/figX_comparison_Ablation.pdf +0 -0
  157. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/figX_comparison_Ablation.png +0 -0
  158. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_Ablation.py +64 -0
  159. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_GeneRegulatory.py +74 -0
  160. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_Trajectory.py +74 -0
  161. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/figures/idea.png +0 -0
  162. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/figures/illustration.png +0 -0
  163. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/plot_idea.py +76 -0
  164. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/plot_illustration.py +404 -0
  165. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_FPGM/figures/freq_prior.png +0 -0
  166. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_FPGM/plot_freq_prior.py +146 -0
  167. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_ablation_Cancer.png +0 -0
  168. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_ablation_IEDB.png +0 -0
  169. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_comparison_Cancer.png +0 -0
  170. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_comparison_IEDB.png +0 -0
  171. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/plot_bars.py +216 -0
  172. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/raw_data.py +125 -0
  173. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/manifold.png +0 -0
  174. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/manifold_holes.png +0 -0
  175. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_comparison_optimization.png +0 -0
  176. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_comparison_speed.png +0 -0
  177. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_sweep.png +0 -0
  178. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_comparison.py +228 -0
  179. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_hole_manifold.py +82 -0
  180. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_manifold.py +61 -0
  181. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_sweep.py +77 -0
  182. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/figures/comparison_posttraining.png +0 -0
  183. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/figures/comparison_radar.png +0 -0
  184. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/plot_comparison_radar.py +173 -0
  185. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/plot_posttraining.py +82 -0
  186. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/brute_force.png +0 -0
  187. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/correctness_by_category.png +0 -0
  188. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/correctness_by_subcategory.png +0 -0
  189. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/rewriting.png +0 -0
  190. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/selfcorrection_math.png +0 -0
  191. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_brute_force.py +248 -0
  192. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_correctness_by_category.py +132 -0
  193. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_correctness_by_subcategory.py +131 -0
  194. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_rewriting.py +105 -0
  195. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_selfcorrection_math.py +99 -0
  196. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/figures/composition_heatmap.png +0 -0
  197. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/figures/trend_by_month.png +0 -0
  198. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/plot_composition.py +81 -0
  199. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/plot_trend.py +125 -0
  200. package/skills/13_Visualization/nature-figure/assets/gallery/fig1-material-mechanism-rich.png +0 -0
  201. package/skills/13_Visualization/nature-figure/assets/gallery/fig2-spatial-imaging-rich.png +0 -0
  202. package/skills/13_Visualization/nature-figure/assets/gallery/fig3-in-vivo-efficacy-rich.png +0 -0
  203. package/skills/13_Visualization/nature-figure/assets/gallery/fig4-single-cell-systems-rich.png +0 -0
  204. package/skills/13_Visualization/nature-figure/assets/gallery/fig5-validation-perturbation-rich.png +0 -0
  205. package/skills/13_Visualization/nature-figure/evals/evals.json +37 -0
  206. package/skills/13_Visualization/nature-figure/manifest.yaml +57 -0
  207. package/skills/13_Visualization/nature-figure/references/api.md +428 -0
  208. package/skills/13_Visualization/nature-figure/references/backend-selection.md +100 -0
  209. package/skills/13_Visualization/nature-figure/references/chart-types.md +281 -0
  210. package/skills/13_Visualization/nature-figure/references/common-patterns.md +350 -0
  211. package/skills/13_Visualization/nature-figure/references/demos.md +65 -0
  212. package/skills/13_Visualization/nature-figure/references/design-theory.md +436 -0
  213. package/skills/13_Visualization/nature-figure/references/figure-contract.md +93 -0
  214. package/skills/13_Visualization/nature-figure/references/nature-2026-observations.md +112 -0
  215. package/skills/13_Visualization/nature-figure/references/qa-contract.md +119 -0
  216. package/skills/13_Visualization/nature-figure/references/r-template-index.md +66 -0
  217. package/skills/13_Visualization/nature-figure/references/r-workflow.md +161 -0
  218. package/skills/13_Visualization/nature-figure/references/tutorials.md +251 -0
  219. package/skills/13_Visualization/nature-figure/static/core/contract.md +29 -0
  220. package/skills/13_Visualization/nature-figure/static/core/stance.md +37 -0
  221. package/skills/13_Visualization/nature-figure/static/fragments/backend/python.md +37 -0
  222. package/skills/13_Visualization/nature-figure/static/fragments/backend/r.md +44 -0
  223. package/skills/14_Writing/markdown-report-writing/SKILL.md +306 -0
  224. package/skills/14_Writing/markdown-report-writing/references/compatibility-matrix.md +72 -0
  225. package/skills/14_Writing/markdown-report-writing/references/templates.md +299 -0
  226. package/skills/15_Others/neuroimaging-power-guide/SKILL.md +324 -0
  227. package/skills/15_Others/neuroimaging-power-guide/references/effect-size-lookup-tables.md +102 -0
  228. package/skills/15_Others/neuroimaging-sample-size-calculator/SKILL.md +330 -0
  229. package/skills/15_Others/neuroimaging-sample-size-calculator/references/worked-examples.md +220 -0
@@ -0,0 +1,318 @@
1
+ # SDT Formulas and Computational Details
2
+
3
+ This reference file supplements the main `SKILL.md` with detailed mathematical formulas, lookup tables, correction methods, and computational procedures for Signal Detection Theory analysis.
4
+
5
+ ## 1. Core Formulas by Paradigm
6
+
7
+ ### 1.1 Yes/No (Single-Interval) Design
8
+
9
+ **Equal-variance Gaussian model** (Green & Swets, 1966, Ch. 1):
10
+
11
+ ```
12
+ d' = z(H) - z(FA)
13
+ c = -0.5 * [z(H) + z(FA)]
14
+ ln(beta) = d' * c
15
+ beta = exp(d' * c)
16
+ c' = c / d'
17
+ ```
18
+
19
+ Where:
20
+ - H = hit rate = P("yes" | signal)
21
+ - FA = false alarm rate = P("yes" | noise)
22
+ - z() = inverse of the standard normal cumulative distribution function (probit transform)
23
+
24
+ ### 1.2 Two-Alternative Forced Choice (2AFC / 2IFC)
25
+
26
+ **Standard formula** (Green & Swets, 1966, Ch. 6; Macmillan & Creelman, 2005, Ch. 5):
27
+
28
+ ```
29
+ d'(2AFC) = z(PC) * sqrt(2)
30
+ ```
31
+
32
+ Where PC = proportion correct across all trials.
33
+
34
+ **Relationship to yes/no d'**:
35
+
36
+ ```
37
+ d'(2AFC) = d'(yes/no) * sqrt(2)
38
+ ```
39
+
40
+ This means that for the same underlying sensitivity, 2AFC yields a d' that is sqrt(2) times larger than yes/no. This conversion factor arises because the 2AFC observer effectively takes two independent samples and compares them (Green & Swets, 1966, Ch. 6).
41
+
42
+ **No independent bias measure** is available in 2AFC because the observer only indicates which interval contained the signal, not whether a signal was present.
43
+
44
+ ### 1.3 Same-Different Paradigm
45
+
46
+ Two models describe observer strategy (Macmillan & Creelman, 2005, Ch. 6):
47
+
48
+ **Independent observations model** (used when stimuli are from a fixed, small set):
49
+
50
+ The observer independently classifies each stimulus and responds "same" if both classifications agree. Hit rate (P("different" | different pair)) and false alarm rate (P("different" | same pair)) are used. d' is obtained from lookup tables (Macmillan & Creelman, 2005, Table A5.3) or numerically because there is no closed-form solution.
51
+
52
+ **Differencing model** (used when stimuli vary along a continuum / roving design):
53
+
54
+ The observer computes the perceived difference between stimuli and responds "different" if the difference exceeds a criterion. d' is again obtained via lookup tables (Macmillan & Creelman, 2005, Table A5.4) or numerical computation.
55
+
56
+ For the differencing model, the relationship between d' and the hit/FA rates involves the non-central chi-squared distribution and requires iterative numerical methods. Software implementations (e.g., R package `psyphy`, Macmillan's `d'plus` program) handle this automatically.
57
+
58
+ ### 1.4 ABX Paradigm
59
+
60
+ Two stimuli A and B are presented, followed by X (which equals A or B). The observer identifies X. As with same-different, two observer models exist (Macmillan & Creelman, 2005, Ch. 6):
61
+
62
+ **Independent observations model**:
63
+
64
+ ```
65
+ d'(ABX) = z(H) - z(FA)
66
+ ```
67
+
68
+ where H = P(correct | X = A) and FA = P(incorrect | X = B), or equivalently using the proportion correct with appropriate lookup tables (Macmillan & Creelman, 2005, Table A5.5).
69
+
70
+ **Differencing model** (default assumption for roving designs):
71
+
72
+ d' is obtained from proportion correct via lookup tables (Macmillan & Creelman, 2005, Table A5.6). There is no closed-form solution; numerical methods or published tables are required.
73
+
74
+ ### 1.5 Oddity (3AFC-Odd)
75
+
76
+ Three stimuli are presented (two identical, one different); the observer identifies the odd one. For the differencing model (Macmillan & Creelman, 2005, Ch. 7):
77
+
78
+ ```
79
+ d'(oddity) is obtained from P(correct) via Table A5.7
80
+ ```
81
+
82
+ General relationship: d'(oddity) is smaller than d'(2AFC) for the same proportion correct because the task is inherently harder (Macmillan & Creelman, 2005, Ch. 7).
83
+
84
+ ## 2. Correction Methods for Extreme Proportions
85
+
86
+ ### 2.1 The 1/(2N) Rule (Macmillan & Kaplan, 1985)
87
+
88
+ Applied only to extreme values (0 or 1):
89
+
90
+ ```
91
+ If H = 0: H_corrected = 0.5 / N_signal
92
+ If H = 1: H_corrected = (N_signal - 0.5) / N_signal
93
+ If FA = 0: FA_corrected = 0.5 / N_noise
94
+ If FA = 1: FA_corrected = (N_noise - 0.5) / N_noise
95
+ ```
96
+
97
+ Where N_signal = number of signal trials, N_noise = number of noise trials.
98
+
99
+ **Limitations**: Can either overestimate or underestimate true d'; applied asymmetrically (only to extreme cells), which introduces inconsistency (Hautus, 1995).
100
+
101
+ ### 2.2 The Log-Linear Rule (Hautus, 1995) -- Recommended
102
+
103
+ Applied to all cells unconditionally:
104
+
105
+ ```
106
+ H_corrected = (hits + 0.5) / (N_signal + 1)
107
+ FA_corrected = (false_alarms + 0.5) / (N_noise + 1)
108
+ ```
109
+
110
+ Equivalently, add 0.5 to each cell of the 2x2 matrix:
111
+
112
+ ```
113
+ hits_adj = hits + 0.5
114
+ misses_adj = misses + 0.5
115
+ fa_adj = false_alarms + 0.5
116
+ cr_adj = correct_rejections + 0.5
117
+
118
+ H_corrected = hits_adj / (hits_adj + misses_adj)
119
+ FA_corrected = fa_adj / (fa_adj + cr_adj)
120
+ ```
121
+
122
+ **Properties** (Hautus, 1995):
123
+ - Always underestimates true d' (provides a conservative lower bound)
124
+ - Less biased than the 1/(2N) rule across all parameter combinations tested
125
+ - Converges to the uncorrected value as N increases
126
+ - Should be applied **uniformly** to all participants/conditions for consistency, not only when extremes are present
127
+
128
+ ### 2.3 Worked Example
129
+
130
+ Suppose an observer has 50 signal trials and 50 noise trials:
131
+ - Hits = 50, Misses = 0 (H = 1.0)
132
+ - False Alarms = 5, Correct Rejections = 45 (FA = 0.10)
133
+
134
+ Without correction: d' = z(1.0) - z(0.10) = infinity - (-1.28) = undefined
135
+
136
+ **1/(2N) correction**:
137
+ - H_corrected = (50 - 0.5) / 50 = 0.99
138
+ - FA remains 0.10
139
+ - d' = z(0.99) - z(0.10) = 2.33 - (-1.28) = 3.61
140
+
141
+ **Log-linear correction** (applied to all cells):
142
+ - H_corrected = 50.5 / 51 = 0.990
143
+ - FA_corrected = 5.5 / 51 = 0.108
144
+ - d' = z(0.990) - z(0.108) = 2.33 - (-1.24) = 3.57
145
+
146
+ ## 3. ROC Analysis
147
+
148
+ ### 3.1 Constructing an ROC Curve
149
+
150
+ **From rating data**: If observers use a K-point confidence scale, each scale boundary yields a different (H, FA) pair. With K rating categories, you obtain K-1 ROC points.
151
+
152
+ Procedure (Macmillan & Creelman, 2005, Ch. 3):
153
+
154
+ 1. For each criterion k (from most conservative to most liberal):
155
+ - H(k) = P(rating >= k | signal)
156
+ - FA(k) = P(rating >= k | noise)
157
+ 2. Plot FA(k) on x-axis, H(k) on y-axis
158
+ 3. Add the points (0, 0) and (1, 1) as anchors
159
+ 4. The resulting curve bows above the diagonal for above-chance performance
160
+
161
+ ### 3.2 Computing Az (Area Under the ROC)
162
+
163
+ **Parametric estimate** (assuming Gaussian distributions; Swets, 1986):
164
+
165
+ ```
166
+ Az = Phi(da / sqrt(2))
167
+ ```
168
+
169
+ Where Phi() is the standard normal CDF and da is the sensitivity index from the fitted model.
170
+
171
+ For the equal-variance model (slope = 1):
172
+
173
+ ```
174
+ Az = Phi(d' / sqrt(2))
175
+ ```
176
+
177
+ **Nonparametric estimate** (trapezoidal rule):
178
+
179
+ ```
180
+ Az_nonpar = sum over k of: 0.5 * (H(k+1) - H(k)) * (FA(k) + FA(k+1))
181
+ ```
182
+
183
+ This is equivalent to the Wilcoxon-Mann-Whitney statistic and makes no distributional assumptions.
184
+
185
+ ### 3.3 The zROC and Unequal Variance
186
+
187
+ Plotting z(H) vs. z(FA) yields the zROC. Under the equal-variance Gaussian model, this is a straight line with slope = 1 and intercept = d'.
188
+
189
+ Under the **unequal-variance model** (Macmillan & Creelman, 2005, Ch. 3):
190
+
191
+ ```
192
+ zROC: z(H) = (1/s) * z(FA) + d_a / s
193
+ ```
194
+
195
+ Where:
196
+ - s = sigma_noise / sigma_signal (ratio of standard deviations)
197
+ - The zROC slope = 1/s
198
+ - If slope < 1: signal distribution has greater variance (common in recognition memory)
199
+
200
+ **Typical finding in recognition memory**: zROC slope ~ **0.80** (i.e., s ~ 0.80, meaning sigma_target / sigma_lure ~ 1.25; Ratcliff, Sheu, & Gronlund, 1992; Mickes, Wixted, & Wais, 2007).
201
+
202
+ ### 3.4 Unequal-Variance Sensitivity: da
203
+
204
+ When variances are unequal, use da instead of d' (Macmillan & Creelman, 2005, Ch. 3):
205
+
206
+ ```
207
+ da = sqrt(2 / (1 + s^2)) * [z(H) - s * z(FA)]
208
+ ```
209
+
210
+ Where s = sigma_noise / sigma_signal (the zROC slope).
211
+
212
+ When s = 1 (equal variance), da reduces to d'. When s != 1, da provides a **criterion-free** sensitivity measure that standard d' does not.
213
+
214
+ ## 4. Nonparametric Sensitivity Measures
215
+
216
+ ### 4.1 A' (A-prime)
217
+
218
+ Originally proposed by Pollack & Norman (1964) as a nonparametric single-point sensitivity estimate.
219
+
220
+ **Formula** (corrected version from Zhang & Mueller, 2005):
221
+
222
+ ```
223
+ If H >= FA:
224
+ A' = 0.5 + [(H - FA) * (1 + H - FA)] / [4 * H * (1 - FA)]
225
+
226
+ If FA > H:
227
+ A' = 0.5 - [(FA - H) * (1 + FA - H)] / [4 * FA * (1 - H)]
228
+ ```
229
+
230
+ Range: 0.5 (chance) to 1.0 (perfect).
231
+
232
+ **Caution**: Despite being called "nonparametric," A' implicitly assumes a specific (approximately logistic) distribution model (Macmillan & Creelman, 1996). It is less accurate than parametric measures when the underlying distributions are Gaussian (Macmillan & Creelman, 2005, Ch. 3). Use Az from ROC data when possible.
233
+
234
+ ### 4.2 B''_D (Nonparametric Bias)
235
+
236
+ The commonly paired nonparametric bias measure (Donaldson, 1992):
237
+
238
+ ```
239
+ B''_D = [(1 - H) * (1 - FA) - H * FA] / [(1 - H) * (1 - FA) + H * FA]
240
+ ```
241
+
242
+ Range: -1 (extreme liberal) to +1 (extreme conservative). B''_D = 0 indicates no bias.
243
+
244
+ ## 5. Confidence Interval and Variance of d'
245
+
246
+ ### 5.1 Variance of d'
247
+
248
+ The variance of d' can be approximated as (Gourevitch & Galanter, 1967; Macmillan & Creelman, 2005, Ch. 8):
249
+
250
+ ```
251
+ Var(d') = [H*(1-H)] / [N_signal * phi(z(H))^2] + [FA*(1-FA)] / [N_noise * phi(z(FA))^2]
252
+ ```
253
+
254
+ Where phi() is the standard normal probability density function.
255
+
256
+ ### 5.2 Approximate 95% Confidence Interval
257
+
258
+ ```
259
+ d' +/- 1.96 * sqrt(Var(d'))
260
+ ```
261
+
262
+ This approximation works well for moderate sample sizes (N > 20 per stimulus class) and non-extreme rates (Macmillan & Creelman, 2005, Ch. 8).
263
+
264
+ ## 6. Quick Reference: d' Lookup Table (Yes/No)
265
+
266
+ Selected d' values for common (H, FA) combinations (computed from standard equal-variance model):
267
+
268
+ | H \ FA | 0.01 | 0.05 | 0.10 | 0.20 | 0.30 | 0.50 |
269
+ |--------|------|------|------|------|------|------|
270
+ | 0.50 | 2.33 | 1.64 | 1.28 | 0.84 | 0.52 | 0.00 |
271
+ | 0.60 | 2.58 | 1.90 | 1.53 | 1.10 | 0.78 | 0.25 |
272
+ | 0.70 | 2.86 | 2.17 | 1.80 | 1.37 | 1.05 | 0.52 |
273
+ | 0.80 | 3.17 | 2.48 | 2.12 | 1.68 | 1.37 | 0.84 |
274
+ | 0.90 | 3.61 | 2.92 | 2.56 | 2.12 | 1.80 | 1.28 |
275
+ | 0.95 | 3.97 | 3.29 | 2.92 | 2.48 | 2.17 | 1.64 |
276
+ | 0.99 | 4.65 | 3.97 | 3.61 | 3.17 | 2.86 | 2.33 |
277
+
278
+ ## 7. Quick Reference: 2AFC Proportion Correct to d'
279
+
280
+ | PC (2AFC) | d'(2AFC) |
281
+ |-----------|----------|
282
+ | 0.55 | 0.18 |
283
+ | 0.60 | 0.36 |
284
+ | 0.65 | 0.54 |
285
+ | 0.70 | 0.74 |
286
+ | 0.75 | 0.95 |
287
+ | 0.80 | 1.19 |
288
+ | 0.85 | 1.47 |
289
+ | 0.90 | 1.81 |
290
+ | 0.95 | 2.33 |
291
+
292
+ (Values computed as z(PC) * sqrt(2); Macmillan & Creelman, 2005, Table A5.1)
293
+
294
+ ## 8. Software Implementations
295
+
296
+ | Software | Language | Key Function / Package | Reference |
297
+ |----------|----------|----------------------|-----------|
298
+ | `psyphy` | R | `dprime.SD()`, `dprime.ABX()`, `dprime.oddity()` | Knoblauch, 2014 |
299
+ | `psychopy` | Python | `data.sdt` module | Peirce et al., 2019 |
300
+ | `scipy.stats` | Python | `norm.ppf()` for z-transforms (compute d' manually) | -- |
301
+ | `d'plus` | Standalone | All paradigms, bias measures | Macmillan, 2007 |
302
+ | `sensR` | R | `d.primeSS()`, `d.prime2AFC()`, `SDT()` | Brockhoff & Christensen, 2010 |
303
+ | `MLE_metad` | MATLAB/Python | Type 2 SDT, meta-d' | Maniscalco & Lau, 2012 |
304
+
305
+ ## References
306
+
307
+ - Donaldson, W. (1992). Measuring recognition memory. *Journal of Experimental Psychology: General*, 121, 275-277.
308
+ - Gourevitch, V., & Galanter, E. (1967). A significance test for one parameter isosensitivity functions. *Psychometrika*, 32, 25-33.
309
+ - Green, D. M., & Swets, J. A. (1966). *Signal detection theory and psychophysics*. New York: Wiley.
310
+ - Hautus, M. J. (1995). Corrections for extreme proportions and their biasing effects on estimated values of d'. *Behavior Research Methods, Instruments, & Computers*, 27, 46-51.
311
+ - Macmillan, N. A., & Creelman, C. D. (1996). Triangles in ROC space: History and theory of "nonparametric" measures of sensitivity and response bias. *Psychonomic Bulletin & Review*, 3, 164-170.
312
+ - Macmillan, N. A., & Creelman, C. D. (2005). *Detection theory: A user's guide* (2nd ed.). Mahwah, NJ: Erlbaum.
313
+ - Macmillan, N. A., & Kaplan, H. L. (1985). Detection theory analysis of group data. *Psychological Bulletin*, 98, 185-199.
314
+ - Mickes, L., Wixted, J. T., & Wais, P. E. (2007). A direct test of the unequal-variance signal detection model of recognition memory. *Psychonomic Bulletin & Review*, 14, 858-865.
315
+ - Pollack, I., & Norman, D. A. (1964). A nonparametric analysis of recognition experiments. *Psychonomic Science*, 1, 125-126.
316
+ - Ratcliff, R., Sheu, C. F., & Gronlund, S. D. (1992). Testing global memory models using ROC curves. *Psychological Review*, 99, 518-535.
317
+ - Swets, J. A. (1986). Indices of discrimination or diagnostic accuracy. *Psychological Bulletin*, 99, 100-117.
318
+ - Zhang, J., & Mueller, S. T. (2005). A note on ROC analysis and non-parametric estimate of sensitivity. *Psychometrika*, 70, 203-212.
@@ -0,0 +1,283 @@
1
+ ---
2
+ name: "visual-search-array-generator"
3
+ description: "Specifies display parameters, set sizes, target-distractor similarity, and randomization constraints for visual search experiments"
4
+ domain: "cognitive-psychology"
5
+ version: "1.0.0"
6
+ authors:
7
+ - "Claude (AI-assisted)"
8
+ papers:
9
+ - "Treisman & Gelade, 1980"
10
+ - "Wolfe, 1994"
11
+ - "Wolfe, 2021"
12
+ - "Duncan & Humphreys, 1989"
13
+ - "Chun & Wolfe, 1996"
14
+ dependencies:
15
+ required:
16
+ - research-literacy
17
+ review_status: "ai-generated"
18
+ ---
19
+
20
+ # Visual Search Array Generator
21
+
22
+ ## Purpose
23
+
24
+ This skill encodes expert methodological knowledge for designing and generating visual search arrays. A competent programmer could easily generate random stimulus displays, but without domain training they would likely violate critical constraints: items too closely spaced (causing crowding), eccentricities beyond useful vision, inappropriate set sizes that cannot distinguish search types, target-distractor similarity levels that produce ceiling or floor effects, or trial ratios that distort search behavior. This skill provides the validated parameters needed to create psychophysically sound visual search experiments.
25
+
26
+ ## When to Use
27
+
28
+ Use this skill when:
29
+
30
+ - Designing a visual search experiment (feature search, conjunction search, spatial configuration search)
31
+ - Generating stimulus arrays with specific set sizes, spacings, and feature dimensions
32
+ - Selecting target-distractor similarity levels to manipulate search efficiency
33
+ - Choosing set sizes and trial structure for measuring search slopes
34
+ - Configuring display timing, inter-trial intervals, and response windows
35
+
36
+ Do **not** use this skill when:
37
+
38
+ - The task is not visual search (e.g., change detection, visual working memory, attentional capture without search)
39
+ - You are analyzing existing visual search data rather than designing new experiments
40
+ - The display involves naturalistic scenes rather than controlled arrays (use scene perception methods)
41
+
42
+ ## Research Planning Protocol
43
+
44
+ Before executing the domain-specific steps below, you MUST:
45
+
46
+ 1. **State the research question** -- What specific question is this analysis/paradigm addressing?
47
+ 2. **Justify the method choice** -- Why is this approach appropriate? What alternatives were considered?
48
+ 3. **Declare expected outcomes** -- What results would support vs. refute the hypothesis?
49
+ 4. **Note assumptions and limitations** -- What does this method assume? Where could it mislead?
50
+ 5. **Present the plan to the user and WAIT for confirmation** before proceeding.
51
+
52
+ For detailed methodology guidance, see the `research-literacy` skill.
53
+
54
+
55
+ ## ⚠️ Verification Notice
56
+
57
+ This skill was generated by AI from academic literature. All parameters, thresholds, and citations require independent verification before use in research. If you find errors, please [open an issue](https://github.com/HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills/issues).
58
+
59
+ ## Search Type Classification
60
+
61
+ ### Feature Search (Parallel / Pop-out)
62
+
63
+ Target defined by a single unique feature (Treisman & Gelade, 1980).
64
+
65
+ - **Search slope**: < **10 ms/item** for target-present trials (Wolfe, 2021)
66
+ - **RT x set size function**: Flat or near-flat
67
+ - **Example**: Red target among green distractors; vertical target among horizontal distractors
68
+ - **Theoretical basis**: Pre-attentive feature maps can detect unique singletons without serial scanning (Treisman & Gelade, 1980)
69
+
70
+ ### Conjunction Search (Inefficient / Serial)
71
+
72
+ Target defined by a combination of features shared individually with distractors (Treisman & Gelade, 1980).
73
+
74
+ - **Search slope**: **20-30 ms/item** for target-present trials (Wolfe, 2021)
75
+ - **Absent:present slope ratio**: Approximately **2:1** if search is self-terminating (Treisman & Gelade, 1980)
76
+ - **Example**: Red vertical target among red horizontal and green vertical distractors
77
+ - **Note**: Many conjunction searches are more efficient than predicted by strict serial models; guided search theory accounts for this (Wolfe, 1994)
78
+
79
+ ### Spatial Configuration Search
80
+
81
+ Target differs from distractors in spatial arrangement of parts rather than simple features.
82
+
83
+ - **Search slope**: **30-50+ ms/item** (Wolfe, 2021)
84
+ - **Example**: T among Ls; 2 among 5s
85
+ - **These are among the most inefficient search tasks** and should be used when studying attentional limits
86
+
87
+ ### Search Slope Classification Benchmarks
88
+
89
+ | Slope (ms/item) | Classification | Citation |
90
+ |-----------------|---------------|----------|
91
+ | < **5** | Highly efficient / pop-out | Wolfe, 2021 |
92
+ | **5-10** | Efficient (feature-like) | Wolfe, 2021 |
93
+ | **10-20** | Moderately efficient (guided) | Wolfe, 1994; Wolfe, 2021 |
94
+ | **20-30** | Inefficient (conjunction-like) | Treisman & Gelade, 1980; Wolfe, 2021 |
95
+ | > **30** | Very inefficient (serial) | Wolfe, 2021 |
96
+
97
+ ## Display Parameters
98
+
99
+ ### Spatial Layout
100
+
101
+ | Parameter | Recommended Value | Citation / Rationale |
102
+ |-----------|------------------|---------------------|
103
+ | **Maximum eccentricity** | **15 degrees** of visual angle from fixation | Beyond ~15 deg, acuity drops substantially; standard upper bound (Wolfe et al., 1998) |
104
+ | **Minimum inter-item spacing** | > **1 degree** center-to-center | Prevents crowding effects (Bouma, 1970: crowding zone ~ 0.5 x eccentricity) |
105
+ | **Item size** | **0.5-2 degrees** of visual angle | Standard range for search items (Wolfe, 2021) |
106
+ | **Display area** | Circular or rectangular region within eccentricity limit | Avoid items near monitor edges where distortion may occur |
107
+ | **Fixation cross** | Present for **500-1000 ms** before array onset | Standard in visual search (Wolfe et al., 1998) |
108
+
109
+ ### Preventing Crowding
110
+
111
+ Crowding impairs identification when flanking items are too close to the target, especially in the periphery (Pelli & Tillman, 2008).
112
+
113
+ - **Critical spacing**: Approximately **0.5 x eccentricity** (Bouma, 1970)
114
+ - At **5 degrees** eccentricity, items must be > **2.5 degrees** apart to avoid crowding
115
+ - At **10 degrees** eccentricity, items must be > **5 degrees** apart
116
+ - For items near fixation (< 2 degrees), minimum spacing of **1 degree** is sufficient
117
+
118
+ ### Set Sizes
119
+
120
+ | Design Goal | Recommended Set Sizes | Rationale |
121
+ |-------------|----------------------|-----------|
122
+ | **Classify search type** | **4, 8, 12, 16** (minimum 3 set sizes) | Need multiple points to estimate slope reliably (Wolfe, 2021) |
123
+ | **Test for pop-out** | **8, 16, 32** (wide range) | Pop-out confirmed if slope ~ 0 even at large set sizes (Treisman & Gelade, 1980) |
124
+ | **Standard conjunction search** | **4, 8, 12, 16, 20** | Finer-grained slope estimation (Wolfe, 1994) |
125
+ | **Quick screening** | **6, 12, 18** | Three evenly spaced set sizes for slope estimation |
126
+
127
+ **Minimum set sizes**: At least **3 different set sizes** are required to reliably estimate a search slope. Two set sizes cannot distinguish linear from nonlinear search functions.
128
+
129
+ **Maximum set size**: Constrained by display density. With **1 degree minimum spacing** and **15 degree eccentricity limit**, the practical maximum is approximately **40-50 items** for typical item sizes (Wolfe et al., 1998).
130
+
131
+ ### Trial Structure
132
+
133
+ | Parameter | Recommended Value | Citation |
134
+ |-----------|------------------|----------|
135
+ | **Target-present : target-absent ratio** | **1:1** (50% present) | Chun & Wolfe, 1996; standard in most search tasks |
136
+ | **Low prevalence condition** | **10% target-present** | Wolfe et al., 2005 (miss rate increases dramatically) |
137
+ | **Trials per cell** | Minimum **20-30** trials per set size x presence combination | Wolfe, 2021; more for stable RT distributions |
138
+ | **Practice trials** | **10-20 trials** before data collection | Standard practice |
139
+ | **Total trial count** | Typically **400-800** for a standard search task | Depends on number of conditions and set sizes |
140
+
141
+ **Critical warning about target prevalence**: When target prevalence drops below ~25%, miss rates increase dramatically -- the "prevalence effect" (Wolfe et al., 2005). This is a critical design consideration for applied search tasks (e.g., medical image screening).
142
+
143
+ ### Timing Parameters
144
+
145
+ | Parameter | Recommended Value | Rationale |
146
+ |-----------|------------------|-----------|
147
+ | **Fixation duration** | **500-1000 ms** | Allow fixation stabilization |
148
+ | **Display duration** | Until response (standard) or fixed (brief search) | Self-paced search is default (Wolfe, 2021) |
149
+ | **Brief display search** | **100-200 ms** (then mask) | Tests pre-attentive processing (Treisman & Gelade, 1980) |
150
+ | **Response deadline** | **3000-5000 ms** | Exclude abnormally slow RTs |
151
+ | **Inter-trial interval** | **500-1000 ms** | Prevent carryover effects |
152
+ | **Feedback duration** | **500 ms** (if used) | Brief error/correct feedback |
153
+
154
+ ## Feature Dimensions and Similarity
155
+
156
+ ### Color
157
+
158
+ | Parameter | Guideline | Citation |
159
+ |-----------|-----------|----------|
160
+ | **Feature search JND** | Target-distractor color difference > **30 degrees** in CIE L*a*b* or CIELUV hue angle for pop-out | Derived from Nagy & Sanchez, 1990 |
161
+ | **Conjunction control** | Equate target-distractor color distance across conditions | Essential for isolating conjunction cost |
162
+ | **Number of colors** | Typically **2-4** distinct colors for conjunction search | Wolfe, 1994 |
163
+ | **Luminance** | Equate luminance across colors to avoid luminance pop-out | Use isoluminant colors or verify with photometer |
164
+ | **Color space** | Specify in CIE L*a*b* or Munsell; avoid RGB for scientific reporting | RGB is device-dependent |
165
+
166
+ ### Orientation
167
+
168
+ | Parameter | Guideline | Citation |
169
+ |-----------|-----------|----------|
170
+ | **Feature search JND** | Target-distractor difference > **15-20 degrees** for efficient search | Foster & Ward, 1991 |
171
+ | **Pop-out threshold** | Orientation difference > **30 degrees** produces reliable pop-out | Wolfe et al., 1992 |
172
+ | **Cardinal advantage** | Vertical and horizontal orientations are detected faster than obliques | Appelle, 1972 |
173
+ | **Recommended**: Use oblique orientations (e.g., 45 deg, 135 deg) to avoid cardinal effects unless cardinals are of interest |
174
+
175
+ ### Size
176
+
177
+ | Parameter | Guideline | Citation |
178
+ |-----------|-----------|----------|
179
+ | **Feature search JND** | Target at least **1.5-2x** distractor size for pop-out | Treisman & Gelade, 1980 |
180
+ | **Weber fraction** | Size discrimination Weber fraction ~ **0.04-0.06** (JND/standard) | Nachmias, 2011 |
181
+ | **For search**: Size ratio of > **1.5:1** (target:distractor) typically needed for efficient search | Wolfe, 2021 |
182
+
183
+ ## Target-Distractor Similarity and Distractor Heterogeneity
184
+
185
+ ### Duncan & Humphreys (1989) Framework
186
+
187
+ Search efficiency depends on two factors:
188
+
189
+ 1. **Target-distractor (T-D) similarity**: Higher similarity = less efficient search
190
+ 2. **Distractor-distractor (D-D) similarity**: Lower D-D similarity (heterogeneous distractors) = less efficient search
191
+
192
+ | T-D Similarity | D-D Similarity | Expected Search | Example |
193
+ |---------------|---------------|-----------------|---------|
194
+ | Low | High | Very efficient (pop-out) | Red among identical greens |
195
+ | Low | Low | Efficient | Red among varied colors (not red) |
196
+ | High | High | Inefficient | Pink among reds |
197
+ | High | Low | Very inefficient | Pink among varied warm colors |
198
+
199
+ ### Practical Implementation
200
+
201
+ - **Homogeneous distractors**: All distractors identical; cleanest test of T-D similarity
202
+ - **Heterogeneous distractors**: Distractors vary in the search-relevant feature; tests the D-D similarity effect
203
+ - **Controlling heterogeneity**: Sample distractor features from a uniform distribution within a defined range (e.g., orientation distractors drawn from 0 +/- 10 degrees; Duncan & Humphreys, 1989)
204
+
205
+ ## Array Generation Algorithm
206
+
207
+ ### Placement Algorithm (Recommended)
208
+
209
+ 1. Define the display region (circular with radius = max eccentricity)
210
+ 2. Generate candidate positions using one of:
211
+ - **Grid + jitter**: Place items on a regular grid, then add random jitter (uniform, +/- 0.3 deg) to break regularity (Wolfe et al., 1998)
212
+ - **Random placement with rejection**: Sample random positions; reject any that violate minimum spacing
213
+ - **Concentric rings**: Place items on concentric rings at fixed eccentricities (controls eccentricity distribution)
214
+ 3. Enforce minimum inter-item spacing (> 1 degree center-to-center)
215
+ 4. Enforce minimum distance from fixation (> 1 degree; avoids masking by fixation cross)
216
+ 5. Balance target position across eccentricity bins and quadrants over the experiment
217
+ 6. For each trial, randomly assign target to one position (present trials) or assign no target (absent trials)
218
+
219
+ ### Randomization Constraints
220
+
221
+ - **Target position**: Counterbalance across quadrants and eccentricity bins within each set size
222
+ - **Set size order**: Randomize or pseudorandomize within blocks
223
+ - **Target presence**: Pseudorandomize to avoid long runs of present or absent trials (max run length: **4 consecutive same-type trials**; standard practice)
224
+ - **Feature assignment**: For conjunction search, ensure equal numbers of each distractor type (e.g., 50% share color with target, 50% share orientation; Treisman & Gelade, 1980)
225
+ - **Block structure**: If multiple set sizes are used, either mix within blocks or block by set size (within-block mixing is standard; Wolfe, 2021)
226
+
227
+ ## Common Pitfalls
228
+
229
+ 1. **Not controlling for eccentricity confounds**: Larger set sizes place items at greater eccentricities on average, confounding set size with acuity. Solution: Use a fixed display area and add items by filling in gaps, not by expanding the area (Wolfe et al., 1998).
230
+
231
+ 2. **Interpreting null set-size effects as "pop-out" without verification**: A flat slope does not guarantee parallel processing. Verify with brief presentations (100-200 ms + mask) and check that accuracy remains high (Treisman & Gelade, 1980).
232
+
233
+ 3. **Ignoring the prevalence effect**: With low target prevalence (<25%), observers adopt a more liberal quitting threshold, increasing miss rates from ~5% to >25% (Wolfe et al., 2005). Design accordingly for applied contexts.
234
+
235
+ 4. **Using too few set sizes**: Two set sizes define only a line; you cannot assess linearity or detect nonlinear search functions. Use at least **3 set sizes**, preferably **4-5** (Wolfe, 2021).
236
+
237
+ 5. **Not equating luminance across color conditions**: Luminance differences create an unintended pop-out cue. Always measure and equate luminance (use a photometer or validated software settings; Nagy & Sanchez, 1990).
238
+
239
+ 6. **Placing items too close together**: Violating minimum spacing creates crowding, where items become unidentifiable not because of search difficulty but because of peripheral vision limits (Bouma, 1970; Pelli & Tillman, 2008).
240
+
241
+ 7. **Confounding distractor heterogeneity with target discriminability**: Adding distractor variability reduces search efficiency independently of T-D similarity. Manipulate one while controlling the other (Duncan & Humphreys, 1989).
242
+
243
+ 8. **Failing to counterbalance target position**: If the target systematically appears at certain locations, observers develop spatial biases. Counterbalance across quadrants and eccentricities.
244
+
245
+ ## Minimum Reporting Checklist
246
+
247
+ Based on current best practices in visual search research:
248
+
249
+ - [ ] Search type (feature, conjunction, spatial configuration) and theoretical motivation
250
+ - [ ] Set sizes used and number of trials per set size per target-presence condition
251
+ - [ ] Target-present to target-absent ratio
252
+ - [ ] Display parameters: eccentricity range, item size (in degrees of visual angle), minimum spacing
253
+ - [ ] Item features: colors (in device-independent space), orientations (in degrees), sizes (in degrees)
254
+ - [ ] Target-distractor similarity metric and value
255
+ - [ ] Distractor composition (homogeneous vs. heterogeneous; how features were assigned)
256
+ - [ ] Viewing distance and display specifications (size, resolution, refresh rate)
257
+ - [ ] Timing: fixation duration, display duration, response deadline, ITI
258
+ - [ ] Randomization scheme: how set size, target presence, and target position were randomized
259
+ - [ ] Search slope values (ms/item) with confidence intervals for target-present and target-absent
260
+ - [ ] Slope ratio (absent:present) to assess self-termination
261
+ - [ ] Error rates by condition (especially miss rates)
262
+ - [ ] RT trimming criteria and percentage of data excluded
263
+ - [ ] Software used for stimulus generation and presentation (with version)
264
+
265
+ ## References
266
+
267
+ - Appelle, S. (1972). Perception and discrimination as a function of stimulus orientation: The "oblique effect" in man and animals. *Psychological Bulletin*, 78, 266-278.
268
+ - Bouma, H. (1970). Interaction effects in parafoveal letter recognition. *Nature*, 226, 177-178.
269
+ - Chun, M. M., & Wolfe, J. M. (1996). Just say no: How are visual searches terminated when there is no target present? *Cognitive Psychology*, 30, 39-78.
270
+ - Duncan, J., & Humphreys, G. W. (1989). Visual search and stimulus similarity. *Psychological Review*, 96, 433-458.
271
+ - Foster, D. H., & Ward, P. A. (1991). Asymmetries in oriented-line detection indicate two orthogonal filters in early vision. *Proceedings of the Royal Society B*, 243, 75-81.
272
+ - Nachmias, J. (2011). Shape and size discrimination compared. *Vision Research*, 51, 400-407.
273
+ - Nagy, A. L., & Sanchez, R. R. (1990). Critical color differences determined with a visual search task. *Journal of the Optical Society of America A*, 7, 1209-1217.
274
+ - Pelli, D. G., & Tillman, K. A. (2008). The uncrowded window of object recognition. *Nature Neuroscience*, 11, 1129-1135.
275
+ - Treisman, A. M., & Gelade, G. (1980). A feature-integration theory of attention. *Cognitive Psychology*, 12, 97-136.
276
+ - Wolfe, J. M. (1994). Guided Search 2.0: A revised model of visual search. *Psychonomic Bulletin & Review*, 1, 202-238.
277
+ - Wolfe, J. M. (2021). Guided Search 6.0: An updated model of visual search. *Psychonomic Bulletin & Review*, 28, 1060-1092.
278
+ - Wolfe, J. M., Cave, K. R., & Franzel, S. L. (1989). Guided search: An alternative to the feature integration model for visual search. *Journal of Experimental Psychology: Human Perception and Performance*, 15, 419-433.
279
+ - Wolfe, J. M., Friedman-Hill, S. R., Stewart, M. I., & O'Connell, K. M. (1992). The role of categorization in visual search for orientation. *Journal of Experimental Psychology: Human Perception and Performance*, 18, 34-49.
280
+ - Wolfe, J. M., Horowitz, T. S., & Kenner, N. M. (2005). Rare items often missed in visual searches. *Nature*, 435, 439-440.
281
+ - Wolfe, J. M., O'Neill, P., & Bennett, S. C. (1998). Why are there eccentricity effects in visual search? Perception & Psychophysics, 60, 140-156.
282
+
283
+ See `references/array-generation-parameters.yaml` for a machine-readable parameter specification.