visigoth.Experiment.compute_performance¶
- Experiment.compute_performance()[source]¶
Extract performance metrics from trial data log.
If the object returned by
run_trialis a pandas Series with fieldscorrectandrt, and if theshow_performancemethod expects to get an arglist that hasmean_acc, mean_rt, then it is not necessary to overload this function.This method has no parameters. It should access the
trial_dataattribute on the Experiment object, which is a list corresponding to each trial where entries in the list are objects returned byExperiment.run_trial().