visigoth.Experiment.save_data¶
- Experiment.save_data()[source]¶
Write out data files at the end of the run.
If the object returned by
run_trial
is a pandas Series and you don’t want to do anything special at the end of the experiment, it’s not necessary to overload this function. However, it can be defined for each study to allow for more complicated data structures or exit logic.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()
.