cardioception.HBC.task.trial#
- cardioception.HBC.task.trial(condition, duration, nTrial, parameters)[source]#
Run one trial.
- Parameters
- conditionstr
The trial condition, can be “Rest” or “Count”.
- durationint
The lenght of the recording (in seconds).
- ntrialint
Trial number.
- parametersdict
Task parameters.
- Returns
- nCountint
The number of heartbeat estimated by the participant.
- confidenceint
The confidence in the estimation of the heartbeat provided by the participant.
- confidenceRTfloat
The response time to provide confidence rating.