ftrsgt#

pypillometry.sim.tasks.ftrsgt(duration='20 min', soa='750 ms', asynchrony='normal(-40 ms, 40 ms)', probe_interval='uniform(40 s, 80 s)', rating_rt='lognormal(3 s, 1.5 s)', ratings=(1, 2, 3, 4))[source]#

Finger-tapping random-sequence generation task: tap with the left or right finger in synchrony with a beep, in a random sequence, with thought probes at random intervals.

Parameters:
  • duration (float, str or distribution) – the task (tapping and probes) is repeated until this duration (default 20 min)

  • soa (float, str or distribution) – time between the beeps (default 750 ms)

  • asynchrony (float, str or distribution) – time of the tap relative to the beep (negative: before it)

  • probe_interval (float, str or distribution) – time of tapping between two thought probes

  • rating_rt (float, str or distribution) – time from the probe to the rating

  • ratings (sequence) – possible ratings (drawn with equal probabilities)

Return type:

Task

Returns:

events beep (auditory), tap (with the metadata side, "left" or "right"), probe (visual, until the rating) and rating (with the metadata rating)

Examples

The trials of the task:

>>> import pypillometry as pp
>>> fig = pp.sim.tasks.ftrsgt().plot()
../../_images/pypillometry-sim-tasks-ftrsgt-1.png