iblrig.online_plots.DataModel
- class iblrig.online_plots.DataModel[source]
The data model is a pure numpy / pandas container for the choice world task. It contains: - a psychometrics dataframe that contains the count / choice and response time per signed contrast and block contingency - a last trials dataframe that contains 20 trials worth of data for the timeline view - various counters such as ntrials and water delivered
- compute_end_session_criteria()[source]
Implement critera to change the color of the figure display, according to the specifications of the task.
- contrast_set = array([0. , 0.0625, 0.125 , 0.25 , 0.5 , 1. ])
- ntrials = 0
- ntrials_correct = 0
- ntrials_engaged = 0
- ntrials_nan = nan
- percent_correct = nan
- percent_error = nan
- probability_set = array([0.2, 0.5, 0.8])
- task_settings = None
- time_elapsed = 0.0
- water_delivered = 0.0