session_summary#

session_summary(df: DataFrame, perf_window: int = 50, perf_hue: str | None = None, width: float | None = None, height: float | None = None, style: str | Style | None = None) → Tuple[Figure, List[PanelProblem]][source]#

Summary of some trials of one subject, usually one day. Returns (figure, panels that failed).

Parameters:
  • df – trials (raw or already prepared; a day of prepared data keeps the trial numbers of the whole history).

  • perf_window – number of trials of the performance window.

  • perf_hue – column that colors the performance (default: training stage if there are several, otherwise stimulus modality).

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