filmov
tv
Mastering Code Components in PsychoPy: Build a Visual Search Task from Scratch!

Показать описание
Want to learn how to use code components in PsychoPy?
In this tutorial, we guide you through the process of building a Visual Search Task from scratch, using PsychoPy's code components to save time and make your experiments more efficient. If you’ve ever struggled with a project that requires dozens of components, this is the perfect starting point to learn how to use Python code to streamline your experiment design.
In this video, we cover:
🔧 Why use code components in PsychoPy? (00:00)
🧠 Building a visual search task step-by-step (01:06)
💻 Compiling experiments to Python (03:36)
🔄 Using Python code in code components (04:59)
🔁 Introduction to for loops to create multiple stimuli (07:20)
🎨 Drawing many stimuli with AutoDraw (08:20)
🎯 Setting random locations for stimuli using random() (11:34)
🖱️ Adding a mouse response to your task (12:50)
Whether you're building a cognitive task or creating interactive psychology experiments, using code components will help you build tasks more efficiently and with greater flexibility.
If you found this video useful, leave us a comment with what you'd like to see next, or share any questions you have.
In this tutorial, we guide you through the process of building a Visual Search Task from scratch, using PsychoPy's code components to save time and make your experiments more efficient. If you’ve ever struggled with a project that requires dozens of components, this is the perfect starting point to learn how to use Python code to streamline your experiment design.
In this video, we cover:
🔧 Why use code components in PsychoPy? (00:00)
🧠 Building a visual search task step-by-step (01:06)
💻 Compiling experiments to Python (03:36)
🔄 Using Python code in code components (04:59)
🔁 Introduction to for loops to create multiple stimuli (07:20)
🎨 Drawing many stimuli with AutoDraw (08:20)
🎯 Setting random locations for stimuli using random() (11:34)
🖱️ Adding a mouse response to your task (12:50)
Whether you're building a cognitive task or creating interactive psychology experiments, using code components will help you build tasks more efficiently and with greater flexibility.
If you found this video useful, leave us a comment with what you'd like to see next, or share any questions you have.
Комментарии