choices#

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

Functions

bias_triangle_plot

Side and alternation bias in a triangle: a point per row of df (from metrics.choices.get_bias_evolution_df), e.g. one per mouse, per session or per group of trials.

bias_vs_trials_plot

choice_by_difficulty_plot

Plot the performance by difficulty of each trial.

plot_decision_evolution_triangle

The older bias triangle (lines from points_to_lines_for_bias_evolution); see bias_triangle_plot.

plot_filter_model_variables

Plot the mean correlation matrix and the mean contribution of each variable.

pointplot_stimulus_dual_dependence

Plot a pointplot showing the dependence of a column on the stimulus evidence, with different lines for a different variable (e.g., overall dB).

psychometric_plot

triangle_polar_plot

win_stay_lose_switch_plot

Win-stay (y) against lose-switch (x) probabilities, in a square from 0 to 1: a point per row of df (from metrics.choices.get_win_stay_lose_switch_df), e.g. one per session, per mouse or per group of trials.