subject_progress#

subject_progress(df: DataFrame, perf_window: int = 50, events_df: DataFrame | None = None, summary_matrix_plot: bool = False, width: float | None = None, height: float | None = None, style: str | Style | None = None) → Tuple[Figure, List[PanelProblem]][source]#

Training history of one subject. Returns (figure, panels that failed).

Parameters:
  • df – trials of one subject (raw or already prepared).

  • perf_window – number of trials of the performance window.

  • events_df – events of the setup, for the engagement panel (optional).

  • summary_matrix_plot – add a row with the choices by difficulty per session.

  • style – “report”, “publication”, “full” or a Style (see style.py); default: the active style.