I am not sure how my computer is the thing at issue here. The decrease is much more significant here. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. May still contain software viruses which could damage your computer system, you are advised to perform your own checks. This message has been checked for viruses but the contents of an attachment Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. Please do not use, copy or disclose the information contained in this message or in any attachment. If you have received this message in error, please send it back to me, and immediately delete it. This message and any attachment are intended solely for the addressee and may contain confidential information. Actually, I say this but I'm not even sure if you're usingīuilder or coder, so that might not make sense. Outputs? What happens if you save the (simpler) trial-by-trial csv file What do you mean by "when I submit videos with the rating scales"? HowĪre you doing this? Usually only a response is stored, not a wholeĪre you saving excel (xlsx) files rather than trial-by-trial csv > memory increasing up to around 7000k and around half of that when I > the videos as when I submit the videos with the rating scales the Note: you do not need to set pos=(0,0) and mask=None as that is the default value of these parameters.> The issue I think is more so from the excel file holding the data then Change max to min if you want this to apply to the minimum length instead of the maximum length. Multiplying maintains aspect ratio as above and the righthand side is the multiplication factor to ensure scale. Replace the last line above with this: faceRGB.size *= scale / max(faceRGB.size) Say you want to set the image size so that scale is the maximum length along either the x- og y-axis and scale the other axis proportionally. If you want to control size directly and not just proportionally, see this discussion on the users list. add one line after initiating the ImageStim: scale = 0.7įaceRGB = visual.ImageStim(win, 'male.jpg')įaceRGB.size *= scale # scale the image relative to initial size Scaling the image will preserve this aspect ratio, so that's an easy solution. If you don't change the size of the image, PsychoPy maintains the correct aspect ratio. You may have a situation where you (1) change the size of the image and (2) the image just happens to have the correct dimensions when presented in the default 800 x 800 pixels Window but appears stretched when you go fullscreen because your monitor has another aspect ratio. By default, PsychoPy uses 'norm' as units, which is size normalized to the window dimensions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |