visigoth.Experiment.compute_performance

Experiment.compute_performance()[source]

Extract performance metrics from trial data log.

If the object returned by run_trial is a pandas Series with fields correct and rt, and if the show_performance method expects to get an arglist that has mean_acc, mean_rt, then it is not necessary to overload this function.

This method has no parameters. It should access the trial_data attribute on the Experiment object, which is a list corresponding to each trial where entries in the list are objects returned by Experiment.run_trial().