tasks

Data:

CHILDREN_LIST

Link between string child names used in protocol descriptions and task classes

TASK_LIST

Link between string task names used in protocol descriptions and task classes

Classes:

DLC_Hand(child_id, model_name, point_name_1, …)

DLC_Latency(child_id, model_name, …)

Test Deeplabcut live end-to-end latency

Free_Water([stage_block, current_trial, …])

Randomly light up one of the ports, then dispense water when the subject pokes there

GoNoGo([stim, reward, timeout, stage_block])

A Visual Go/No-Go task using a Pilot and a Wheel_Child.

Nafc([stage_block, stim, reward, …])

A Two-alternative forced choice task.

Nafc_Gap([noise_amplitude])

A Mild variation of Nafc that starts continuous white noise that plays continuously while the task is active.

Parallax([stage_block])

Task(*args, **kwargs)

Generic Task metaclass

Transformer(transform, operation[, …])

Parameters
  • transform

Video_Child([cams, stage_block, start_now])

Parameters

cams (dict, list) –

Wheel_Child([stage_block, fs, thresh])

TASK_LIST = {'2AFC': <class 'autopilot.tasks.nafc.Nafc'>, '2AFC_Gap': <class 'autopilot.tasks.nafc.Nafc_Gap'>, 'Free Water': <class 'autopilot.tasks.free_water.Free_Water'>, 'GoNoGo': <class 'autopilot.tasks.gonogo.GoNoGo'>, 'Parallax': <class 'autopilot.tasks.parallax.Parallax'>, 'Test_DLC_Hand': <class 'autopilot.tasks.test.DLC_Hand'>, 'Test_DLC_Latency': <class 'autopilot.tasks.test.DLC_Latency'>}

Link between string task names used in protocol descriptions and task classes

CHILDREN_LIST = {'Transformer': <class 'autopilot.tasks.children.Transformer'>, 'Video Child': <class 'autopilot.tasks.children.Video_Child'>, 'Wheel Child': <class 'autopilot.tasks.children.Wheel_Child'>}

Link between string child names used in protocol descriptions and task classes