#
#  sine_grid_4x4.stm  - a Kumbhani-like stimulus using 'gabor_grid'
#

stim_type  gabor_grid  # Direction tuning
stim_samp    1000.0    # Stimulus sampling rate
stim_mean_zero  0      # Stimulus value range, 0-[0,1], 1-[-1,1]
stim_form      3d_b    #
stim_monocular both    # ['both'] 'left' or 'right' to fill only one eye

st0          0.000   # start time (s) sine1
stn        100.000   # duration (s) sine1
cx           0       # Center of aperture along x-axis (deg)
cy           0       # Center of aperture along y-axis (deg)
grid_type  regular   # 'simple', 'regular'
grid_w       4       # Number of grid boxes vertically
grid_h       4       # Number of grid boxes horizontally
n_patch     16       # Number of patches to display (<= grid_w * grid_h)
patch_type sine      # ['gabor'] 'sine'
# dichoptic  same      #
box_w        2.8     # (deg)
box_h        2.8     # (deg)
seed      1777       # Random phase
dir_balance  0.5     # balanced number of patches at each ori
direction    0       # direction (use this as base direction)
theta1      60       # direction relative to 'direction'
theta2     -60       # direction relative to 'direction'
sf           1.0     # Spatial period (cyc/deg)
tf          16.0     # 7.81 15.62 23.44  # Temporal frequency (cyc/sec)

#
#  For 'patch_type = 'sine', the following two parameters are valid, and
#  'sd_orth' and 'sd_par' are not used.
#
size         2.80    # Diameter of patch (deg)
taper_len    0.35    # Length of contrast taper, typ. 1/8 of size (deg)

contrast1    1.0     # Contrast
contrast2    1.0     # Contrast
bgval        0.5     # background value [0..1]
maxlum       1.0     # Maximum luminance
stim_nrpt    1       # Number of repeats

### Parameters below are controlled by the model during execution
stim_frame_xn          128      # x size (pixels)
stim_frame_yn          128      # y size (pixels)
stim_frame_tn          128      # t size (image frames)
stim_frame_sscale        0.1   # spatial scale (deg/pix)
stim_frame_tscale        0.002  # temporal scale (s/frame)
stim_frame_binoc_dxn    16      # width of space between frames (pix)
stim_frame_binoc_amp     0.0    # luminance of space between frames