iblrig.online_plots.OnlinePlots

Inheritance diagram of OnlinePlots

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)

__init__(settings_file=None)[source]
display_full_jsonable(jsonable_file)[source]
Parameters:

jsonable_file (Path | str)

run(file_jsonable)[source]

Watch a jsonable file in conjunction with an iblrigv8 running task (for online use).

Parameters:

file_jsonable (Path or str) – The sessions jsonable file

Parameters:

file_jsonable (Path | str)

Return type:

None

update_graphics(pupdate=None)[source]
Parameters:

pupdate (float | None)

update_titles()[source]
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 record

  • bpod_data (dict) – doct interpreted from the bpod json dump

  • return: