courses:psaw:lab_impl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
courses:psaw:lab_impl [2023/02/23 20:02] – [Prepare for the lab] kktcourses:psaw:lab_impl [2025/05/05 16:02] (current) – [Materials] kkt
Line 5: Line 5:
 ==== Prepare for the lab ==== ==== Prepare for the lab ====
  
-  * FIXME+  * Read about [[https://connect.tobii.com/s/article/how-to-work-with-order-effects-and-stimulus-presentation-in-tobii-pro-lab?language=en_US|the stimulus presentation and order effects]] (This is a part of the eye tracker tutorial, but the know-how is generic. In addition, it has color pictures ;-) ) 
 +  * Skim through the Chapter 2 "Building Your First Experiment" in [[https://www.amazon.com/Building-Experiments-PsychoPy-Jonathan-Peirce/dp/1473991390|Building Experiments in PsychoPy (2018)]] //(there is no need to remember how all windows look like; you only need to know what is the general idea of experiment preparation in PsychoPy)// 
 +    * Note: Do you know that there is a dedicated folder on OneDrive with materials that are not publicly available online? Check the [[start#schedule]] section on main course page.
  
 +  * If you are working on your own computer, install [[https://www.psychopy.org/download.html|the latest version of PsychoPy]] before class.
 ==== Materials ==== ==== Materials ====
  
-  - Short lecture: {{ lab_impl.pdf }}+  - Short lecture: {{ :courses:psaw:implementation.pdf |Implementation}}
   - Q&A Session:   - Q&A Session:
     - Why don't we want to always use the same order of stimuli?     - Why don't we want to always use the same order of stimuli?
Line 56: Line 59:
       - [[https://github.com/labstreaminglayer/App-LabRecorder|App-LabRecorder]] is an application that records the data streams available in the local network. Simply run the LabRecorder. You should see exactly one stream, called ''BioSemi'' -- it is provided by the ''SendData.py'' example.       - [[https://github.com/labstreaminglayer/App-LabRecorder|App-LabRecorder]] is an application that records the data streams available in the local network. Simply run the LabRecorder. You should see exactly one stream, called ''BioSemi'' -- it is provided by the ''SendData.py'' example.
     - Now it's time to work on your own: add LSL handling to the procedure in PsychoPy.     - Now it's time to work on your own: add LSL handling to the procedure in PsychoPy.
-      - Note 1: You can use the [[https://github.com/labstreaminglayer/liblsl-Python/blob/master/pylsl/examples/SendData.py|SendData.py]] code as an inspiration.+      - Note 1: You can use the [[https://github.com/labstreaminglayer/pylsl/blob/main/src/pylsl/examples/SendData.py|SendData.py]] code as an inspiration.
       - Note 2: The use of the LSL consists of two steps. At the beginning (once, before starting the procedure), the appropriate data stream must be prepared using the ''StreamInfo'' and ''StreamOutlet'' classes. Then, in the actual loop handling the stimuli, we send consecutive samples to the stream using the ''push_sample()'' function.       - Note 2: The use of the LSL consists of two steps. At the beginning (once, before starting the procedure), the appropriate data stream must be prepared using the ''StreamInfo'' and ''StreamOutlet'' classes. Then, in the actual loop handling the stimuli, we send consecutive samples to the stream using the ''push_sample()'' function.
       - As a result, the stream you created should appear in LabRecorder.       - As a result, the stream you created should appear in LabRecorder.
  • courses/psaw/lab_impl.1677182554.txt.gz
  • Last modified: 2 years ago
  • by kkt