API#

Every function has a docstring. The modules utils, df_transforms, plots and figure_maker only re-export these functions under their old names, for old code.

lecilab_behavior_analysis.io

Reading data: paths and copies from the cluster (server) and csv files (loading).

lecilab_behavior_analysis.preprocessing

Preparing the data once, before any analysis or figure (see prepare()).

lecilab_behavior_analysis.data_format_changes

Changes in the format of the data saved by the tasks.

lecilab_behavior_analysis.metrics

Numbers and tables computed from the trials.

lecilab_behavior_analysis.models

Model fitting: psychometric curves and logistic regressions.

lecilab_behavior_analysis.plots

Drawing functions.

lecilab_behavior_analysis.figures

Figures made of panels: render.py (how a figure is drawn), panels.py (each plot) and layouts.py (which panels make each figure).

lecilab_behavior_analysis.reports

Ready-made tables and figures for the daily report.