cardioception.HRD.task.responseDecision#

cardioception.HRD.task.responseDecision(this_hr, parameters: dict, feedback: bool, condition: str) Tuple[float, Optional[float], bool, Optional[str], Optional[float], Optional[bool]][source]#

Recording response during the decision phase.

Parameters
this_hrpsychopy sound instance

The sound .wav file to play.

parametersdict

Parameters dictionary.

feedbackbool

If True, provide feedback after decision.

conditionstr

The trial condition [‘More’ or ‘Less’] used to check is response is correct or not.

Returns
responseMadeTriggerfloat

Time stamp of response provided.

responseTriggerfloat

Time stamp of response start.

respProvidedbool

True if the response was provided, False otherwise.

decisionstr or None

The decision made (‘Higher’, ‘Lower’ or None)

decisionRTfloat

Decision response time (seconds).

isCorrectbool or None

True if the response provided was correct, False otherwise.