models.session
¶
Overview¶
Enumerates Bpod session supported operations.
Implementation¶
-
class
pybpodgui_api.models.session.
Session
(setup)[source]¶ -
load
(path)¶ Parameters: - session_path –
- data –
Returns:
-
load_contents
(init_func=None, update_func=None, end_func=None)¶ Parses session history file, line by line and populates the history message on memory.
-
load_info
()¶
-
remove
()¶ Remove the session from the project
-
save
()¶ Parameters: parent_path – Returns:
-
STATUS_READY
= 0¶
-
STATUS_SESSION_RUNNING
= 1¶
-
ended
¶ Get and set the end datetime of the session
Return type: datetime.datetime
-
filepath
¶
-
is_running
¶
-
started
¶ Get and set the start datetime of the session
Return type: datetime.datetime
-
subjects
¶ Get and set session name
Return type:
-
variables
¶
-