Using Image Files in PsychoPy and Conditional Sorting in Excel
HTML-код
- Опубликовано: 12 сен 2024
- !!! This series have been update for PsychoPy 2021! The new channel is here: / jasonozubko !!!
If you need more help making experiments, I am now available for PsychoPy consulting. I can be reached at jason@psychopyhelp.com. Rates are $60/hr rounded to the nearest 15 minutes, with a $60 minimum. I can help via live video conferencing sessions to talk through problems or work on submitted code to fix problems and/or implement features. Visit my consulting site psychopyhelp.com or email me at jason@psychopyhelp.com for more info.
In this PsychoPy tutorial we look at how to use images instead of word stimuli, and gather ratings at study in PsychoPy which we can use in Excel to classify items at test.
The demo images in this video can be found here: drive.google.c...
This tutorial is part of a series for the Human Cognition and Memory Lab at SUNY Geneseo by Dr. Jason Ozubko
I am now available for PsychoPy consulting! I can help fix experiments or build them from the ground-up to run locally or online in Pavlovia. Visit my consulting site psychopyhelp.com or email me at jason@psychopyhelp.com for more info. My new channel and all future tutorial videos can be found here ruclips.net/user/JasonOzubko
For the PsychoPy main tutorials see: ruclips.net/video/HFIA_KcadJI/видео.html
For the PsychoPy mini tutorials see: ruclips.net/video/JCvEJLjokMQ/видео.html
Thanks everyone!
Hi Jason, thank you for this video.
May I ask you how do you manage to merge all your log files ?
I don't know why but I always encounter this error
"image=ImageName, mask=None,
NameError: name 'ImageName' is not defined"
does anyone know how to fix it?
How do I place two Pictures next to each other at the same time? Cant seem to figure it out. Like in a Ternus Display?
Hi! I want to know whether the session in participant details window, does it refer to the condition/group or the number of partcipant eg: Participant A is the 3rd partcipant and is in the 2nd condition, so will the session be typed as 3 or 2? Please guide.
How to fetch the user's input values and store it into the excel sheet in a new column?
Hi, is there a way to add shapes from the polygon component from excel?
Hi Jason,
I'm working on psychopy for my experiment and I want to change the colors of my image (random; so I need an excel file). I'm doing the same thing for the words (written the color) but it's not working.
Hi Francois, contact me at jason@psychopyhelp.com if you still need help. Might be able to solve the issue with a simple consultation
Very helpful video! Can you please help me? Every time I add an image it shows a black screen and closes it self? Please help😭
You should probably get your CPU-GPU upgraded. Or check if pygame and numpy are installed on your computer. And the driver of graphic card has to be up to date. If there's actually something else, probably you need to reinstall psychopy and python.
@Jason Ozubko Hi, Jason. I have followed the procedure and try to enter the image files into the excel file but i tried lots of times and it said cannot find the images. Is there something I have done wrong? thank you
You probably don't have the script saved in the same folder as your image files or else you've got your image file names type in incorrectly. That'd be my guess
Jason Ozubko thank you for your reply. I have tried to put the psychopy file and the images in the same folder and double check with the image name but it’s still not working. If I put the whole folder in the desktop do I need to enter the whole path for the image? Or is there anything else that I may do wrongly?
You'll probably have to ask for help on the psychopy forums. I'm not sure at this point
Hi Im not sure if you will see this, but how can I put two images to appear on the screen at the same time???
Thank you
No problem. Just add another image object to your slide. You can add as many as you want. You'll have to mess around with their position and size in order to make sure they are not overlapping but there's really no limit as to how many images you have on the screen at once.
@@DrOzubko Hi Jason, I'm trying to insert two different facial images into the same 'Routine', but I need the first/left image to adhere to a certain parameter (be a happy face) whilst still being randomized (within the happy subset of images) and the second/right image to be of adhere to a second parameter (be an unhappy face) whilst also being randomized (within unhappy subset of images). Is there anyway to do this? any advice would be appreciated, Thanks.
@@jackbroome1335 Hi Jack. I actually JUST released a video covering that topic. The video was called Randomizing Two Lists of Stimuli within a Single Loop. In the video I am randomizing words and colours but you could be randomizing image file names just as easily. ruclips.net/video/JhFeiMXj-fU/видео.html
@@DrOzubko Thanks very much for the quick response. As I need to host the experiment online I don't think the '=rand' technique will work, but I'll try to adapt your script from PsychoPy Scripting and Randomizing Stimulus Lists video instead. Thanks again.
Your predicament inspired me to create a follow-up video: ruclips.net/video/r0z6lGhuaEY/видео.html
Hope it helps!