Newer
Older
adaptive-nback / py / skewed_random_generator.py


#trials = 100              # Number of total trials
#T  = 20                    # Number of targets
#L1 = 10                   # Number of lures (foil) similar to the (N+1)-back
#L2 = 10                   # Number of lures (foil) similar to the (N-1)-back
#D  = trials - L1 - L2 - T  # Number of distractors

def generate(N = 2, trials = 100, T = 20, L1 = 10, L2 = 10):
  D = trials - T - L1 - L2
  pass