StimVector

Overview

Members

class StimVector

Public Functions

StimVector(bool isRandom = true, int stimRate = 5, bool maxtwo = false, float interval = 0.001, float shuffleFrequency = 5)

Construct a new Stim Vector object.

Parameters:
  • isRandombool indicates whether the object should simulate a random or regular stimulation pattern

  • stimRateint stimulation rate in stimulations per second; must be >= 0 and <= FPS, default 5

  • maxtwobool indicates if the program is running on the maxtwo, default false

  • intervalfloat space between “bins” for shuffling, in seconds, default 0.001

  • shuffleFrequencyfloat length of shuffle window, in seconds, default 5