plots#

Drawing functions. Each one draws on the axes it is given and does not change the data.

Grouped by topic in plots.training, plots.performance, plots.choices, plots.timing, plots.occupancy and plots.online (the online plot of the task). Everything is re-exported here, so import lecilab_behavior_analysis.plots as plots keeps working.

Functions

Modules

choices

Plots of choices: psychometric curves, choices by difficulty, bias, win-stay / lose-switch.

occupancy

Plots of when the box was used, and transitions between events.

online

The online plot: what is happening in a session while the mouse does the task, updated after every trial (in the village, on a Raspberry Pi).

performance

Plots of performance: through trials, by side, repeat or alternate, by decision.

timing

Plots of timing: reaction times, center port holds, trial start times, box usage.

training

Plots of the training history: calendar, trials and water per day, text summaries.