IntervalDiscrimination-v0

class neurogym.envs.intervaldiscrimination.IntervalDiscrimination(dt=80, rewards=None, timing=None)[source]

Comparing the time length of two stimuli.

Two stimuli are shown sequentially, separated by a delay period. The duration of each stimulus is randomly sampled on each trial. The subject needs to judge which stimulus has a longer duration, and reports its decision during the decision period by choosing one of the two choice options.

Reference paper

Feature- and Order-Based Timing Representations in the Frontal Cortex

Tags

timing, working memory, delayed response, two-alternative, supervised

Supervised learning and analysis of this task

[Open in colab] [Jupyter notebook Source]

Reinforcement learning and analysis of this task

[Open in colab] [Jupyter notebook Source]

Sample run
../_images/IntervalDiscrimination-v0_examplerun.png