| Literature DB >> 28620282 |
Andrew H Micallef1, Naoya Takahashi2, Matthew E Larkum2, Lucy M Palmer1.
Abstract
Understanding the neural computations that contribute to behavior requires recording from neurons while an animal is behaving. This is not an easy task as most subcellular recording techniques require absolute head stability. The Go/No-Go sensory task is a powerful decision-driven task that enables an animal to report a binary decision during head-fixation. Here we discuss how to set up an Ardunio and Python based platform system to control a Go/No-Go sensory behavior paradigm. Using an Arduino micro-controller and Python-based custom written program, a reward can be delivered to the animal depending on the decision reported. We discuss the various components required to build the behavioral apparatus that can control and report such a sensory stimulus paradigm. This system enables the end user to control the behavioral testing in real-time and therefore it provides a strong custom-made platform for probing the neural basis of behavior.Entities:
Keywords: behavior platform; dendrites; methods; reward learning; two photon imaging
Year: 2017 PMID: 28620282 PMCID: PMC5449766 DOI: 10.3389/fncel.2017.00156
Source DB: PubMed Journal: Front Cell Neurosci ISSN: 1662-5102 Impact factor: 5.505
Figure 1Overview of the Go/No-Go sensory task setup. An Arduino microcontroller is the central hub driving the Go/No-Go sensory task, receiving analog input from the lick sensor and sending digital output to the host computer, water valve and physiological stimulator. The Ardunio monitors the animal’s response to the stimulus through a lick sensor which will ultimately determine whether the water valve is opened to deliver a reward.
Figure 2Wiring diagram of the Ardunio Uno Rev3 to control the Go/No-Go sensory task. The Ardunio is loaded with a controller program which controls various inputs (red) and outputs (blue). In brief, the Arduino controls the TTL pulses at the output pins, reads from the inbuilt analog to digital converter, and performs two way communications with a host computer. To operate the Go/No-Go sensory task, one analog input and four digital inputs/outputs are connected to the Arduino microprocessor. The signal from the lick sensor is amplified with a linear amplifier and the Arduino program thresholds the signal, counting rising edges as licks. When licks are detected in a “Go” condition the program sends a timed TTL pulse to a water valve to release a water reward to the lick port.
List of variables communicated between the Arduino and host computer.
| Description | Units | |
|---|---|---|
| lickThres | Digital threshold to apply to lick sensor | converted 5 V/1024 |
| mode | Sets the mode of the Arduino– habituation mode or operant mode | “o”/“h” |
| trialType | Code for the type of trial run | “G”/“N” |
| break_wrongChoice | Flag to end the trial early if a wrong decision is detected | 0/1 |
| break_on_early | Flag to cancel the trial if a lick is detected before stimulus onset | 0/1 |
| minlickCount | Number of licks required to trigger reward delivery, or punishment. | |
| t_noLickPer | Time prior to stimulus onset which must be void of licking before a trial is initiated. | ms |
| timeout | Amount of time to add to inter-trial interval if a wrong decision is made | ms |
| t_stimONSET | Time the stimulus is presented | ms |
| t_stimDUR | Duration of stimulus | ms |
| t_rewardDEL | Delay from the end of stimulus until activating the lick sensor | ms |
| t_rewardDUR | Duration the lick sensor is sampling for licks during response period | ms |
| waterVol | Amount of time to hold the water valve open for | ms |
| debounce | Duration the lick sensor needs to be high in order to call a lick (implements the simplest digital filter) | ms |
| Water | Returns 1 if water was given this trial | 0/1 |
| N_timeouts | Returns the number of times the timeout was triggered since the end of the last trial | |
| response | Returns the code for the response type | “h” (hit), “m” (miss), “f” (false alarm), “c” (correct rejection) |
| delta | Returns the difference in lick frequencies | |
| pre_count | Number of licks made during the response period | |
| post_count | Number of licks made during the baseline period | |
| t_stimDUR | Returns the duration of stimulus | ms |
Figure 3Flow chart illustrating the flow of information in-to and out-of the Ardunio. The host computer initiates a trial where either a “Go” or “No-Go” stimulus is randomly presented to the mouse. Only when the mouse correctly licks in response to the “Go” stimulus, they will receive a water reward.
Figure 4Measuring animal performance on the reward-based sensory perceptual task. (A) An example of the licking behavior of a mouse trained to report the presentation of a sensory stimulus (light blue rectangle) by licking. Trained mice increased their lick rate (colored ticks) dramatically after the stimulus (blue) and if the licking report was correct, water was dispensed (dark blue bar). (B) After habituation and operant training, mice learnt to associate a sensory stimulus with water reward on average (black) within three training sessions. Colored traces are the learning curve of individual mice (n = 4). The black trace illustrates the cohort average with standard error bars. The lower panel shows the signal detection sensitivity (d′) for the animals over the sessions.
Figure 5Two-photon calcium imaging during a sensory-based perceptual task. The Arduino based Go/No-Go behavioral task was performed simultaneously with two-photon calcium imaging. (A) Once trained (80% success), dendritic Ca2+ activity was imaged using two-photon microscopy through a chronically implanted window. In this example, Ca2+ transients (right) were recorded from the dendrite ROI (inset) on left. (B) Ca2+ activity throughout the behavioral task was reported for 40 trials for the dendrite shown in (A). (C) Top, Ca2+ transients above a threshold (>3× standard deviation of the noise) are reported as ticks. Colored ticks correspond to colored traces in (B). Bottom, summed histogram showing the number of Ca2+ transients occurring at different epochs throughout the trial. Stimulus was presented at 2 s (red bar).