Comments (3)
You have set the size of option1Image
to be set every repeat
rather than constant. When you do this the size is initially set to a fixed arbitrary value (in this case a value of 1) and only gets set to (win.size[0]/5,None)
when the trial
Routine actually begins (on each repeat of the loop). Your option3Image
is set to constant
so it gets its size setting applied when it is initialised.
So the image init code being written here is exactly as expected, but the code change you're looking for is not where you expected.
Now, there's still a question of why are the images are a different size when set during init or set later, and that's one we'll need to investigate 🤔
from psychopy.
You have set the size of
option1Image
to beset every repeat
rather than constant. When you do this the size is initially set to a fixed arbitrary value (in this case a value of 1) and only gets set to(win.size[0]/5,None)
when thetrial
Routine actually begins (on each repeat of the loop). Youroption3Image
is set toconstant
so it gets its size setting applied when it is initialised.So the image init code being written here is exactly as expected, but the code change you're looking for is not where you expected.
Now, there's still a question of why are the images are a different size when set during init or set later, and that's one we'll need to investigate 🤔
Sharp eye! I hadn't noticed that! I'm editing everything next week, I'll see if changing those things you pointed out on my end can have a different effect. Thanks!
from psychopy.
I am thinking these issues may be related. The experiment I had been working on utilized Emotiv EEG components. I had to do some changes and disabled the Emotiv EEG components. After re-enabling them, I consistently recieved errors that cortex_rec_2 is not defined, or something along those lines. After creating an identical experiment from scratch it works!
I think that I am experiencing these issues when I disable a component for testing, then reenable it after, but I'm not entirely sure yet.
from psychopy.
Related Issues (20)
- [Bug]: Can't run PsychoPy after conda installation on Mac Sonoma HOT 6
- [Bug]: PsychPy is unable to load images from a public online source. Specifically, it is unable to load an image from a public AWS s3 bucket, as in: https://neurotype-images.s3.us-east-2.amazonaws.com/affective-images/004504.jpg HOT 4
- psychopy components can't open [Bug]: HOT 15
- [Bug]: Extremely slow rendering of colors HOT 2
- [Bug]: Editable TextBox2 line spacing contamination HOT 2
- [Bug]: Pandas version differs across operating systems HOT 1
- [Bug]: 2024.1.1 is packaged with Python 3.8.x but will not run locally with said version HOT 2
- [Bug]: Two Counterbalance routines with the same name can be added / Conditions file is not updated in Counterbalance routine
- [Bug]:
- [Bug]: System default audio device not used in versions >= 2024
- [Bug]: `Dlg` example raises an exception HOT 2
- Is the entire `pyobjc` package collection required? HOT 1
- [Bug]: Use of pythonw on macos conda/mamba environments breaks app HOT 4
- [Bug]: Space character in column name of conditions file yields `UnboundLocalError` in Builder
- [Bug]: Mistake in documentation for FormComponent
- [Bug]: OverflowError: line number table is too long
- [Bug]: pkg_resources is deprecated
- [Bug]: crash after launch on Ubuntu 22.04
- [Bug]: Not able to connect to my Pavlovia account when running local psychopy version HOT 4
- [Feature Request]: Using serial port without access to the port HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psychopy.