iblrig.online_plots.OnlinePlots
![Inheritance diagram of OnlinePlots](../_images/inheritance-ce54851577643e31018cc4a3d45fd2665a7906fe.png)
- class iblrig.online_plots.OnlinePlots[source]
Full object to implement the online plots Either the object is instantiated in a static mode from an existing jsonable file and it will produce the figure >>> oplt = OnlinePlots(settings) Or it can be instantiated empty, and then run on a file during acquisition. Use ctrl + Z to interrupt >>> OnlinePlots().run(jsonable_file)
- run(file_jsonable)[source]
Watch a jsonable file in conjunction with an iblrigv8 running task (for online use).
- update_trial(trial_data, bpod_data)[source]
Update, both, the data model and the graphics for an upcoming trial.
- Parameters:
trial_data (
pandas.DataFrame
) – pandas recordbpod_data (
dict
) – doct interpreted from the bpod json dumpreturn: