<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Cell. Neurosci.</journal-id>
<journal-title>Frontiers in Cellular Neuroscience</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Cell. Neurosci.</abbrev-journal-title>
<issn pub-type="epub">1662-5102</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fncel.2017.00156</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Neuroscience</subject>
<subj-group>
<subject>Methods</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>A Reward-Based Behavioral Platform to Measure Neural Activity during Head-Fixed Behavior</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Micallef</surname> <given-names>Andrew H.</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/416858/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Takahashi</surname> <given-names>Naoya</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/417255/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Larkum</surname> <given-names>Matthew E.</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/5092/overview"/>
</contrib> 
<contrib contrib-type="author" corresp="yes">
<name><surname>Palmer</surname> <given-names>Lucy M.</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="author-notes" rid="fn001"><sup>&#x0002A;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/37522/overview"/>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>The Florey Institute of Neuroscience and Mental Health, University of Melbourne</institution> <country>Melbourne, VIC, Australia</country></aff>
<aff id="aff2"><sup>2</sup><institution>Institute for Biology, Humboldt University of Berlin</institution> <country>Berlin, Germany</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Daniel Johnston, University of Texas at Austin, United States</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Niraj S Desai, University of Texas at Austin, United States; Mark Harnett, Massachusetts Institute of Technology, United States</p></fn>
<fn fn-type="corresp" id="fn001"><p>&#x0002A;Correspondence: Lucy M. Palmer <email>lucy.palmer&#x00040;florey.edu.au</email></p></fn>
</author-notes>
<pub-date pub-type="epub">
<day>31</day>
<month>05</month>
<year>2017</year>
</pub-date>
<pub-date pub-type="collection">
<year>2017</year>
</pub-date>
<volume>11</volume>
<elocation-id>156</elocation-id>
<history>
<date date-type="received">
<day>27</day>
<month>01</month>
<year>2017</year>
</date>
<date date-type="accepted">
<day>15</day>
<month>05</month>
<year>2017</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2017 Micallef, Takahashi, Larkum and Palmer.</copyright-statement>
<copyright-year>2017</copyright-year>
<copyright-holder>Micallef, Takahashi, Larkum and Palmer</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract><p>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.</p></abstract>
<kwd-group>
<kwd>dendrites</kwd>
<kwd>behavior platform</kwd>
<kwd>methods</kwd>
<kwd>reward learning</kwd>
<kwd>two photon imaging</kwd>
</kwd-group>
<counts>
<fig-count count="5"/>
<table-count count="1"/>
<equation-count count="0"/>
<ref-count count="35"/>
<page-count count="8"/>
<word-count count="5355"/>
</counts>
</article-meta>
</front>
<body>
<sec sec-type="introduction" id="s1">
<title>Introduction</title>
<p>Neurons are the building blocks of behavior. Therefore, to understand the neural basis of behavior, we must record from individual neurons while an animal is active. This is no easy feat, however, as most techniques used to measure activity in a single neuron, such as patch-clamp electrophysiology and two-photon microscopy, require absolute stability of the preparation. Therefore, apart from a handful of studies using advanced techniques where subcellular neural recordings can be performed from animals physically moving through an environment, such as head-mounted two-photon microscopes (Helmchen et al., <xref ref-type="bibr" rid="B10">2001</xref>; Sawinski et al., <xref ref-type="bibr" rid="B23">2009</xref>) or electrophysiological microdrives (Holtmaat et al., <xref ref-type="bibr" rid="B11">2009</xref>; Burgalossi et al., <xref ref-type="bibr" rid="B2">2011</xref>), little is known about the single-cellular activity and even less about subcellular activity in behaving animals.</p>
<p>To unravel complex natural behavior, experimental paradigms are often simplified and designed for operant conditioning where certain behaviors are reinforced by the delivery of a reward. Typically, in a standard rodent reward-based behavioral test, the experimenter is able to gage the animal&#x02019;s response to a given stimulus by monitoring movement/behavior. For example, in response to a rewardable stimulus/situation, an animal may be trained to nose-poke at a given location (Huber et al., <xref ref-type="bibr" rid="B13">2008</xref>; Bussey et al., <xref ref-type="bibr" rid="B3">2012</xref>; Nithianantharajah et al., <xref ref-type="bibr" rid="B17">2013</xref>), press a lever (Lederle et al., <xref ref-type="bibr" rid="B80">2011</xref>), or navigate through a particular sensory environment (van Praag et al., <xref ref-type="bibr" rid="B28">2000</xref>; Znamenskiy and Zador, <xref ref-type="bibr" rid="B34">2013</xref>). These behavioral tests require physical movement of the animal and therefore probing the associated neural activity typically involves gross recording techniques such as multi-unit electrophysiology (Epsztein et al., <xref ref-type="bibr" rid="B7">2011</xref>; Stensola et al., <xref ref-type="bibr" rid="B25">2012</xref>; Whitlock et al., <xref ref-type="bibr" rid="B29">2012</xref>). To overcome this limitation, a head-fixed configuration can be imposed on behavioral tests where animals can still move to receive a stimulus and signal a response, however, their heads are stable to enable simultaneous neural recordings. In this configuration, the animal is affixed to a stationary apparatus with an implanted head-plate, and licking a sensor is often adopted as a behavioral readout of operant conditioning.</p>
<p>The Go/No-Go sensory task is a powerful decision-driven task that enables an animal to report a binary decision based on a received sensory stimulus. In &#x0201C;Go&#x0201D; trials, the subject is required to make a behavioral action (i.e., licking) in response to a target stimulus whereas in &#x0201C;No-Go&#x0201D; trials, the subject withholds a response. This sensory-based decision-making task has been used historically to address neural activity in monkeys (Mishkin and Pribram, <xref ref-type="bibr" rid="B15">1955</xref>) and humans (Costantini and Hoving, <xref ref-type="bibr" rid="B5">1973</xref>). More recently, various brain regions have been investigated during the Go/No-Go sensory task including the orbitofrontal cortex (Tremblay and Schultz, <xref ref-type="bibr" rid="B27">2000</xref>) and nucleus basalis (Richardson and DeLong, <xref ref-type="bibr" rid="B22">1990</xref>) in the monkey, and the barrel cortex (Petreanu et al., <xref ref-type="bibr" rid="B19">2012</xref>; Xu et al., <xref ref-type="bibr" rid="B32">2012</xref>; Chen et al., <xref ref-type="bibr" rid="B4">2013</xref>; O&#x02019;Connor et al., <xref ref-type="bibr" rid="B18">2013</xref>), and motor cortex (Huber et al., <xref ref-type="bibr" rid="B12">2012</xref>) in the mouse. The Go/No-Go task is advantageous over other decision-based sensory tasks as its relative simplicity makes it easily and reliably performed. Since head-fixed recording techniques are usually plagued with low-success rates, short behavioral tasks which can be learnt in a few sessions are preferred. Another popular decision-based sensory task is the two-alternative forced choice (2AFC) task which may involve more complicated neural computations than the Go/No-Go task, however, it takes considerably longer for animals to learn and execute the task. Although more training is generally required, 2AFC is advantageous as reporting of false-misses (which can occur during &#x0201C;No-Go&#x0201D; trials) is prevented by establishing two lick ports where the animal must report to either a left or right port according to a 2AFC detection task (Guo et al., <xref ref-type="bibr" rid="B9">2014</xref>; Li et al., <xref ref-type="bibr" rid="B14">2015</xref>).</p>
<p>To operate such a sensory task, a behavioral platform must be established which monitors the animals&#x02019; licking behavior, and subsequently delivers sensory stimuli and associated water rewards in real-time. The behavioral system described here is designed using an Arduino Uno Rev3 microcontroller, a low-cost, open source prototyping platform. Briefly, once loaded with a controller program, the Arduino operates with microsecond precision (16 MHz clock speed) to independently control TTL pulses at the output pins, read the inbuilt analog to digital converter, and perform two-way communications with the host computer for parameter update and data logging. Here, we discuss how to setup an Arduino-based behavioral platform for a Go/No-Go task with sensory stimulation. We discuss training paradigms associated with the behavior platform and we report on how this platform can be used to measure neural activity during reward-based behavior.</p>
</sec>
<sec sec-type="methods" id="s2">
<title>Methods</title>
<sec id="s2-1">
<title>System Overview</title>
<p>The primary goal of this study was to establish an Arduino-based behavioral platform, which can be easily utilized for a variety of behavioral tasks with head-fixed rodents. The basic components of the platform for an operant conditioning behavioral task include: (1) a delivery system for water reward; (2) a lick detection sensor; and (3) a sensory stimulation apparatus. In our system (Figure <xref ref-type="fig" rid="F1">1</xref>), the Arduino microprocessor is the central hub which operates these components. The Arduino repeatedly monitors the signals from the lick sensor and controls the timing of water and stimulus delivery. As required, the Arduino sends a TTL trigger to other external devices to synchronize recordings and the animals&#x02019; behavior. A host computer regularly communicates with the Arduino via a serial connection to update the behavioral settings and readout the behavioral data logged in the Arduino. The source code for this system can be found online at <ext-link ext-link-type="uri" xlink:href="https://github.com/palmerlab/behaviour_box">https://github.com/palmerlab/behaviour_box</ext-link>, as well as additional documentation at <ext-link ext-link-type="uri" xlink:href="https://palmerlab.github.io">https://palmerlab.github.io</ext-link></p>
<fig id="F1" position="float">
<label>Figure 1</label>
<caption><p>Overview 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&#x02019;s response to the stimulus through a lick sensor which will ultimately determine whether the water valve is opened to deliver a reward.</p></caption>
<graphic xlink:href="fncel-11-00156-g0001.tif"/>
</fig>
</sec>
<sec id="s2-2">
<title>Behavioral Apparatus for Operant Conditioning</title>
<p>During operant conditioning, a subject&#x02019;s operant behavior (in this case, lick response to a sensory stimulus) is reinforced by a reward. For head-fixed animals, the water reward is delivered through a waterspout located within reach of the animal&#x02019;s mouth using a gravity flow water system. The reward delivery is controlled by a solenoid pinch valve (12 V DC, Takasago Fluidic Systems, Nagoya, Japan) and the volume delivered is determined by the duration of the valve opening and the height of the gravity water system. In our behavioral paradigm described below, mice receive approximately 10 &#x003BC;l water reward each correct trial.</p>
<p>Licking frequency is monitored using a custom-made piezo-based lick sensor. This consists of a piezoelectric wafer (0.6 mm Range Piezo Bender Actuator, PiezoDrive Pty Ltd, Callaghan, NSW, Australia) glued along the shaft of the waterspout (blunted 18-Gauge syringe needle). A tongue lick to the spout induces a small deformation of the wafer, which generates a voltage change inside the piezoelectric element. This signal is then amplified using a simple operational amplifier circuit (LM358N, Texas Instruments) to ensure the Ardunio microcontroller detects the lick-evoked voltage changes.</p>
</sec>
<sec id="s2-3">
<title>Centralized Behavioral Control by an Arduino Microprocessor</title>
<p>The Arduino Uno offers 13 digital input/output pins, as well as 6 analog to digital inputs with 4.8 mV resolution (0&#x02013;5 V, 1024 bits; Figure <xref ref-type="fig" rid="F2">2</xref>). To operate the operant conditioning Go/No-Go task, the following analog and digital inputs/outputs are necessary (see Figure <xref ref-type="fig" rid="F2">2</xref> for a schematic of the wiring diagram). <italic>Analog inputs</italic>: the amplified signal from the lick sensor is sent to an analog input pin. <italic>Digital outputs</italic>: four digital output pins are connected to: (1) sensory stimulator; (2) punishment consisting of a TTL-triggered valve gating a pressurized air line; (3) water valve; and (4) recording trigger.</p>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p>Wiring 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 <italic>&#x0201C;</italic>Go<italic>&#x0201D;</italic> condition the program sends a timed TTL pulse to a water valve to release a water reward to the lick port.</p></caption>
<graphic xlink:href="fncel-11-00156-g0002.tif"/>
</fig>
<p>The operant conditioning program running on the Arduino continuously reads the analog signal and detects individual lick events when the reported piezoelectric voltage signal crosses a given threshold. This sensing function runs in a loop, adding to a counting variable each time a lick is detected. The Arduino tracks the time and initiates the scheduled events for the task (e.g., sensory stimulation, opening the water valve, etc.).</p>
</sec>
<sec id="s2-4">
<title>Data Transfer between the Arduino and Host Computer</title>
<p>The Arduino supports two-way serial port communications via an USB interface to a host computer. A Python script, (Python version 2.7.10) written around the pyserial library, is used to handle the sending and receiving of messages. The status of each experiment is continuously monitored and communicated between the Arduino serial port and the host computer. This requires the digital pins 0 and 1 to be unassigned in the Arduino code as these carry the relevant signals. The full set of global variables (listed in Table <xref ref-type="table" rid="T1">1</xref>), excluding pin out assignments, is available for updating. In addition, during a trial, the status of each trial event is reported to the host computer. Successfully updating a variable results in the Arduino sending a message echoing the new variable and value to the serial port. In this way the system creates a running log of all settings and changes as they occur. All communications from the Arduino conform to yaml<xref ref-type="fn" rid="fn0001"><sup>1</sup></xref> specification, with debug messages about trial events commented out. Yaml is a useful format for serialized data which emphasizes human readability. This self-documenting system was implemented because the stimulus timing and reward condition is updated on a trial-by-trial basis.</p>
<table-wrap id="T1" position="float">
<label>Table 1</label>
<caption><p>List of variables communicated between the Arduino and host computer.</p></caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th/>
<th align="left">Description</th>
<th align="left">Units</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"><bold>Variable inputs</bold></td>
</tr>
<tr>
<td align="left">lickThres</td>
<td align="left">Digital threshold to apply to lick sensor</td>
<td align="left">converted 5 V/1024</td>
</tr>
<tr>
<td align="left">mode</td>
<td align="left">Sets the mode of the Arduino&#x02013; habituation mode or operant mode</td>
<td align="left">&#x0201C;o&#x0201D;/&#x0201C;h&#x0201D;</td>
</tr>
<tr>
<td align="left">trialType</td>
<td align="left">Code for the type of trial run</td>
<td align="left">&#x0201C;G&#x0201D;/&#x0201C;N&#x0201D;</td>
</tr>
<tr>
<td align="left">break_wrongChoice</td>
<td align="left">Flag to end the trial early if a wrong decision is detected</td>
<td align="left">0/1</td>
</tr>
<tr>
<td align="left">break_on_early</td>
<td align="left">Flag to cancel the trial if a lick is detected before stimulus onset</td>
<td align="left">0/1</td>
</tr>
<tr>
<td align="left">minlickCount</td>
<td align="left">Number of licks required to trigger reward delivery, or punishment.</td>
<td/>
</tr>
<tr>
<td align="left">t_noLickPer</td>
<td align="left">Time prior to stimulus onset which must be void of licking before a trial is initiated.</td>
<td align="left">ms</td>
</tr>
<tr>
<td align="left">timeout</td>
<td align="left">Amount of time to add to inter-trial interval if a wrong decision is made</td>
<td align="left">ms</td>
</tr>
<tr>
<td align="left">t_stimONSET</td>
<td align="left">Time the stimulus is presented</td>
<td align="left">ms</td>
</tr>
<tr>
<td align="left">t_stimDUR</td>
<td align="left">Duration of stimulus</td>
<td align="left">ms</td>
</tr>
<tr>
<td align="left">t_rewardDEL</td>
<td align="left">Delay from the end of stimulus until activating the lick sensor</td>
<td align="left">ms</td>
</tr>
<tr>
<td align="left">t_rewardDUR</td>
<td align="left">Duration the lick sensor is sampling for licks during response period</td>
<td align="left">ms</td>
</tr>
<tr>
<td align="left">waterVol</td>
<td align="left">Amount of time to hold the water valve open for</td>
<td align="left">ms</td>
</tr>
<tr>
<td align="left">debounce</td>
<td align="left">Duration the lick sensor needs to be high in order to call a lick (implements the simplest digital filter)</td>
<td align="left">ms</td>
</tr>
<tr>
<td align="left"><bold>Outputs</bold></td>
</tr>
<tr>
<td align="left">Water</td>
<td align="left">Returns 1 if water was given this trial</td>
<td align="left">0/1</td>
</tr>
<tr>
<td align="left">N_timeouts</td>
<td align="left">Returns the number of times the timeout was triggered since the end of the last trial</td>
</tr>
<tr>
<td align="left">response</td>
<td align="left">Returns the code for the response type</td>
<td align="left">&#x0201C;h&#x0201D; (hit), &#x0201C;m&#x0201D; (miss), &#x0201C;f&#x0201D; (false alarm), &#x0201C;c&#x0201D; (correct rejection)</td>
</tr>
<tr>
<td align="left">delta</td>
<td align="left">Returns the difference in lick frequencies</td>
</tr>
<tr>
<td align="left">pre_count</td>
<td align="left">Number of licks made during the response period</td>
</tr>
<tr>
<td align="left">post_count</td>
<td align="left">Number of licks made during the baseline period</td>
</tr>
<tr>
<td align="left">t_stimDUR</td>
<td align="left">Returns the duration of stimulus</td>
<td align="left">ms</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The Python script is used to initiate each Go/No-Go task and therefore controls the timing of individual trials. After initialization, the Arduino defaults to a listening mode where it parses any variables that are transmitted. It will remain in this mode indefinitely until it receives the message &#x0201C;START&#x0201D; from the host computer, which triggers the initiation of a trial. This has the advantage of allowing the experimenter to pause the trials and make quick changes to the parameters without the need for touching the Arduino code, in turn avoiding recompiling.</p>
</sec>
<sec id="s2-5">
<title>Running a Go/No-Go Sensory Task on the Arduino-Based Behavioral Platform</title>
<p>The Arduino microcontroller is loaded with a custom written program<xref ref-type="fn" rid="fn0002"><sup>2</sup></xref> which consists of two main functions; a basic <italic>Habituation</italic> mode, and a slightly more complex <italic>Operant</italic> mode. Here we discuss how to run these different behavioral training modes using the system described above (Figure <xref ref-type="fig" rid="F3">3</xref>). All procedures were approved by the Florey Institute of Neuroscience and Mental Health Animal Care and Ethics Committee and followed the guidelines of the Australian Code of Practice for the Care and Use of Animals for Scientific Purposes.</p>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p>Flow chart illustrating the flow of information in-to and out-of the Ardunio. The host computer initiates a trial where either a <italic>&#x0201C;</italic>Go<italic>&#x0201D;</italic> or <italic>&#x0201C;</italic>No-Go<italic>&#x0201D;</italic> stimulus is randomly presented to the mouse. Only when the mouse correctly licks in response to the <italic>&#x0201C;</italic>Go<italic>&#x0201D;</italic> stimulus, they will receive a water reward.</p></caption>
<graphic xlink:href="fncel-11-00156-g0003.tif"/>
</fig>
<sec id="s2-5-1">
<title>Habituation Mode</title>
<p>In the first training session the goal is to associate the &#x0201C;Go&#x0201D; sensory-stimulus with a reward. To achieve this, the habituation mode monitors the animal&#x02019;s licking behavior and on detection of a lick, the sensory stimulus and water valve are triggered sequentially. This repeats until the mouse successfully associates the sensory-stimulus with a reward being delivered at the lick port.</p>
</sec>
<sec id="s2-5-2">
<title>Operant Mode</title>
<p>Once habituated to the sensory-stimulus and water reward, the mice are required to lick after the &#x0201C;Go&#x0201D; sensory-stimulus in order to get a water reward. This is controlled by the second main function in the Arduino code. This function starts a timer on the Arduino and if required, adds a specific trial delay. The recording trigger pin (digital output) is set high to initiate the recording systems. The controller then goes into a pre-stimulus delay period in which it detects licks and measures a baseline licking frequency. After this delay the stimulus is presented and a new lick count commences. A response period continues, and if the animal has licked during this time the water valve is opened and a reward is delivered. In the event of a lick during a No-Go trial, a punishment air puff can be delivered and a timeout period commences, during which additional licks delay the onset of the next trial.</p>
</sec>
</sec>
<sec id="s2-6">
<title>Two-Photon Imaging of Dendritic Activity during the Go/No-Go Sensory Task</title>
<p>The behavioral platform described here can be easily combined with various existing techniques/devices for recording neural activity as the Arduino processor can be used to trigger other software/hardware which support external trigger modes (EXT Trigger pin, Figure <xref ref-type="fig" rid="F2">2</xref>). Here, the EXT trigger sends a HIGH TTL signal at the start of a trial and remains on for the entire duration. The rising edge of this signal can be used to trigger episodic recordings, or the full signal may be used for devices that support variable length recordings. To prove the utility of this system, we performed two-photon calcium imaging from cortical pyramidal neuron dendrites while the animal was engaged in a reward-based sensory task. Mice expressing a genetically-encoded calcium indicator, GCaMP6f (AAV1.Syn.GCaMP6f.WPRE.SV40), in layer 2/3 pyramidal neurons in the primary somatosensory cortex were implanted with a chronic window. In brief, animals were anesthetized with isoflurane vapor (0.5% in 0.5 mL/min O<sub>2</sub>) during all surgery procedures and administered with lidocaine and meloxicam for local and general analgesia respectively. A small incision was made in the scalp, and using the stereotactic coordinates as a guide, a small craniotomy was made above the somatosensory cortex. The virus was delivered via a glass pipette, which had been backfilled with the virus aliquot and silicon hydraulic oil. A hydraulic piston was used to precisely deliver 100 nL of virus to the target site, 200&#x02013;300 &#x003BC;m below the dura. After an incubation time of 7&#x02013;10 days a head post and chronic window surgery was performed. Under isofluorane anesthesia (0.5% in 0.5 mL/min O<sub>2</sub>), the soft tissue of the scalp was removed. A small aluminum post was glued to the skull, using cyanoacrylate glue (Loctite 401, Henkel Australia Pty. Ltd., Sydney, VIC, Australia), and fixed firmly in place with C&#x00026;B metabond&#x000AE; (Parkell Inc, Brentwood, NY, USA). A 3 mm circular craniotomy was made around the injection site, and a glass coverslip was fixed in place. The edges were sealed with cyanoacrylate glue, and dental cement (Jet Denture Repair, Lang Dental, Wheeling, IL, USA) was used to make a small well for the water-immersion lens (see Holtmaat et al., <xref ref-type="bibr" rid="B11">2009</xref>).</p>
<p>After a recovery period of at least 3 days, the mice were acclimatized to head-fixation through several sessions of gradually increasing head restraint; beginning with momentary catch-and-release, and leading to 5&#x02013;10 min restraints. During this time, and throughout the period of the experiment, animals had their access to water restricted to 1 mL/day. Their weight was monitored daily to ensure they did not drop below 80% of their pre-restriction mass. The animals were then introduced to the experimental rig, and trained to associate licking behavior with a reward, and stimulus, through the &#x0201C;habituation&#x0201D; mode described previously. Subsequently, they were trained to perform the Go/No-Go behavioral task as described above, in the &#x0201C;operant&#x0201D; mode. Here, the sensory stimulation was delivered to the contralateral forepaw using a small button (linear resonance actuator, precision microdrives, London, UK) and the ability of the mouse to detect the forepaw stimulation was tested by using stimulation of different durations (0, 5, 25, 50, 100, 150, 200 and 300 ms). Mice were able to reliably detect and report forepaw stimulation durations greater than 100 ms (Figure <xref ref-type="fig" rid="F4">4A</xref>). The great advantage of the Go/No Go behavioral paradigm over and above other complex reward-based behaviors is that it is rapidly leant. Mice typically reached a criterion of successful behavior (usually &#x0003E;80% &#x0201C;hit&#x0201D; and &#x0003C;20% false alarm rate, d&#x02032; &#x0003E; 1.5) after four sessions (Figure <xref ref-type="fig" rid="F4">4B</xref>). Using a two-photon microscope, we imaged the dendritic calcium activity of GCaMP6f-expressing layer 2/3 neuron dendrites in the forepaw area of the somatosensory cortex, while the animal was performing the Go/No-Go task (Figure <xref ref-type="fig" rid="F5">5A</xref>). Large Ca<sup>2+</sup> transients occurred both spontaneously and during the Go/No-Go task in layer 2/3 pyramidal neuron dendrites (Figure <xref ref-type="fig" rid="F5">5B</xref>), with a greater number of large Ca<sup>2+</sup> transients occurring after the initial stimulus delivery (Figure <xref ref-type="fig" rid="F5">5C</xref>). Using the behavioral platform to drive the sensory stimulation and behavioral recording enables direct correlation and association between neural activity and behavior, and opens the door to address many unanswered questions about the neural basis of behavior.</p>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p>Measuring animal performance on the reward-based sensory perceptual task. <bold>(A)</bold> 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). <bold>(B)</bold> 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 (<italic>n</italic> = 4). The black trace illustrates the cohort average with standard error bars. The lower panel shows the signal detection sensitivity (d&#x02032;) for the animals over the sessions.</p></caption>
<graphic xlink:href="fncel-11-00156-g0004.tif"/>
</fig>
<fig id="F5" position="float">
<label>Figure 5</label>
<caption><p>Two-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. <bold>(A)</bold> Once trained (80% success), dendritic Ca<sup>2+</sup> activity was imaged using two-photon microscopy through a chronically implanted window. In this example, Ca<sup>2+</sup> transients (right) were recorded from the dendrite ROI (inset) on left. <bold>(B)</bold> Ca<sup>2+</sup> activity throughout the behavioral task was reported for 40 trials for the dendrite shown in <bold>(A)</bold>. <bold>(C)</bold> Top, Ca<sup>2+</sup> transients above a threshold (&#x0003E;3&#x000D7; standard deviation of the noise) are reported as ticks. Colored ticks correspond to colored traces in <bold>(B)</bold>. Bottom, summed histogram showing the number of Ca<sup>2+</sup> transients occurring at different epochs throughout the trial. Stimulus was presented at 2 s (red bar).</p></caption>
<graphic xlink:href="fncel-11-00156-g0005.tif"/>
</fig>
</sec>
</sec>
<sec sec-type="discussion" id="s3">
<title>Discussion</title>
<p>We describe an open source-based platform which can run a behavioral paradigm and deliver a reward based on the input received. This behavioral system is designed around the Arduino Uno Rev3 prototyping platform which controls TTL signals at the output pins, reads from the inbuilt analog to digital converter, and performs two way communications with a host computer. This Ardunio and Python based platform system is advantageous as it is a low cost, open source platform accessible to all. Our studies have focused on using this behavioral platform to deliver a sensory-based Go/No-Go paradigm (Figure <xref ref-type="fig" rid="F4">4</xref>) while simultaneously recording the associated neural activity using two-photon microscopy (Figure <xref ref-type="fig" rid="F5">5</xref>). Specifically, we record calcium activity in apical tuft dendrites during a sensory-based Go/No-Go task which can be used to investigate the synaptic feedback information conveyed to the primary sensory cortex. The described system can be used to control many behavioral paradigms.</p>
<p>Arduino based platforms have been developed to control many different apparatus&#x02019; involved in recording neural activity including an air-track system (Nashaat et al., <xref ref-type="bibr" rid="B16">2016</xref>), two-photon imaging systems (Wilms and H&#x000E4;usser, <xref ref-type="bibr" rid="B30">2015</xref>; Takahashi et al., <xref ref-type="bibr" rid="B26">2016</xref>), treadmill displacement (Schneider et al., <xref ref-type="bibr" rid="B24">2014</xref>), nose-poke trial logic (Wimmer et al., <xref ref-type="bibr" rid="B31">2015</xref>) and Skinner box (Pine&#x000F1;o, <xref ref-type="bibr" rid="B21">2014</xref>). A similar system to the open-source Ardunio-based system we describe here has been developed previously to deliver liquid reward. The Rodent Operant Bucket (ROBucket) is an Arduino microcontroller-based platform which is used to control an operant conditioning chamber where mice are trained to respond for liquid reinforcers (Devarakonda et al., <xref ref-type="bibr" rid="B6">2016</xref>). ROBucket controls two nose pokes, a drinking well, and a solenoid-controlled liquid delivery system. However, here we expand on this reward delivery platform, as we describe how the system can be controlled by the host computer to be modified on a per-trial basis according to the behavioral readout. Using a Python script, the system described here uses a host to ultimately control the progress of the behavioral experiment, adding delays or punishments where necessary. Other computer-based open-source systems have also been developed to control similar behavioral experiments. Bcontrol is a real-time linux/Matlab&#x000AE; software package for behavioral training developed by the Brody laboratory, Princeton University<xref ref-type="fn" rid="fn0003"><sup>3</sup></xref>; A. Mainen, C. Brody and C. Culianu). This system interacts rapidly with the experimental subjects and therefore provides high-time-resolution measurements of the behavioral events to enable coordination with other recording devices such as electrophysiology and imaging (Erlich et al., <xref ref-type="bibr" rid="B8">2011</xref>; Brunton et al., <xref ref-type="bibr" rid="B1">2013</xref>; O&#x02019;Connor et al., <xref ref-type="bibr" rid="B18">2013</xref>; Yang et al., <xref ref-type="bibr" rid="B33">2016</xref>). More recently, Bpod is an open-source rodent behavior measurement and control system developed by Sanworks<xref ref-type="fn" rid="fn0004"><sup>4</sup></xref>. This custom-designed behavioral system is built around a finite state machine paradigm, where the transitions between states are dependent on the outcomes (behavioral measures) of the previous state. This allows precise control of stimulus delivery and behavioral measurements which can be synchronized with external recording devices (Pi et al., <xref ref-type="bibr" rid="B20">2013</xref>).</p>
<p>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 defined volume of reward water can be delivered to the animal depending on the timing and number of licks reported. We discuss the various components required to build a behavioral apparatus that can control and report a Go/No-Go 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.</p>
</sec>
<sec id="s4">
<title>Author Contributions</title>
<p>AHM and NT designed the hardware and software. AHM and LMP conceptualized the manuscript. AHM, NT, MEL and LMP wrote the manuscript.</p>
</sec>
<sec id="s5">
<title>Conflict of Interest Statement</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest. The reviewer NSD and handling Editor declared their shared affiliation, and the handling Editor states that the process nevertheless met the standards of a fair and objective review.</p>
</sec>
</body>
<back>
<fn-group>
<fn fn-type="financial-disclosure">
<p><bold>Funding.</bold> LMP is supported by the National Health and Medical Research Council, Australia (APP1085708; APP1086082; APP1063533) and Australian Research Council (DP160103047). NT is funded by Deutsche Forschungsgemeinschaft (LA 3442/3-1), the Japan Society for the Promotion of Science, the Uehara Memorial Foundation, and the Kanae Foundation for the Promotion of Medical Science. MEL is supported by Neuro-Cure Center for Excellence.</p>
</fn>
</fn-group>
<ref-list>
<title>References</title>
<ref id="B1"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Brunton</surname> <given-names>B. W.</given-names></name> <name><surname>Botvinick</surname> <given-names>M. M.</given-names></name> <name><surname>Brody</surname> <given-names>C. D.</given-names></name></person-group> (<year>2013</year>). <article-title>Rats and humans can optimally accumulate evidence for decision-making</article-title>. <source>Science</source> <volume>340</volume>, <fpage>95</fpage>&#x02013;<lpage>98</lpage>. <pub-id pub-id-type="doi">10.1126/science.1233912</pub-id><pub-id pub-id-type="pmid">23559254</pub-id></citation></ref>
<ref id="B2"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Burgalossi</surname> <given-names>A.</given-names></name> <name><surname>Herfst</surname> <given-names>L.</given-names></name> <name><surname>von Heimendahl</surname> <given-names>M.</given-names></name> <name><surname>F&#x000F6;rste</surname> <given-names>H.</given-names></name> <name><surname>Haskic</surname> <given-names>K.</given-names></name> <name><surname>Schmidt</surname> <given-names>M.</given-names></name> <etal/></person-group>. (<year>2011</year>). <article-title>Microcircuits of functionally identified neurons in the rat medial entorhinal cortex</article-title>. <source>Neuron</source> <volume>70</volume>, <fpage>773</fpage>&#x02013;<lpage>786</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuron.2011.04.003</pub-id><pub-id pub-id-type="pmid">21609831</pub-id></citation></ref>
<ref id="B3"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bussey</surname> <given-names>T. J.</given-names></name> <name><surname>Holmes</surname> <given-names>A.</given-names></name> <name><surname>Lyon</surname> <given-names>L.</given-names></name> <name><surname>Mar</surname> <given-names>A. C.</given-names></name> <name><surname>McAllister</surname> <given-names>K. A.</given-names></name> <name><surname>Nithianantharajah</surname> <given-names>J.</given-names></name> <etal/></person-group>. (<year>2012</year>). <article-title>New translational assays for preclinical modeling of cognition in schizophrenia: the touchscreen testing method for mice and rats</article-title>. <source>Neuropharmacology</source> <volume>62</volume>, <fpage>1191</fpage>&#x02013;<lpage>1203</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuropharm.2011.04.011</pub-id><pub-id pub-id-type="pmid">21530550</pub-id></citation></ref>
<ref id="B4"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chen</surname> <given-names>J. L.</given-names></name> <name><surname>Carta</surname> <given-names>S.</given-names></name> <name><surname>Soldado-Magraner</surname> <given-names>J.</given-names></name> <name><surname>Schneider</surname> <given-names>B. L.</given-names></name> <name><surname>Helmchen</surname> <given-names>F.</given-names></name></person-group> (<year>2013</year>). <article-title>Behaviour-dependent recruitment of long-range projection neurons in somatosensory cortex</article-title>. <source>Nature</source> <volume>499</volume>, <fpage>336</fpage>&#x02013;<lpage>340</lpage>. <pub-id pub-id-type="doi">10.1038/nature12236</pub-id><pub-id pub-id-type="pmid">23792559</pub-id></citation></ref>
<ref id="B5"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Costantini</surname> <given-names>A. F.</given-names></name> <name><surname>Hoving</surname> <given-names>K. L.</given-names></name></person-group> (<year>1973</year>). <article-title>The relationship of cognitive and motor response inhibition to age and IQ</article-title>. <source>J. Genet. Psychol.</source> <volume>123</volume>, <fpage>309</fpage>&#x02013;<lpage>319</lpage>. <pub-id pub-id-type="doi">10.1080/00221325.1973.10532690</pub-id><pub-id pub-id-type="pmid">4764418</pub-id></citation></ref>
<ref id="B6"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Devarakonda</surname> <given-names>K.</given-names></name> <name><surname>Nguyen</surname> <given-names>K. P.</given-names></name> <name><surname>Kravitz</surname> <given-names>A. V.</given-names></name></person-group> (<year>2016</year>). <article-title>ROBucket: a low cost operant chamber based on the arduino microcontroller</article-title>. <source>Behav. Res. Methods</source> <volume>48</volume>, <fpage>503</fpage>&#x02013;<lpage>509</lpage>. <pub-id pub-id-type="doi">10.3758/s13428-015-0603-2</pub-id><pub-id pub-id-type="pmid">26019006</pub-id></citation></ref>
<ref id="B7"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Epsztein</surname> <given-names>J.</given-names></name> <name><surname>Brecht</surname> <given-names>M.</given-names></name> <name><surname>Lee</surname> <given-names>A. K.</given-names></name></person-group> (<year>2011</year>). <article-title>Intracellular determinants of hippocampal CA1 place and silent cell activity in a novel environment</article-title>. <source>Neuron</source> <volume>70</volume>, <fpage>109</fpage>&#x02013;<lpage>120</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuron.2011.03.006</pub-id><pub-id pub-id-type="pmid">21482360</pub-id></citation></ref>
<ref id="B8"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Erlich</surname> <given-names>J. C.</given-names></name> <name><surname>Bialek</surname> <given-names>M.</given-names></name> <name><surname>Brody</surname> <given-names>C. D.</given-names></name></person-group> (<year>2011</year>). <article-title>A cortical substrate for memory-guided orienting in the rat</article-title>. <source>Neuron</source> <volume>72</volume>, <fpage>330</fpage>&#x02013;<lpage>343</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuron.2011.07.010</pub-id><pub-id pub-id-type="pmid">22017991</pub-id></citation></ref>
<ref id="B9"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Guo</surname> <given-names>Z. V.</given-names></name> <name><surname>Li</surname> <given-names>N.</given-names></name> <name><surname>Huber</surname> <given-names>D.</given-names></name> <name><surname>Ophir</surname> <given-names>E.</given-names></name> <name><surname>Gutnisky</surname> <given-names>D.</given-names></name> <name><surname>Ting</surname> <given-names>J. T.</given-names></name> <etal/></person-group>. (<year>2014</year>). <article-title>Flow of cortical activity underlying a tactile decision in mice</article-title>. <source>Neuron</source> <volume>81</volume>, <fpage>179</fpage>&#x02013;<lpage>194</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuron.2013.10.020</pub-id><pub-id pub-id-type="pmid">24361077</pub-id></citation></ref>
<ref id="B10"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Helmchen</surname> <given-names>F.</given-names></name> <name><surname>Fee</surname> <given-names>M. S.</given-names></name> <name><surname>Tank</surname> <given-names>D. W.</given-names></name> <name><surname>Denk</surname> <given-names>W.</given-names></name></person-group> (<year>2001</year>). <article-title>A miniature head-mounted two-photon microscope. high-resolution brain imaging in freely moving animals</article-title>. <source>Neuron</source> <volume>31</volume>, <fpage>903</fpage>&#x02013;<lpage>912</lpage>. <pub-id pub-id-type="doi">10.1016/s0896-6273(01)00421-4</pub-id><pub-id pub-id-type="pmid">11580892</pub-id></citation></ref>
<ref id="B11"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Holtmaat</surname> <given-names>A.</given-names></name> <name><surname>Bonhoeffer</surname> <given-names>T.</given-names></name> <name><surname>Chow</surname> <given-names>D. K.</given-names></name> <name><surname>Chuckowree</surname> <given-names>J.</given-names></name> <name><surname>De Paola</surname> <given-names>V.</given-names></name> <name><surname>Hofer</surname> <given-names>S. B.</given-names></name> <etal/></person-group>. (<year>2009</year>). <article-title>Long-term, high-resolution imaging in the mouse neocortex through a chronic cranial window</article-title>. <source>Nat. Protoc.</source> <volume>4</volume>, <fpage>1128</fpage>&#x02013;<lpage>1144</lpage>. <pub-id pub-id-type="doi">10.1038/nprot.2009.89</pub-id><pub-id pub-id-type="pmid">19617885</pub-id></citation></ref>
<ref id="B12"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Huber</surname> <given-names>D.</given-names></name> <name><surname>Gutnisky</surname> <given-names>D. A.</given-names></name> <name><surname>Peron</surname> <given-names>S.</given-names></name> <name><surname>O&#x02019;Connor</surname> <given-names>D. H.</given-names></name> <name><surname>Wiegert</surname> <given-names>J. S.</given-names></name> <name><surname>Tian</surname> <given-names>L.</given-names></name> <etal/></person-group>. (<year>2012</year>). <article-title>Multiple dynamic representations in the motor cortex during sensorimotor learning</article-title>. <source>Nature</source> <volume>484</volume>, <fpage>473</fpage>&#x02013;<lpage>478</lpage>. <pub-id pub-id-type="doi">10.1038/nature11039</pub-id><pub-id pub-id-type="pmid">22538608</pub-id></citation></ref>
<ref id="B13"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Huber</surname> <given-names>D.</given-names></name> <name><surname>Petreanu</surname> <given-names>L.</given-names></name> <name><surname>Ghitani</surname> <given-names>N.</given-names></name> <name><surname>Ranade</surname> <given-names>S.</given-names></name> <name><surname>Hrom&#x000E1;dka</surname> <given-names>T.</given-names></name> <name><surname>Mainen</surname> <given-names>Z.</given-names></name> <etal/></person-group>. (<year>2008</year>). <article-title>Sparse optical microstimulation in barrel cortex drives learned behaviour in freely moving mice</article-title>. <source>Nature</source> <volume>451</volume>, <fpage>61</fpage>&#x02013;<lpage>64</lpage>. <pub-id pub-id-type="doi">10.1038/nature06445</pub-id><pub-id pub-id-type="pmid">18094685</pub-id></citation></ref>
<ref id="B80"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lederle</surname> <given-names>L.</given-names></name> <name><surname>Weber</surname> <given-names>S.</given-names></name> <name><surname>Wright</surname> <given-names>T.</given-names></name> <name><surname>Feyder</surname> <given-names>M.</given-names></name> <name><surname>Brigman</surname> <given-names>J. L.</given-names></name> <name><surname>Crombag</surname> <given-names>H. S.</given-names></name> <etal/></person-group>. (<year>2011</year>). <article-title>Reward-related behavioral paradigms for addiction research in the mouse: performance of common inbred strains</article-title>. <source>PLoS One</source> <volume>6</volume>:<fpage>e15536</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pone.0015536.g004</pub-id><pub-id pub-id-type="pmid">21249214</pub-id></citation></ref>
<ref id="B14"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>N.</given-names></name> <name><surname>Chen</surname> <given-names>T. W.</given-names></name> <name><surname>Guo</surname> <given-names>Z. V.</given-names></name> <name><surname>Gerfen</surname> <given-names>C. R.</given-names></name> <name><surname>Svoboda</surname> <given-names>K.</given-names></name></person-group> (<year>2015</year>). <article-title>A motor cortex circuit for motor planning and movement</article-title>. <source>Nature</source> <volume>519</volume>, <fpage>51</fpage>&#x02013;<lpage>56</lpage>. <pub-id pub-id-type="doi">10.1038/nature14178</pub-id><pub-id pub-id-type="pmid">25731172</pub-id></citation></ref>
<ref id="B15"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mishkin</surname> <given-names>M.</given-names></name> <name><surname>Pribram</surname> <given-names>K. H.</given-names></name></person-group> (<year>1955</year>). <article-title>Analysis of the effects of frontal lesions in monkey. I. Variations of delayed alternation</article-title>. <source>J. Comp. Physiol. Psychol.</source> <volume>48</volume>, <fpage>492</fpage>&#x02013;<lpage>495</lpage>. <pub-id pub-id-type="doi">10.1037/h0040318</pub-id><pub-id pub-id-type="pmid">13271624</pub-id></citation></ref>
<ref id="B16"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Nashaat</surname> <given-names>M. A.</given-names></name> <name><surname>Oraby</surname> <given-names>H.</given-names></name> <name><surname>Sachdev</surname> <given-names>R. N.</given-names></name> <name><surname>Winter</surname> <given-names>Y.</given-names></name> <name><surname>Larkum</surname> <given-names>M. E.</given-names></name></person-group> (<year>2016</year>). <article-title>Air-Track: a real-world floating environment for active sensing in head-fixed mice</article-title>. <source>J. Neurophysiol.</source> <volume>116</volume>, <fpage>1542</fpage>&#x02013;<lpage>1553</lpage>. <pub-id pub-id-type="doi">10.1152/jn.00088.2016</pub-id><pub-id pub-id-type="pmid">27486102</pub-id></citation></ref>
<ref id="B17"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Nithianantharajah</surname> <given-names>J.</given-names></name> <name><surname>Komiyama</surname> <given-names>N. H.</given-names></name> <name><surname>McKechanie</surname> <given-names>A.</given-names></name> <name><surname>Johnstone</surname> <given-names>M.</given-names></name> <name><surname>Blackwood</surname> <given-names>D. H.</given-names></name> <name><surname>St Clair</surname> <given-names>D.</given-names></name> <etal/></person-group>. (<year>2013</year>). <article-title>Synaptic scaffold evolution generated components of vertebrate cognitive complexity</article-title>. <source>Nat. Neurosci.</source> <volume>16</volume>, <fpage>16</fpage>&#x02013;<lpage>24</lpage>. <pub-id pub-id-type="doi">10.1038/nn.3276</pub-id><pub-id pub-id-type="pmid">23201973</pub-id></citation></ref>
<ref id="B18"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>O&#x02019;Connor</surname> <given-names>D. H.</given-names></name> <name><surname>Hires</surname> <given-names>S. A.</given-names></name> <name><surname>Guo</surname> <given-names>Z. V.</given-names></name> <name><surname>Li</surname> <given-names>N.</given-names></name> <name><surname>Yu</surname> <given-names>J.</given-names></name> <name><surname>Sun</surname> <given-names>Q. Q.</given-names></name> <etal/></person-group>. (<year>2013</year>). <article-title>Neural coding during active somatosensation revealed using illusory touch</article-title>. <source>Nat. Neurosci.</source> <volume>16</volume>, <fpage>958</fpage>&#x02013;<lpage>965</lpage>. <pub-id pub-id-type="doi">10.1038/nn.3419</pub-id><pub-id pub-id-type="pmid">23727820</pub-id></citation></ref>
<ref id="B19"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Petreanu</surname> <given-names>L.</given-names></name> <name><surname>Gutnisky</surname> <given-names>D. A.</given-names></name> <name><surname>Huber</surname> <given-names>D.</given-names></name> <name><surname>Xu</surname> <given-names>N. L.</given-names></name> <name><surname>O&#x02019;Connor</surname> <given-names>D. H.</given-names></name> <name><surname>Tian</surname> <given-names>L.</given-names></name> <etal/></person-group>. (<year>2012</year>). <article-title>Activity in motor-sensory projections reveals distributed coding in somatosensation</article-title>. <source>Nature</source> <volume>489</volume>, <fpage>299</fpage>&#x02013;<lpage>303</lpage>. <pub-id pub-id-type="doi">10.1038/nature11321</pub-id><pub-id pub-id-type="pmid">22922646</pub-id></citation></ref>
<ref id="B20"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pi</surname> <given-names>H. J.</given-names></name> <name><surname>Hangya</surname> <given-names>B.</given-names></name> <name><surname>Kvitsiani</surname> <given-names>D.</given-names></name> <name><surname>Sanders</surname> <given-names>J. I.</given-names></name> <name><surname>Huang</surname> <given-names>Z. J.</given-names></name> <name><surname>Kepecs</surname> <given-names>A.</given-names></name></person-group> (<year>2013</year>). <article-title>Cortical interneurons that specialize in disinhibitory control</article-title>. <source>Nature</source> <volume>503</volume>, <fpage>521</fpage>&#x02013;<lpage>524</lpage>. <pub-id pub-id-type="doi">10.1038/nature12676</pub-id><pub-id pub-id-type="pmid">24097352</pub-id></citation></ref>
<ref id="B21"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pine&#x000F1;o</surname> <given-names>O.</given-names></name></person-group> (<year>2014</year>). <article-title>ArduiPod Box: a low-cost and open-source Skinner box using an iPod Touch and an Arduino microcontroller</article-title>. <source>Behav. Res. Methods</source> <volume>46</volume>, <fpage>196</fpage>&#x02013;<lpage>205</lpage>. <pub-id pub-id-type="doi">10.3758/s13428-013-0367-5</pub-id><pub-id pub-id-type="pmid">23813238</pub-id></citation></ref>
<ref id="B22"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Richardson</surname> <given-names>R. T.</given-names></name> <name><surname>DeLong</surname> <given-names>M. R.</given-names></name></person-group> (<year>1990</year>). <article-title>Context-dependent responses of primate nucleus basalis neurons in a go/no-go task</article-title>. <source>J. Neurosci.</source> <volume>10</volume>,<fpage>2528</fpage>&#x02013;<lpage>2540</lpage>. <pub-id pub-id-type="pmid">2388078</pub-id></citation></ref>
<ref id="B23"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sawinski</surname> <given-names>J.</given-names></name> <name><surname>Wallace</surname> <given-names>D. J.</given-names></name> <name><surname>Greenberg</surname> <given-names>D. S.</given-names></name> <name><surname>Grossmann</surname> <given-names>S.</given-names></name> <name><surname>Denk</surname> <given-names>W.</given-names></name> <name><surname>Kerr</surname> <given-names>J. N.</given-names></name></person-group> (<year>2009</year>). <article-title>Visually evoked activity in cortical cells imaged in freely moving animals</article-title>. <source>Proc. Natl. Acad. Sci. U S A</source> <volume>106</volume>, <fpage>19557</fpage>&#x02013;<lpage>19562</lpage>. <pub-id pub-id-type="doi">10.1073/pnas.0903680106</pub-id><pub-id pub-id-type="pmid">19889973</pub-id></citation></ref>
<ref id="B24"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Schneider</surname> <given-names>D. M.</given-names></name> <name><surname>Nelson</surname> <given-names>A.</given-names></name> <name><surname>Mooney</surname> <given-names>R.</given-names></name></person-group> (<year>2014</year>). <article-title>A synaptic and circuit basis for corollary discharge in the auditory cortex</article-title>. <source>Nature</source> <volume>513</volume>, <fpage>189</fpage>&#x02013;<lpage>194</lpage>. <pub-id pub-id-type="doi">10.1038/nature13724</pub-id><pub-id pub-id-type="pmid">25162524</pub-id></citation></ref>
<ref id="B25"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Stensola</surname> <given-names>H.</given-names></name> <name><surname>Stensola</surname> <given-names>T.</given-names></name> <name><surname>Solstad</surname> <given-names>T.</given-names></name> <name><surname>Fr&#x000F8;land</surname> <given-names>K.</given-names></name> <name><surname>Moser</surname> <given-names>M. B.</given-names></name> <name><surname>Moser</surname> <given-names>E. I.</given-names></name></person-group> (<year>2012</year>). <article-title>The entorhinal grid map is discretized</article-title>. <source>Nature</source> <volume>492</volume>, <fpage>72</fpage>&#x02013;<lpage>78</lpage>. <pub-id pub-id-type="doi">10.1038/nature11649</pub-id><pub-id pub-id-type="pmid">23222610</pub-id></citation></ref>
<ref id="B26"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Takahashi</surname> <given-names>N.</given-names></name> <name><surname>Oertner</surname> <given-names>T. G.</given-names></name> <name><surname>Hegemann</surname> <given-names>P.</given-names></name> <name><surname>Larkum</surname> <given-names>M. E.</given-names></name></person-group> (<year>2016</year>). <article-title>Active cortical dendrites modulate perception</article-title>. <source>Science</source> <volume>354</volume>, <fpage>1587</fpage>&#x02013;<lpage>1590</lpage>. <pub-id pub-id-type="doi">10.1126/science.aah6066</pub-id><pub-id pub-id-type="pmid">28008068</pub-id></citation></ref>
<ref id="B27"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tremblay</surname> <given-names>L.</given-names></name> <name><surname>Schultz</surname> <given-names>W.</given-names></name></person-group> (<year>2000</year>). <article-title>Reward-related neuronal activity during go-nogo task performance in primate orbitofrontal cortex</article-title>. <source>J. Neurophysiol.</source> <volume>83</volume>, <fpage>1864</fpage>&#x02013;<lpage>1876</lpage>. <pub-id pub-id-type="pmid">10758098</pub-id></citation></ref>
<ref id="B28"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>van Praag</surname> <given-names>H.</given-names></name> <name><surname>Kempermann</surname> <given-names>G.</given-names></name> <name><surname>Gage</surname> <given-names>F. H.</given-names></name></person-group> (<year>2000</year>). <article-title>Neural consequences of environmental enrichment</article-title>. <source>Nat. Rev. Neurosci.</source> <volume>1</volume>, <fpage>191</fpage>&#x02013;<lpage>198</lpage>. <pub-id pub-id-type="doi">10.1038/35044558</pub-id><pub-id pub-id-type="pmid">11257907</pub-id></citation></ref>
<ref id="B29"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Whitlock</surname> <given-names>J. R.</given-names></name> <name><surname>Pfuhl</surname> <given-names>G.</given-names></name> <name><surname>Dagslott</surname> <given-names>N.</given-names></name> <name><surname>Moser</surname> <given-names>M. B.</given-names></name> <name><surname>Moser</surname> <given-names>E. I.</given-names></name></person-group> (<year>2012</year>). <article-title>Functional split between parietal and entorhinal cortices in the rat</article-title>. <source>Neuron</source> <volume>73</volume>, <fpage>789</fpage>&#x02013;<lpage>802</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuron.2011.12.028</pub-id><pub-id pub-id-type="pmid">22365551</pub-id></citation></ref>
<ref id="B30"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wilms</surname> <given-names>C. D.</given-names></name> <name><surname>H&#x000E4;usser</surname> <given-names>M.</given-names></name></person-group> (<year>2015</year>). <article-title>Reading out a spatiotemporal population code by imaging neighbouring parallel fibre axons <italic>in vivo</italic></article-title>. <source>Nat. Commun.</source> <volume>6</volume>:<fpage>6464</fpage>. <pub-id pub-id-type="doi">10.1038/ncomms7464</pub-id><pub-id pub-id-type="pmid">25751648</pub-id></citation></ref>
<ref id="B31"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wimmer</surname> <given-names>R. D.</given-names></name> <name><surname>Schmitt</surname> <given-names>L. I.</given-names></name> <name><surname>Davidson</surname> <given-names>T. J.</given-names></name> <name><surname>Nakajima</surname> <given-names>M.</given-names></name> <name><surname>Deisseroth</surname> <given-names>K.</given-names></name> <name><surname>Halassa</surname> <given-names>M. M.</given-names></name></person-group> (<year>2015</year>). <article-title>Thalamic control of sensory selection in divided attention</article-title>. <source>Nature</source> <volume>526</volume>, <fpage>705</fpage>&#x02013;<lpage>709</lpage>. <pub-id pub-id-type="doi">10.1038/nature15398</pub-id><pub-id pub-id-type="pmid">26503050</pub-id></citation></ref>
<ref id="B32"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Xu</surname> <given-names>N-L.</given-names></name> <name><surname>Harnett</surname> <given-names>M. T.</given-names></name> <name><surname>Williams</surname> <given-names>S. R.</given-names></name> <name><surname>Huber</surname> <given-names>D.</given-names></name> <name><surname>O&#x02019;Connor</surname> <given-names>D. H.</given-names></name> <name><surname>Svoboda</surname> <given-names>K.</given-names></name> <etal/></person-group>. (<year>2012</year>). <article-title>Nonlinear dendritic integration of sensory and motor input during an active sensing task</article-title>. <source>Nature</source> <volume>492</volume>, <fpage>247</fpage>&#x02013;<lpage>251</lpage>. <pub-id pub-id-type="doi">10.1038/nature11601</pub-id><pub-id pub-id-type="pmid">23143335</pub-id></citation></ref>
<ref id="B33"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yang</surname> <given-names>H.</given-names></name> <name><surname>Kwon</surname> <given-names>S. E.</given-names></name> <name><surname>Severson</surname> <given-names>K. S.</given-names></name> <name><surname>O&#x02019;Connor</surname> <given-names>D. H.</given-names></name></person-group> (<year>2016</year>). <article-title>Origins of choice-related activity in mouse somatosensory cortex</article-title>. <source>Nat. Neurosci.</source> <volume>19</volume>, <fpage>127</fpage>&#x02013;<lpage>134</lpage>. <pub-id pub-id-type="doi">10.1038/nn.4183</pub-id><pub-id pub-id-type="pmid">26642088</pub-id></citation></ref>
<ref id="B34"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Znamenskiy</surname> <given-names>P.</given-names></name> <name><surname>Zador</surname> <given-names>A. M.</given-names></name></person-group> (<year>2013</year>). <article-title>Corticostriatal neurons in auditory cortex drive decisions during auditory discrimination</article-title>. <source>Nature</source> <volume>497</volume>, <fpage>482</fpage>&#x02013;<lpage>485</lpage>. <pub-id pub-id-type="doi">10.1038/nature12077</pub-id><pub-id pub-id-type="pmid">23636333</pub-id></citation></ref>
</ref-list>
<fn-group>
<fn id="fn0001"><p><sup>1</sup><ext-link ext-link-type="uri" xlink:href="http://yaml.org/">http://yaml.org/</ext-link></p></fn>
<fn id="fn0002"><p><sup>2</sup><ext-link ext-link-type="uri" xlink:href="https://github.com/palmerlab/behaviour_box">https://github.com/palmerlab/behaviour_box</ext-link></p></fn>
<fn id="fn0003"><p><sup>3</sup><ext-link ext-link-type="uri" xlink:href="http://brodylab.princeton.edu/bcontrol">http://brodylab.princeton.edu/bcontrol</ext-link></p></fn>
<fn id="fn0004"><p><sup>4</sup><ext-link ext-link-type="uri" xlink:href="https://github.com/sanworks/Bpod">https://github.com/sanworks/Bpod</ext-link></p></fn>
</fn-group>
</back>
</article>
