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 fieldscorrect
andrt
, and if theshow_performance
method 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_data
attribute on the Experiment object, which is a list corresponding to each trial where entries in the list are objects returned byExperiment.run_trial()
.