models.experiment

Overview

Enumerates Bpod experiment supported operations.

Implementation

class pybpodgui_api.models.experiment.Experiment(project)[source]
create_setup()

Create new instance of setup

Return type:Setup
load(path)

Load experiment data from filesystem

Variables:
  • experiment_path (str) – Path of the experiment
  • data (dict) – data object that contains all experiment info
Returns:

Dictionary with loaded experiment info.

remove()

Remove experiment

save()

Save experiment data on filesystem.

Variables:parent_path (dict) – Project path.
Returns:Dictionary containing the experiment info to save.
Return type:dict
name

Get and set the experiment name

Return type:str
path

Get and set the experiment files path

Return type:str
project

Get and set the experiment project

Return type:Project
setups

Get the experiment setups

Return type:list(Setup)
task

Get and set the experiment task

Return type:Task