512 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
30
views
Timing jitter between audio stimulus and eeg maker using parallel ports
Also cross-posted on the psychopy forum.
OS: Win10
PsychoPy version: 2024年2月4日
Standard Standalone Installation? (y/n): y
Do you want it to also run online? (y/n): n
What are you trying to achieve?: ...
0
votes
0
answers
22
views
EEG trigger labels from serial port to BV Recorder only go up to 191, then start again at 128
I am simply trying to send 156 unique numerical stimulus trigger labels from a pc running Psychopy, through a brain vision trigger box serial usb port to another pc (through actiChamp) recording eeg ...
1
vote
1
answer
91
views
How to send EEG triggers in OpenSesame to a serial port
I need to send EEG triggers in OpenSesame to this serial port as shown:
I tried using pySerial. The code I used is:
import serial
serialport = serial.Serial(port='COM4', baudrate=9600, timeout=1)
...
3
votes
0
answers
34
views
Psychopy TextStim does not display the blank spaces correctly in the multiline string I am trying to use
Edit: using a different space character '\u00a0' resolved the issue:
I am trying to display three lines of text as part of a stimulus using Psychopy. The first and third rows contain randomly ...
0
votes
1
answer
32
views
Randomizing the position of two gratings
I am trying to create two circle gratings (one horizontal and one vertical) that are displayed simultaneously. In each trial, the positions of the two gratings should change randomly.
This is my code ...
0
votes
0
answers
73
views
online experiment in Psychopy/Javascript - character limit on user input results in weird bug
I created a simple experiment using the software Psychopy (a user interface which allows non-coders like me to create experiments in Python). It can also automatically convert the entire experiment to ...
0
votes
0
answers
123
views
GLException Error while running script in Coder
Here's a minimal reproducible example that should throw the same error. I have tried this on two different computers, and it throws the exact same error.
from psychopy import visual, core, event, data,...
1
vote
0
answers
134
views
Rescaling images in PsychoPy
I am setting up my experiment using PsychoPy and have images of two different sizes, largely due to portrait and landscape formats. Using the standard size attribute, PsychoPy depicts them in square ...
2
votes
1
answer
86
views
Fast direct pixel access in python, go or julia
I wrote a small program that creates random noise and displays it full screen (5K resolution). I used pygame for it. However the refresh rate is horribly slow. Both the surfarray.blit_array and random ...
0
votes
1
answer
891
views
"Pip install psychopy" -> "Getting requirements to build ... error" in python 3.11 on Mac
When I try to use pip to install a package named psychopy on Mac I run into this error:
"Getting requirements to build wheel ... error error: subprocess-exited-with-error Getting requirements to ...
0
votes
1
answer
100
views
PsychoPy imprecise synchronization between stimulus and mask
I am designing an experiment where, in each trial loop, an ImageStim is randomly drawn from a set of ~200 photos (each about 140kb) in a folder. ImageStim would start at 0.0 local trial time, and last ...
0
votes
1
answer
165
views
How to create an image and then display it in psychopy builder?
I want to display the results from my participant in the end of a task, and the easy way I can think of is to store the variables and plot it as an image and save it outside. Then I can load the image ...
1
vote
0
answers
525
views
When running a VNC server, how can I distinguish between local input and remote mouse click events?
I have a computer with a touchscreen where users navigate an interface presented by a Python app. This computer runs a VNC server (x11vnc on Debian). Administrators sometimes assist the users to ...
1
vote
1
answer
389
views
Using OpenCV and multiprocessing, how can I feed information from a variable in one Python script to another?
I am trying to have 2 scripts running in parallel and feeding one with the other.
First I trained a model to decode different gestures. I followed the tutorial right here: https://www.youtube.com/...
0
votes
0
answers
129
views
Connect two PsychoPy Scripts via TCP
What am I trying to achieve?:
I am currently programming a psychological experiment using PsychoPy where 2 participants should perform the task on separate computers and chatting with each other on ...