$[STIMULUSSECTION=No]{

Stimuli.

}

$[Name] Stimulus.

The '$[Name]' stimulus was a $[CarrierShape=Grating] { $[EnvelopType=Full Field]{full field} $[CarrierType] grating $[EnvelopType<>Full Field]{within a $[EnvelopShape] $[EnvelopType] envelope} $[EnvelopType=Gaussian]{$[EnvelopShape=Circular]{$[CarrierType=Sinusoidal]{(Gabor patch)}}} } $[CarrierShape=Radial] { radial $[EnvelopType=Full Field]{full field} $[CarrierType] grating $[EnvelopType<>Full Field]{within a $[EnvelopShape] $[EnvelopType] envelope} } $[CarrierShape=Noise] { $[EnvelopType=Full Field]{full field} $[NoiseDim] $[NoiseType] $[NoiseColor] noise $[EnvelopType<>Full Field]{within a $[EnvelopShape] $[EnvelopType] envelope} } defined by the equation:

$[EnvelopType<>Full Field]{$[TeXMath=No]{carrier(x,y) = }$[TeXMath=Yes]{\mathrm{carrier}(x,y) = }} $[EnvelopType=Full Field]{$[TeXMath=No]{g(x,y) = c . }$[TeXMath=YES]{\mathrm{g}(x,y) = c \cdot}} $[CarrierShape=Grating] { $[TeXMath=No]{cos(2.π.f.[x.sin(θ) + y.cos(θ)] + φ)} $[TeXMath=Yes]{\cos (2 \pi f (x \sin (\theta) + y \cos (\theta)) + \phi)}
} $[CarrierShape=Radial] { $[TeXMath=No]{cos(2.π.f.r + φ)} $[TeXMath=Yes]{\cos (2 \pi f r + \phi)}
} $[CarrierShape=Noise] { $[NoiseType=Binary] { $[NoiseColor=Pink] { $[NoiseDim=1D]{$[TeXMath=No]{bnoise(x)}$[TeXMath=Yes]{\mathrm{bnoise}_{1/f}(x)}} $[NoiseDim=2D]{$[TeXMath=No]{bnoise(x,y)}$[TeXMath=Yes]{\mathrm{bnoise}_{1/f}(x,y)}} } $[NoiseColor<>Pink] { $[NoiseDim=1D]{$[TeXMath=No]{bnoise1/f(x)}$[TeXMath=Yes]{\mathrm{bnoise}(x)}} $[NoiseDim=2D]{$[TeXMath=No]{bnoise1/f(x,y)}$[TeXMath=Yes]{\mathrm{bnoise}(x,y)}} } } $[NoiseType=Uniform] { $[NoiseColor=Pink] { $[NoiseDim=1D]{$[TeXMath=No]{unoise(x)}$[TeXMath=Yes]{\mathrm{unoise}_{1/f}(x)}} $[NoiseDim=2D]{$[TeXMath=No]{unoise(x,y)}$[TeXMath=Yes]{\mathrm{unoise}_{1/f}(x,y)}} } $[NoiseColor<>Pink] { $[NoiseDim=1D]{$[TeXMath=No]{unoise1/f(x)}$[TeXMath=Yes]{\mathrm{unoise}(x)}} $[NoiseDim=2D]{$[TeXMath=No]{unoise1/f(x,y)}$[TeXMath=Yes]{\mathrm{unoise}(x,y)}} } } $[NoiseType=Gaussian] { $[NoiseColor=Pink] { $[NoiseDim=1D]{$[TeXMath=No]{gnoise(x)}$[TeXMath=Yes]{\mathrm{gnoise}_{1/f}(x)}} $[NoiseDim=2D]{$[TeXMath=No]{gnoise(x,y)}$[TeXMath=Yes]{\mathrm{gnoise}_{1/f}(x,y)}} } $[NoiseColor<>Pink] { $[NoiseDim=1D]{$[TeXMath=No]{gnoise1/f(x)}$[TeXMath=Yes]{\mathrm{gnoise}(x)}} $[NoiseDim=2D]{$[TeXMath=No]{gnoise1/f(x,y)}$[TeXMath=Yes]{\mathrm{gnoise}(x,y)}} } }
} $[EnvelopType<>Full Field] { $[EnvelopShape=Circular] { $[EnvelopSigma=0] { $[EnvelopOrientation=0] { $[EnvelopAspectRatio=1]{$[TeXMath=No]{envelope(x,y) = H(R-r)}$[TeXMath=Yes]{\mathrm{envelope}(x,y) = \mathrm{H}(R-r)}
} $[EnvelopAspectRatio<>1]{$[TeXMath=No]{envelope(x,y) = H(1-[abs(x)/R]²-[abs(y)/(R.α)]²)}$[TeXMath=Yes]{\mathrm{envelope}(x,y) = \mathrm{H} \left(1-\frac{|x|^2}{R^2}-\frac{|y|^2}{(R \alpha)^2}\right)}
} } $[EnvelopOrientation<>0]{envelope(x,y) = H(1-[abs(x.cos(ψ) + y.sin(ψ))/R]²-[abs(x.sin(ψ) - y.cos(ψ))/(R.α)]²)
} } $[EnvelopSigma<>0] { $[EnvelopOrientation=0] { $[EnvelopAspectRatio=1] { $[EnvelopRadius<>0]{envelope(r) = exp(-[HWR(r-R)²]/[2.σ²])
} $[EnvelopRadius=0] { $[TeXMath=No]{envelope(r) = exp(-r²/[2.σ²])} $[TeXMath=Yes]{\mathrm{envelope}(r) = \exp\left(-\frac{r^2}{2 \sigma^2}\right)}
} } $[EnvelopAspectRatio<>1] { $[EnvelopRadius<>0]{[no description available yet]
} $[EnvelopRadius=0]{$[TeXMath=No]{envelope(x,y) = exp(-[x²+(y/α)²]/[2.σ²]}$[TeXMath=Yes]{\mathrm{envelope}(x,y) = \exp\left(-\frac{x^2+(y/ \alpha)^2}{2 \sigma^2}\right)}
} } } $[EnvelopOrientation<>0] { $[EnvelopAspectRatio=1] { $[EnvelopRadius<>0]{envelope(r) = exp(-[HWR(r-R)²]/[2.σ²])
} $[EnvelopRadius=0]{envelope(r) = exp(-r²/[2.σ²])
} } $[EnvelopAspectRatio<>1] { [no description available yet] } } } } $[EnvelopShape=Square] { $[EnvelopOrientation<>0]{$[EnvelopSigma=0]{envelope(x,y) = H([x.cos(ψ) - y.sin(ψ)]-R).H([x.sin(ψ) + y.cos(ψ)]-R*α)
}} $[EnvelopOrientation=0]{$[EnvelopSigma=0]{envelope(x,y) = H(x-R).H(y-R*α)
}} } $[TeXMath=No]{g(x,y) = c . carrier(x,y) . envelope(x,y)} $[TeXMath=Yes]{\mathrm{g}(x,y) = c \cdot \mathrm{carrier}(x,y) \cdot \mathrm{envelope}(x,y)} }

where:

x and y are the Cartesian 2D coordinates relative to the stimulus centre,
r is the radial polar coordinate relative to the stimulus centre defined by $[TeXMath=No]{ x² + y² } $[TeXMath=Yes]{\sqrt{x^2+y^2}}
c is the contrast,
$[CarrierShape=Grating] { f  is the spatial frequency of the $[CarrierType=Square-Wave]{square-wave}$[CarrierType=Sinusoidal]{Cosinusoidal} carrier ($[CarrierSF] cpd),
θ  is the orientation of the carrier ($[CarrierOrientation] deg),
φ  is the spatial phase of the carrier ($[CarrierPhase] deg),
} $[CarrierShape=Radial] { f  is the spatial frequency of the $[CarrierType=Square-Wave]{square-wave}$[CarrierType=Sinusoidal]{Cosinusoidal} carrier ($[CarrierSF] cpd),
φ  is the spatial phase of the carrier ($[CarrierPhase] deg),
} $[CarrierShape=Noise]{} $[EnvelopType<>Full Field] { $[EnvelopRadius=0] { $[EnvelopType=Gaussian]{σ  is the space constant of the $[EnvelopType] envelope ($[EnvelopSigma] deg),
} $[EnvelopAspectRatio<>1] { $[EnvelopOrientation<>0]{ψ    is the orientation of the envelope ($[EnvelopOrientation] deg),
} α    is the aspect ratio of the envelope ($[EnvelopAspectRatio]),
} } $[EnvelopRadius<>0] { $[EnvelopShape=Circular]{R    is the radius of the circular envelope ($[EnvelopRadius] deg),
} $[EnvelopShape=Square]{R    is the length of the rectangular envelope ($[EnvelopRadius] deg),
} $[EnvelopSigma<>0]{σ    is the space constant of the smooth edge ($[EnvelopSigma] deg),
} $[EnvelopAspectRatio<>1] { $[EnvelopOrientation<>0]{ψ    is the orientation of the envelope ($[EnvelopOrientation] deg),
} α    is the aspect ratio of the envelope ($[EnvelopAspectRatio]),
} H() is the unit step function,
$[EnvelopSigma<>0]{$[EnvelopAspectRatio=1]{$[EnvelopRadius<>0]{HWR() is the half-wave rectification function,
}}} } }

$[FIGURENUMBER?1] {
$[STIMULUSPREVIEW]
Figure $[FIGURENUMBER]: Example of $[Name] stimulus

}

This '$[Name]' stimulus was defined in the $[ContrastColorSpace:Name] space $[ContrastColorSpace:Name<>Achromatic]{(in the direction defined by the tri-stimulus [$[ContrastColorSpace:Val1], $[ContrastColorSpace:Val2], $[ContrastColorSpace:Val3]])} and its $[ContrastLuminanceType] was set to $[ContrastLuminanceType=Contrast]{$[Contrast]}$[ContrastLuminanceType=Luminance]{$[Luminance]} %. $[RDK?0]{$[MEF?0]{$[SSS?0]{ It was displayed at the $[PositionCoordinates] location ($[PositionXR], $[PositionYTheta]) relative to the display centre for a duration of $[Duration] seconds. }}} $[MEF?1] { $[MEF:VARIABLENBELEMENTS?1]{A variable number ($[MEF:VARIABLENBELEMENTS] % of total)}$[MEF:VARIABLENBELEMENTS?0]{A fixed number ($[MEF:NbElements] or $[MEF:PercentElements] % of total)} of instances of this stimulus were $[MEF:Distribution=Random]{randomly} pasted in the multi-elements field with a specific rotation ($[MEF:CoherentRotation]) with some spatial jitter (according to a uniform distribution in the ±$[MEF:SpatialJitter] deg range) and orientation jitter (according to a uniform distribution in the ±$[MEF:OrientationJitter] deg range). $[MEF:Lifetime<>infinity] { Each element had a limited-lifetime of $[MEF:Lifetime] seconds after which they were $[MEF:LifetimeMode=Field Update Async]{repositioned asynchronously at the same grid location but with different spatial and orientation jitters.} $[MEF:LifetimeMode=Field Update Sync]{repositioned synchronously at the same grid location but with different spatial and orientation jitters.} $[MEF:LifetimeMode=On-Off Async]{disappearing asynchronously for the same duration before reappearing at the same location.} $[MEF:LifetimeMode=On-Off]{disappearing asynchronously for the same duration before reappearing at the same location.} $[MEF:LifetimeMode=On-Off Sync]{disappearing synchronously for the same duration before reappearing at the same location.} $[MEF:LifetimeMode=Shuffle Async]{repositioned asynchronously at a different grid location with different spatial and orientation jitters.} $[MEF:LifetimeMode=Shuffle Sync]{repositioned synchronously at the different grid location with different spatial and orientation jitters.} } } $[RDK?1] { $[RDK:VARIABLENBELEMENTS?1]{A variable number ($[RDK:VARIABLENBELEMENTS] % of total)}$[RDK:VARIABLENBELEMENTS?0]{A fixed number ($[RDK:DotsNumber] or $[RDK:CoherenceLevel] % of total)} of instances of this stimulus were randomly pasted in a $[RDK:ZoneShape=Disk]{circular} RDK area with a diameter of $[RDK:ZoneSize] deg located at the $[RDK:PositionCoordinates] location ($[RDK:PositionXR], $[RDK:PositionYTheta]) relative to the display centre, and moving with a speed of $[RDK:DotSpeed] deg/s according to a $[RDK:MotionType] motion $[RDK:MotionType=Uniform]{in a $[RDK:CoherentDirection] deg direction} for a duration of $[RDK:Duration] seconds. $[RDK:Lifetime<>infinity] { Each element had a limited-lifetime of $[RDK:Lifetime] seconds after which they were randomly repositioned inside the area.
} } $[TIMELINE=Yes] { $[OnsetMode?1] { This stimulus was presented with $[OnsetMode=0]{a stimulus onset asynchrony (SOA)}$[OnsetMode=1]{an inter-stimulus interval (ISI)} of $[Onset] seconds relative to the $[SOAEvent?0]{timeline onset}$[SOAEvent?1]{'$[SOAEvent]' stimulus}. } }