Plotter
Overview
Members
-
class Plotter
Public Functions
-
void sync()
Syncs with Python plotter. Note that this function will block until the plotter is ready.
-
void sendFrequencyGameData(string buttonPressed, float seconds, int level, float stimRate)
sends data to python plotter for real-time plotting
This function MUST be called only after syncing both end of the plotter.
- Parameters:
buttonPressed –
string
the button that was pressedseconds –
float
the current frame, converted to secondslevel –
int
the “level” in the frequency spacestimRate –
float
the current rate of stimulation, or whatever is being affected by the level
-
void close()
Closees the plotter connection.
-
void sync()