iblrig.gui.wizard.RigWizardModel

Inheritance diagram of RigWizardModel

class iblrig.gui.wizard.RigWizardModel[source]

RigWizardModel(alyx: one.webclient.AlyxClient | None = None, procedures: list | None = None, projects: list | None = None, task_name: str | None = None, user: str | None = None, subject: str | None = None, session_folder: pathlib.Path | None = None, free_reward_time: float | None = None, file_iblrig_settings: pathlib.Path | str | None = None, file_hardware_settings: pathlib.Path | str | None = None)

__init__(alyx=None, procedures=None, projects=None, task_name=None, user=None, subject=None, session_folder=None, free_reward_time=None, file_iblrig_settings=None, file_hardware_settings=None)
Parameters:
  • alyx (AlyxClient | None)

  • procedures (list | None)

  • projects (list | None)

  • task_name (str | None)

  • user (str | None)

  • subject (str | None)

  • session_folder (Path | None)

  • free_reward_time (float | None)

  • file_iblrig_settings (str | Path | None)

  • file_hardware_settings (str | Path | None)

Return type:

None

free_reward()[source]
get_session(task_name)[source]

Get a session object for the given task name.

Parameters:

task_name (str) – The name of the task

Returns:

The session object for the given task name

Return type:

BaseSession

Parameters:

task_name (str)

get_task_extra_parser(task_name)[source]

Get an extra parser for the given task name.

Parameters:

task_name – The name of the task

Returns:

The extra parser for the given task name

Return type:

ArgumentParser

Parameters:

task_name (str)

get_task_parameters(task_name)[source]

Return parameters for the given task.

Parameters:

task_name – The name of the task

Returns:

The parameters for the given task

Return type:

Bunch

Parameters:

task_name (str)

login(username, password=None, do_cache=False, alyx_client=None, gui=False)[source]
Parameters:
Return type:

bool

logout()[source]
alyx: AlyxClient | None = None
file_hardware_settings: Path | str | None = None
file_iblrig_settings: Path | str | None = None
free_reward_time: float | None = None
procedures: list | None = None
projects: list | None = None
session_folder: Path | None = None
subject: str | None = None
property task_file: Path
task_name: str | None = None
test_subject_name = 'test_subject'
user: str | None = None