#
#  rls_plaid.html
#
#  Flicker plaid - random line stimulus plaid - Quaia et al.
#

stim_type barnoise    # Spatial grid white-noise stimulus
stim_samp 1000.0      # Stimulus sampling rate

st0                0       # Stimulus start time (s)
stn               10       # Stimulus duration (s)
cx                 0       # center location (deg)
cy                 0       # center location (deg)
nbar              48       # number of bars
bar_width_pix      4       # bar width (pix), or use "bar_width 0.1 # (deg)"
bar_length        20.0     # bar length (deg)
border             1.0     # Distance (pix) from bar borders for anti-aliasing

direction         45       # orientation of bars (0..360 deg)
                           #   NOTE, This 'direction' becomes an offset if
                           #   'mask_direction' instead of 'mask_dir_offset' 
                           #   is used below.

distrib            2       # 2-binary, 3-ternary
dwell              3       # duration of each bar value (raw tscale units)
seed            1777       # randomization seed
contrast           0.5     # Contrast
maxlum             1.0     # Maximum luminance
bgval              0.5     # Background luminance
stim_nrpt          1       # Number of times to repeat each stimulus

#
#  These parameters allow the addition of a moving mask pattern
#
mask_speed        30.0     # (deg/s) drift speed
#mask_dir_offset  45       # Offset of mask direction
mask_direction     0       # Direction of mask, noise 'direction' is offset
mask_distrib       3       # 2-binary, 3-ternary
mask_seed      98103       # Seed for moving bar pattern
mask_contrast      0.5     # Contrast of mask

stim_frame_xn    128      #  x size
stim_frame_yn    128      #  y size
stim_frame_tn    128      #  t size
stim_frame_sscale  0.1    # degr/pix
stim_frame_tscale  0.002  # sec/frame