Nearest will use a nearest-neighbour rule. interpolate : If linear is selected then linear interpolation will be applied when the image is rescaled to the appropriate size for the screen. For most cases a value of 256 pixels will suffice, but if stimuli are going to be very small then a lower resolution will use less memory. Texture Resolution : an integer (power of two) Defines the size of the resolution of the texture for standard textures such as sin, sqr etc. The advantage of this is that is if you set the phase according to time it is automatically in Hz. A phase of 0.25 will cause the image to shift by half a cycle (equivalent to pi radians). is equivalent, causing the texture to be centered on the mask. The phase has units of cycles (rather than degrees or radians), wrapping at 1. That is, PsychoPy needs to know both the resolution of your screen and its physical. If a single value is given it will be applied to both dimensions. When you select a unit like cm, you need to have a defined monitor. phase : single float or pair of values The position of the texture within the mask, in both X and Y. If this is set to none then only one cycle will be displayed. The units are dependent on the specified units for the stimulus/window if the units are deg then the SF units will be cycles/deg, if units are norm then the SF units will be cycles per stimulus. sd=size/6) units : deg, cm, pix, norm, or inherit from window See Units for the window and stimuliĪdvanced Settings ¶ colour : See Color spaces colour space : rgb, dkl or lms See Color spaces SF : or a single value (applied to x and y) The spatial frequency of the texture on the patch. If the mask is a Gaussian then the size refers to width at 3 standard deviations on either side of the mean (i.e. pos : The position of the centre of the stimulus, in the units specified by the stimulus or window size : or a single value (applied to x and y) The size of the stimulus in the given units of the stimulus/window. ori : degrees The orientation of the entire patch (texture and mask) in degrees. circle will make the patch circular) or something which overlays the patch e.g. mask : a filename, a standard name (‘gauss’, ‘circle’) or a numpy array of dimensions NxNx1 The mask can define the shape (e.g. If this is set to none, the patch will be a flat colour. The image can be repeated on the patch (in either x or y or both) by setting the spatialįrequency to be high (or can be stretched so that only a subset of the image appears by settingįilenames can be relative or absolute paths and can refer to most image formats (e.g. image : a filename, a standard name (‘sin’, ‘sqr’) or a numpy array of dimensions NxNx1 or NxNx3 This specifies the image that will be used as the texture for the visual patch. See Defining the onset/duration of components for details. stop : Governs the duration for which the stimulus is presented. start : The time that the stimulus should first appear. The name should contain only letters, numbers and underscores (no punctuation marks or spaces). It doesn’t recognize the excel column for sizing units when I make the study online, but it recognizes it on Psychopy builder.Parameters ¶ name : string Everything in a PsychoPy experiment needs a unique name. However, if I keep the image size a fixed number without considering the excel column, all of the images show up in that norm size, but I want to be able to use different norm sizes for certain images, not the same norm size for all images. Or is there a way in which I can present images online without the image taking up the whole screen? I’m doing everything from Builder and transferring it to Pavlovia.Įdit: I tried changing the sizing units in the excel file to translate into norm units (i.e., one image had size and the other had size for example) and when I changed the image size to $size, the images did not show up at all. I guess I want to convert my cm units to norm units, so the images don’t shrink or stretch. When I use height for my online study, the image takes up the whole screen, meanwhile when I use pixels the images don’t show up at all (but the study continues). However, it doesn’t seem that Pavlovia considers sizing units apart from height, norm, or pixels. Originally, on Builder, I had my image size set to ‘cm’ units so I controlled every image size on Excel. I am trying to fix the image size in my experiment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |