#
#  qian_pair.stm
#
#  This approximates the pixel scale configuration used by Qian et al. (1994)
#  in their physiology paper:
#     1 pix = 0.056
#     6 deg stimulus diameter = 28.27 deg^2
#     Density is thus 100 pairs / 28.27 deg^2 = 3.54 pairs/deg^2
#  
#  Note, the 'lifetime' value is set short for demo here.
#

stim_type  dot_paired  # Stimulus type
stim_samp  1000.0      # Stimulus sampling rate (images/s)

st0            0.000  # start time (s)
stn            1.000  # duration (s)
direction      0      # Direction of movement (deg)
direction2   180      # Direction of movement (deg) of paired dot field
lifetime       0.026  # Duration of motion (s)
distance       0.4    # Distance covered during lifetime (deg)
offset         0.0    # Spatial offset orthogonal to 'direction' (deg)
ampl1          1.0    # Amplitude of dot field 1
ampl2          1.0    # Amplitude of dot field 2
bgval          0.0    # Background amplitude [0..1]
maxlum         1.0    # Maximum luminance
dotsize        1.0    # SD of Gaussian for dot (pixels)
dotdens        3.54   # Dot pairs per square degree per frame
cx             0.0    # Center of aperture along x-axis (deg)
cy             0.0    # Center of aperture along y-axis (deg)
size           6.0    # Aperture size (degrees of visual angle)
exp_factor     1.0    # expansion factor for size of dot creation field
aptype         1      # Aperture type (0-none, 1-circular, 2-square, 3-Gaussian)
seed        1777      # randomization seed for dots
seed_unpair    0      # randomization seed for UNPAIRED condition [0-paired]
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.05   # spatial scale (deg/pix)
stim_frame_tscale        0.002  # temporal scale (s/frame)