iblrig.gui.online_plots.OnlinePlotsModel

Inheritance diagram of OnlinePlotsModel

class iblrig.gui.online_plots.OnlinePlotsModel[source]
__init__(session, parent=None)[source]
Parameters:
  • session (Annotated[Path, PathType(path_type=file)] | Annotated[Path, PathType(path_type=dir)] | Annotated[UUID, UuidVersion(uuid_version=4)])

  • parent (QObject | None)

bpod_data(trial)[source]
Parameters:

trial (int)

Return type:

DataFrame

compute_end_session_criteria()[source]

Implement critera to change the color of the figure display, according to the specifications of the task.

currentTrial()[source]
Return type:

int

getSessionString()[source]
Return type:

None

getTitle()[source]
Return type:

str

nTrials()[source]
Return type:

int

percentCorrect()[source]
Return type:

float

readJsonable(_)[source]
Parameters:

_ (str)

Return type:

None

setCurrentTrial(value)[source]
Parameters:

value (int)

Return type:

None

timeElapsed()[source]
Return type:

timedelta

contrast_set = array([0.    , 0.0625, 0.125 , 0.25  , 0.5   , 1.    ])
currentTrialChanged

str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Type:

pyqtSignal(*types, name

probability_set = array([0.2, 0.5, 0.8])
sessionString = ''
sessionStringAvailable

str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Type:

pyqtSignal(*types, name

tableModel = <iblrig.gui.online_plots.TrialsTableModel object>
titleChanged

str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Type:

pyqtSignal(*types, name

titleColorChanged

str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Type:

pyqtSignal(*types, name