<?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. Neural Circuits</journal-id>
<journal-title>Frontiers in Neural Circuits</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Neural Circuits</abbrev-journal-title>
<issn pub-type="epub">1662-5110</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fncir.2012.00098</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Neuroscience</subject>
<subj-group>
<subject>Methods Article</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Closed-Loop, Multichannel Experimentation Using the Open-Source NeuroRighter Electrophysiology Platform</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Newman</surname> <given-names>Jonathan P.</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Zeller-Townson</surname> <given-names>Riley</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Fong</surname> <given-names>Ming-Fai</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Arcot Desai</surname> <given-names>Sharanya</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<xref ref-type="aff" rid="aff4"><sup>4</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Gross</surname> <given-names>Robert E.</given-names></name>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<xref ref-type="aff" rid="aff4"><sup>4</sup></xref>
<xref ref-type="aff" rid="aff5"><sup>5</sup></xref>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Potter</surname> <given-names>Steve M.</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="author-notes" rid="fn001">&#x0002A;</xref>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Laboratory for Neuroengineering, Department of Biomedical Engineering, Georgia Institute of Technology and Emory University School of Medicine</institution> <country>Atlanta, GA, USA</country></aff>
<aff id="aff2"><sup>2</sup><institution>Department of Physiology, Emory University School of Medicine</institution> <country>Atlanta, GA, USA</country></aff>
<aff id="aff3"><sup>3</sup><institution>Department of Neurosurgery, Emory University School of Medicine</institution> <country>Atlanta, GA, USA</country></aff>
<aff id="aff4"><sup>4</sup><institution>Department of Neurology, Emory University School of Medicine</institution> <country>Atlanta, GA, USA</country></aff>
<aff id="aff5"><sup>5</sup><institution>Department of Biomedical Engineering, Georgia Institute of Technology and Emory University School of Medicine</institution> <country>Atlanta, GA, USA</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Eberhard E. Fetz, University of Washington, USA</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Yang Dan, University of California, Berkeley, USA; Stavros Zanos, University of Washington, USA</p></fn>
<fn fn-type="corresp" id="fn001"><p>&#x0002A;Correspondence: Steve M. Potter, Laboratory for Neuroengineering, Department of Biomedical Engineering, The Georgia Institute of Technology, 313 Ferst Drive, Atlanta, GA 30332, USA. e-mail: <email>steve.potter&#x00040;bme.gatech.edu</email></p></fn>
</author-notes>
<pub-date pub-type="epub">
<day>18</day>
<month>01</month>
<year>2013</year>
</pub-date>
<pub-date pub-type="collection">
<year>2012</year>
</pub-date>
<volume>6</volume>
<elocation-id>98</elocation-id>
<history>
<date date-type="received">
<day>01</day>
<month>08</month>
<year>2012</year>
</date>
<date date-type="accepted">
<day>18</day>
<month>11</month>
<year>2012</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2013 Newman, Zeller-Townson, Fong, Arcot Desai, Gross and Potter.</copyright-statement>
<copyright-year>2013</copyright-year>
<license license-type="open-access" xlink:href="http://creativecommons.org/licenses/by/3.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits use, distribution and reproduction in other forums, provided the original authors and source are credited and subject to any copyright notices concerning any third-party graphics etc.</p></license>
</permissions>
<abstract>
<p>Single neuron feedback control techniques, such as voltage clamp and dynamic clamp, have enabled numerous advances in our understanding of ion channels, electrochemical signaling, and neural dynamics. Although commercially available multichannel recording and stimulation systems are commonly used for studying neural processing at the network level, they provide little native support for real-time feedback. We developed the open-source NeuroRighter multichannel electrophysiology hardware and software platform for closed-loop multichannel control with a focus on accessibility and low cost. NeuroRighter allows 64 channels of stimulation and recording for around US &#x00024;10,000, along with the ability to integrate with other software and hardware. Here, we present substantial enhancements to the NeuroRighter platform, including a redesigned desktop application, a new stimulation subsystem allowing arbitrary stimulation patterns, low-latency data servers for accessing data streams, and a new application programming interface (API) for creating closed-loop protocols that can be inserted into NeuroRighter as plugin programs. This greatly simplifies the design of sophisticated real-time experiments without sacrificing the power and speed of a compiled programming language. Here we present a detailed description of NeuroRighter as a stand-alone application, its plugin API, and an extensive set of case studies that highlight the system&#x02019;s abilities for conducting closed-loop, multichannel interfacing experiments.</p>
</abstract>
<kwd-group>
<kwd>closed-loop</kwd>
<kwd>multichannel</kwd>
<kwd>real-time</kwd>
<kwd>multi-electrode</kwd>
<kwd>micro-electrode array</kwd>
<kwd>electrophysiology</kwd>
<kwd>open-source</kwd>
<kwd>network</kwd>
</kwd-group>
<counts>
<fig-count count="10"/>
<table-count count="2"/>
<equation-count count="5"/>
<ref-count count="51"/>
<page-count count="0"/>
<word-count count="11898"/>
</counts>
</article-meta>
</front>
<body>
<sec sec-type="introduction" id="s1">
<label>1</label> <title>Introduction</title>
<p>Multi-electrode neural interfacing systems, such as planar electrode arrays, silicon probes, and microwire arrays are commonly used to record spatially distributed neural activity <italic>in vitro</italic> and <italic>in vivo</italic>. Advances in nanoscale fabrication techniques have continued to push channel counts and electrode resolution (Du et al., <xref ref-type="bibr" rid="B8">2011</xref>; Fiscella et al., <xref ref-type="bibr" rid="B10">2012</xref>; Robinson et al., <xref ref-type="bibr" rid="B30">2012</xref>), allowing for increasingly detailed measurements of network activity states. Because multi-electrode neural interfaces provide many parallel measurements, they can be used to rapidly estimate ensemble features of network activity (e.g., the population firing rate or network-level synchronization). This makes them well suited for real-time applications.</p>
<p>However, most commercial software interfaces for controlling multichannel hardware lack flexible support for real-time, bi-directional communication with neural tissue. Additionally, commercial software is often hard to integrate into complex multicomponent experimental configurations. As a result, multichannel hardware has not been incorporated into closed-loop interfacing schemes to the degree of single-cell recording systems, such as voltage and dynamic clamp (Cole, <xref ref-type="bibr" rid="B5">1949</xref>; Marmont, <xref ref-type="bibr" rid="B20">1949</xref>; Hamill et al., <xref ref-type="bibr" rid="B12">1981</xref>; Prinz et al., <xref ref-type="bibr" rid="B27">2004</xref>; Arsiero et al., <xref ref-type="bibr" rid="B2">2007</xref>; Kispersky et al., <xref ref-type="bibr" rid="B18">2011</xref>). There are some exceptions to this trend (Jackson et al., <xref ref-type="bibr" rid="B17">2006b</xref>; Azin and Guggenmos, <xref ref-type="bibr" rid="B3">2011</xref>; Zanos et al., <xref ref-type="bibr" rid="B50">2011</xref>). These systems are typically limited to low channel counts and/or low recording resolution in order to achieve embedded real-time processing at the recording site using a microcontroller or DSP. This approach has clear advantages for experiments on freely moving animals, but is limited in terms of input and output bandwidth, processing power to enable complex experimental protocols, and ease of programming. Neuroscience research would benefit from a multichannel acquisition platform that (1) enables bi-directional interaction with neuronal networks, (2) is practical for everyday use, (3) is straightforwardly extensible for complex closed-loop protocols, (4) works with a variety multi-electrode interfaces, (5) provides large channel counts and high recording resolution, and (6) is low cost. This type of system would be particularly applicable to three areas of neuroscience research:</p>
<list list-type="bullet">
<list-item><p>Feedback Control of Network Variables: Neuronal networks are complex systems with many recurrently interacting components. This often results in ambiguity in cause and effect relationships between network variables (Rich and Wenner, <xref ref-type="bibr" rid="B29">2007</xref>; Turrigiano, <xref ref-type="bibr" rid="B40">2011</xref>). Feedback control can be used to parse variables of neural activation that are causally linked (Cole, <xref ref-type="bibr" rid="B5">1949</xref>). Feedback control of network-level variables (e.g., population firing rate, neuronal synchronization, or neurotransmission levels) can potentially clarify their causal relationships (Wagenaar et al., <xref ref-type="bibr" rid="B42">2005</xref>; Wallach et al., <xref ref-type="bibr" rid="B48">2011</xref>).</p></list-item>
<list-item><p>Artificial Embodiment: Dissociated neural cultures, slice preparations, and anesthetized or paralyzed animals allow stable electrophysiological access but cannot engage in natural behaviors with their environment. By artificially embodying reduced neuronal preparations using a virtual environment or a robot, experimental access is maintained while neural tissue is engaged in complex behaviors (Reger et al., <xref ref-type="bibr" rid="B28">2000</xref>; DeMarse et al., <xref ref-type="bibr" rid="B6">2001</xref>; Ahrens et al., <xref ref-type="bibr" rid="B1">2012</xref>).</p></list-item>
<list-item><p>Clinical Applications: Responsive (Morrell, <xref ref-type="bibr" rid="B23">2011</xref>) or predictive (Mormann et al., <xref ref-type="bibr" rid="B22">2007</xref>) application of neural therapies have the potential to improve the efficacy and safety of treatments that are currently used in open-loop. Examples include brain stimulation and local drug perfusion techniques that are used to treat movement disorders, clinical depression, chronic pain, and epilepsy. Additionally, electrical stimuli delivered to one region of motor cortex in response to spiking activity in another motor area has been shown to facilitate a functional reorganization of motor output, indicating a potential role for activity-dependent stimulation in rehabilitation therapy (Jackson et al., <xref ref-type="bibr" rid="B16">2006a</xref>).</p></list-item>
</list>
<p>Here, we present substantial improvements to NeuroRighter, an open-source, multichannel neural interfacing platform which we designed specifically to enable bi-directional, real-time communication with neuronal networks (Rolston et al., <xref ref-type="bibr" rid="B31">2009a</xref>, <xref ref-type="bibr" rid="B33">2010</xref>). In the first half of the paper, we provide a description of NeuroRighter&#x02019;s capabilities, including an application programming interface (API) that facilitates the creation of custom real-time experiment protocols. In the second half of the paper, we demonstrate these features with a variety of case studies. Each case-study highlights a different aspect of NeuroRighter&#x02019;s abilities in the areas of network-level feedback control, artificial embodiment, and closed-loop control of aberrant activity states in freely moving animals.</p>
</sec>
<sec id="s2">
<label>2</label> <title>The NeuroRighter Multichannel Electrophysiology Platform</title>
<p>NeuroRighter is an open-source, low-cost multichannel electrophysiology system designed for bi-directional neural interfacing (Rolston et al., <xref ref-type="bibr" rid="B31">2009a</xref>, <xref ref-type="bibr" rid="B33">2010</xref>). A complete system, including all necessary electronics and a host computer, can be assembled for less than &#x00024;10,000 USD. The NeuroRighter software is free. Extensive documentation on the construction and usage of a NeuroRighter system is available online<xref ref-type="fn" rid="fn1"><sup>1</sup></xref>. NeuroRighter&#x02019;s source code, the API reference, and demonstration closed-loop protocol code, are available from the NeuroRighter code repository<xref ref-type="fn" rid="fn2"><sup>2</sup></xref>. Questions on NeuroRighter assembly and usage can be submitted to the NeuroRighter-Users forum<xref ref-type="fn" rid="fn3"><sup>3</sup></xref>. Tutorials on API usage are provided in sections <xref ref-type="sec" rid="s1">1</xref> and <xref ref-type="sec" rid="s2">2</xref> of the Supplementary Material.</p>
<sec>
<label>2.1</label> <title>Hardware</title>
<p>Here we provide a summary of NeuroRighter&#x02019;s hardware building blocks. Hardware components can be used with neural interfaces designed for applications both <italic>in vivo</italic> and <italic>in vitro</italic>. Printed circuit board (PCB) performance specifications are provided in (Rolston et al., <xref ref-type="bibr" rid="B31">2009a</xref>) and layouts are available online. A complete NeuroRighter system meets or exceeds the performance of commercial alternatives in terms of noise levels, stimulation channel count, stimulation recovery times, and flexibility (Rolston et al., <xref ref-type="bibr" rid="B31">2009a</xref>). NeuroRighter&#x02019;s PCBs are designed to be modular: electrode interfacing and stimulation PCBs have identical footprints and use vertical headers to route power between boards. This allows interfacing PCBs to be stacked on top of one another for increased channel counts and the use of a single DC power supply (or set of batteries) for all hardware.</p>
<sec>
<label>2.1.1</label> <title>ADC/DAC boards</title>
<p>NeuroRighter uses National Instruments (NI; National Instruments Corp, Austin, TX, USA) data acquisition hardware driven with NI&#x02019;s hardware control library, DAQmx. NI PCI-6259, PCIe-6259, PCIe-6353, and PCIe-6363 16-bit, 1&#x02009;M sample/sec data acquisition cards are currently supported. Each card supports 32 analog inputs (AI), 4 analog outputs (AO), and 48 I/O-configurable digital channels. NI SCB-68 screw-terminal connector boxes are used to interface each data acquisition card with external hardware. Up to 3 cards can be used in a single NeuroRighter system to meet channel count requirements.</p>
</sec>
<sec>
<label>2.1.2</label> <title>Multichannel amplifier interfacing boards</title>
<p>NeuroRighter provides two types of PCB to interface the NI data acquisition cards with multi-electrode amplifier systems. For <italic>in vivo</italic> applications, a 16-channel filter module provides 1.6X signal buffering, anti-aliasing filtering (&#x02212;3&#x02009;dB point at 8.8&#x02009;KHz), DC offset subtraction (&#x02212;3&#x02009;dB point at 1&#x02009;Hz), and regulated power to the headstage. Up to four of these modules can be stacked together in order to meet channel count requirements. For <italic>in vitro</italic> applications, a 68 channel conversion board provides power and signal routing for planar electrode array amplifier systems, e.g., Multichannel Systems&#x02019; 60 channel amplifiers (Multichannel Systems, Reutlingen, Germany), which have a manufacturer settable pass-band. Both boards interface with the SCB-68 connector boxes using 34-channel ribbon cables, wired as signal/ground pairs to reduce capacitive crosstalk between adjacent lines during stimulation.</p>
</sec>
<sec>
<label>2.1.3</label> <title>Electrical micro-stimulation hardware</title>
<p>NeuroRighter includes all-channel (up to 64 electrodes) stimulation capabilities for both <italic>in vivo</italic> and <italic>in vitro</italic> systems. This system is based upon the circuits presented in (Wagenaar and Potter, <xref ref-type="bibr" rid="B47">2004</xref>; Wagenaar et al., <xref ref-type="bibr" rid="B43">2004</xref>) and includes two separate PCBs: (1) a voltage- or current-controlled signal generation PCB, and (2) a signal multiplexing and isolation PCB to select different electrodes for stimulation and isolate recording electrodes from stimulation cables between stimulus pulses.</p>
<list list-type="simple">
<list-item><label>(1)</label> <p><italic>Signal generation board</italic>. The signal generation PCB is identical for all applications. This board provides both voltage controlled or constant current stimulation modes. It stacks into the amplifier interfacing board(s) and therefore does not require an additional power source. Aside from stimulus generation, this PCB can be used to perform electrode impedance measurements, which are useful for diagnosing the health of micro-electrodes and their insulated leads, and for electroplating (Desai et al., <xref ref-type="bibr" rid="B7">2010</xref>). Only one signal generation PCB is required for up to 64 electrodes.</p></list-item>
<list-item><label>(2)</label> <p><italic>Signal multiplexing boards</italic>. Stimulus multiplexing and isolation occurs at PCBs that piggyback directly on electrode pre-amplifiers. These PCBs are located close to the initial stages of electrode amplification so that the recording amplifier can be isolated from long electrical leads, which reduces capacitive pickup. Because recording amplifiers (e.g., headstages <italic>in vivo</italic> or multichannel amplifiers <italic>in vitro</italic>) come in many shapes and sizes, the design of the multiplexer PCBs is application dependent. For <italic>in vivo</italic> applications, we have designed multiplexer systems that use an 18-pin Omnetics Nano connector, which interfaces with headstages from Triangle Biosystems (Durham, NC), Tucker-Davis Technologies (Alachua, FL), and Neurolinc Corporation (New York, NY), among others (Rolston et al., <xref ref-type="bibr" rid="B31">2009a</xref>). This board employs a single 1-of-16 multiplexer. For <italic>in vitro</italic> applications, four separate multiplexing modules, each of which houses two 1-of-8 multiplexers, plug directly into exposed 0.1&#x02033; pitch sockets of a 60 channel Multichannel Systems amplifier (Wagenaar and Potter, <xref ref-type="bibr" rid="B47">2004</xref>). The creation of custom multiplexer boards or adapters for other systems is straightforward due to the simplicity of these PCBs (they generally consist of a single multiplexer integrated circuit).</p></list-item>
</list>
</sec>
<sec>
<label>2.1.4</label> <title>Generic I/O</title>
<p>NeuroRighter provides 4 analog output channels and 32 bits of programmable digital I/O for controlling or recording digital signals from laboratory equipment. An auxiliary set of up to 32 analog input channels and 32 bits of digital I/O can also be used. Channel counts of generic I/O in a NeuroRighter system depend on the number of data acquisition cards in the user&#x02019;s system, and the amount of analog input channels reserved for the electrodes.</p>
<p>NeuroRighter&#x02019;s hardware serves as an adaptable interface between multi-electrode sensors and data acquisition cards for recording and microstimulation. There are many other options for routing signals to and from the acquisition cards. Therefore, except for the acquisition cards themselves, the hardware we present here is not required to make use of NeuroRighter&#x02019;s software.</p>
</sec>
</sec>
<sec>
<label>2.2</label> <title>Software</title>
<p>The NeuroRighter software application was written in C&#x00023; (pronounced &#x0201C;C-Sharp&#x0201D;). C&#x00023; is a modern, general purpose, object-oriented programming language. The software is free and its source code is maintained on a publicly accessible repository<xref ref-type="fn" rid="fn4"><sup>4</sup></xref>. For standard installations, NeuroRighter is distributed as an installation package for 32- or 64-bit Windows operating systems (Microsoft Corp., Redmond, WA). NeuroRighter installations contain two software components:</p>
<list list-type="order">
<list-item><p>A stand-alone multichannel recording and stimulation application. This includes a graphical user interface (GUI) for data visualization, hardware configuration, data filtering, spike detection and sorting, all-channel stimulation, stimulus artifact rejection, and data recording (section <xref ref-type="sec" rid="s3">2.2.1</xref>).</p></list-item>
<list-item><p>An application programming interface (API) that allows NeuroRighter to be used as a real-time hardware interface and data server for user-coded protocols (section <xref ref-type="sec" rid="s4">2.2.2</xref>).</p></list-item>
</list>
<sec id="s3">
<label>2.2.1</label> <title>The NeuroRighter application</title>
<p>As a stand-alone application, NeuroRighter can be used for high-quality multichannel recordings (16-bit resolution, 31&#x02009;k Samples/sec/channel) and all-channel stimulation protocols. NeuroRighter&#x02019;s graphical interface is organized into tabbed pages, each of which encapsulates a particular group of functions or visualization tools (Figure <xref ref-type="fig" rid="F1">1</xref>). In the following section, we discuss the main functional aspects of the stand-alone NeuroRighter application.</p>
<fig id="F1" position="float">
<label>Figure 1</label>
<caption><p><bold>Portions of NeuroRighter&#x02019;s graphical user interface</bold>. <bold>(A)</bold> The hardware settings interface. <bold>(B)</bold> The spike-detection filter and spike sorting interface. <bold>(C)</bold> The main application window. Sorted spike waveforms recorded from a 59-channel, planar electrode array are shown on the spike visualization tab of the main GUI. The position of each waveform corresponds to the position of the recording electrode on which it was detected.</p></caption>
<graphic xlink:href="fncir-06-00098-g001.tif"/>
</fig>
<sec>
<label>2.2.1.1</label> <title>Main interface</title>
<p>The main NeuroRighter interface (Figure <xref ref-type="fig" rid="F1">1</xref>C) is an access point for all of the application&#x02019;s functionality. It facilitates user manipulation of hardware settings, online filter settings, data visualization windows, stimulation tools, and other features, which are discussed below. Additionally, some recording settings can be manipulated within the main interface itself:</p>
<p><bold><italic>Online acquisition settings</italic></bold>. Many filter settings can be adjusted during data collection. This allows the user to fine tune acquisition settings while gaining visual feedback of the effect on incoming data streams. Bandpass, spike detection, and spike sorting parameters can be adjusted during a recording.</p>
<p><bold><italic>Data visualization</italic></bold>. Data visualization tools in NeuroRighter use the Microsoft XNA game development framework. This ensures that online visualization does not consume CPU cycles by offloading plotting routines to a supported graphics card. Visualization tools are provided for single-unit activity, local field potentials (LFP), multiunit activity (MUA), electroencephalograph (EEG) traces, and auxiliary analog input streams. Additionally, overlay plots are used to display sorted spike waveforms for each channel (Figure <xref ref-type="fig" rid="F1">1</xref>C).</p>
<p><bold><italic>File saving</italic></bold>. Data streams selected by the user are written to disk with a unique file extension that designates their type. These binary files can be read with MATLAB (Mathworks, Natick, MA) functions included with NeuroRighter installations.</p>
</sec>
<sec>
<label>2.2.1.2</label> <title>Hardware configuration</title>
<p>Correctly specifying mixed digital and analog signal routing, clock synchronization, and trigger synchronization on a multi-board data acquisition system can be complicated. NeuroRighter simplifies this process using a graphical hardware settings interface (Figure <xref ref-type="fig" rid="F1">1</xref>A). Here, the user specifies the types of signals carried by the NI acquisition cards in his or her system, amplifier gain settings, auxiliary input and output channels, options for electrode impedance measurement, signal referencing, and real-time data streaming options. Upon closing the settings dialog, NeuroRighter performs the required signal routing and clock synchronization. All NI cards are synchronized to a single clock oscillator using an NI real-time system integration bus (RTSI, Figure <xref ref-type="fig" rid="F3">3</xref>).</p>
</sec>
<sec>
<label>2.2.1.3</label> <title>Time-series filtering</title>
<p>Incoming data from the A/D converters are passed through a cascade of digital filters to produce different neural data streams. First, channel voltages are passed through several linear filters to extract frequency bands for single-unit activity (&#x02243;200&#x02013;5000&#x02009;Hz) and LFP (&#x02243;1&#x02013;500&#x02009;Hz). MUA, which reflects the firing rate of neurons within the vicinity of the recording electrode, is extracted by rectifying and then low pass filtering the single-unit activity data stream (Sup&#x000E8;r and Roelfsema, <xref ref-type="bibr" rid="B38">2005</xref>).</p>
<p>In addition to traditional filtering methods, NeuroRighter provides several specialized filtering options. Common-mode noise sources such as AC mains pickup or movement artifacts in freely moving animals can corrupt neural recordings. NeuroRighter allows the mean or median of all recording electrodes (with appropriate scaling) to be subtracted from individual electrode voltage streams to combat common-mode interference (Rolston et al., <xref ref-type="bibr" rid="B32">2009b</xref>). This is an effective method for reducing non-periodic common-mode interference, such as movement artifacts, where template subtraction methods are inappropriate. Finally, NeuroRighter includes an implementation of the SALPA filter (Wagenaar and Potter, <xref ref-type="bibr" rid="B46">2002</xref>), which subtracts locally fit cubic splines from electrode traces following the application of a stimulus pulse. This removes the capacitive artifacts from non-saturated recording channels and allows online action potential detection within 2&#x02009;ms after a stimulus pulse.</p>
<p>Sampling rates for different data streams can be set independently. Filter settings (pass-band and filter order) can be modified during data acquisition (Figure <xref ref-type="fig" rid="F1">1</xref>C). Raw data, as well as the result of each filtering stage, yield separate data streams (Table <xref ref-type="table" rid="T1">1</xref>).</p>
<table-wrap position="float" id="T1">
<label>Table 1</label>
<caption><p><bold>Overview of NeuroRighter&#x02019;s input and output streams</bold>.</p></caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left">Input</th>
<th align="left">Source</th>
<th align="left">Server (DataSrv)</th>
<th align="left">Buffer type</th>
<th align="left">Max. channel count</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"/>
<td align="left">Raw electrodes</td>
<td align="left">RawElectrodeSrv</td>
<td align="left">Circular double[][]</td>
<td align="left">64</td>
</tr>
<tr>
<td align="left"/>
<td align="left">SALPA Filter</td>
<td align="left">SalpaSrv</td>
<td align="left">Circular double[][]</td>
<td align="left">64</td>
</tr>
<tr>
<td align="left"/>
<td align="left">Spike-band filter</td>
<td align="left">SpikeBandSrv</td>
<td align="left">Circular double[][]</td>
<td align="left">64</td>
</tr>
<tr>
<td align="left"/>
<td align="left">Spike filter</td>
<td align="left">SpikeSrv</td>
<td align="left">List &#x0003C;SpikeEvent&#x0003E;</td>
<td align="left">64 or No. units</td>
</tr>
<tr>
<td align="left"/>
<td align="left">LFP filter</td>
<td align="left">LFPSrv</td>
<td align="left">Circular double[][]</td>
<td align="left">64</td>
</tr>
<tr>
<td align="left"/>
<td align="left">EEG filter</td>
<td align="left">EEGSrv</td>
<td align="left">Circular double[][]</td>
<td align="left">64</td>
</tr>
<tr>
<td align="left"/>
<td align="left">MUA filter</td>
<td align="left">MUASrv</td>
<td align="left">Circular double[][]</td>
<td align="left">64</td>
</tr>
<tr>
<td align="left"/>
<td align="left">Electrical stimuli</td>
<td align="left">ElecStimuliSrv</td>
<td align="left">List &#x0003C;SpikeEvent&#x0003E;</td>
<td align="left">64</td>
</tr>
<tr>
<td align="left"/>
<td align="left">Auxiliary analog</td>
<td align="left">AuxAnalogSrv</td>
<td align="left">Circular double[][]</td>
<td align="left">32</td>
</tr>
<tr>
<td align="left"/>
<td align="left">Auxiliary digital</td>
<td align="left">AuxDigitalSrv</td>
<td align="left">List &#x0003C;DigitalEvent&#x0003E;</td>
<td align="left">32&#x02009;bits</td>
</tr>
<tr>
<td colspan="5" align="left"><hr/></td>
</tr>
<tr>
<td align="left"><bold>Output</bold></td>
<td align="left"><bold>Source</bold></td>
<td align="left"><bold>Server (StimSrv)</bold></td>
<td align="left"><bold>Buffer type</bold></td>
<td align="left"><bold>Max. channel count</bold></td>
</tr>
<tr>
<td colspan="5" align="left"><hr/></td>
</tr>
<tr>
<td align="left"/>
<td align="left">Electrical stimuli</td>
<td align="left">StimOut</td>
<td align="left">List &#x0003C;StimulusEvent&#x0003E;</td>
<td align="left">64</td>
</tr>
<tr>
<td align="left"/>
<td align="left">Analog output</td>
<td align="left">AnalogOut</td>
<td align="left">List &#x0003C;AnalogEvent&#x0003E;</td>
<td align="left">4</td>
</tr>
<tr>
<td align="left"/>
<td align="left">Digital output</td>
<td align="left">DigitalOut</td>
<td align="left">List &#x0003C;DigitalEvent&#x0003E;</td>
<td align="left">32&#x02009;bits</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p><italic>Each stream is accessed using a dedicated server that includes functions for reading from, or writing to, its data buffer</italic>.</p>
</table-wrap-foot>
</table-wrap>
</sec>
<sec>
<label>2.2.1.4</label> <title>Spike filtering</title>
<p>Spike filtering in NeuroRighter is a three-step process: (1) detection, (2) validation, and (3) sorting. NeuroRighter detects spikes using a threshold criterion that compares individual voltage samples to the estimated RMS voltage on the corresponding electrode. Upon threshold crossing, a peak-aligned voltage &#x0201C;snippet&#x0201D; is extracted from the raw voltage stream. Each snippet is validated using a series of <italic>ad hoc</italic> criteria based upon waveform slope, width, and peak-to-peak amplitude. Finally, spikes can be sorted online using an automated Gaussian mixture modeling algorithm. Details of the spike detection and sorting algorithms used by NeuroRighter are provided in section <xref ref-type="sec" rid="s5">3</xref> in the Supplementary Material.</p>
<p>The spike detection/sorting configuration is controlled through a child GUI (Figure <xref ref-type="fig" rid="F1">1</xref>B). All relevant spike detection, validation, and sorting parameters are under user control and are manipulated using the spike detection GUI. Because spike-detection settings are changed using a secondary GUI, the effects of parameter changes can be simultaneously monitored on the visualization tabs in the main interface while data collection occurs. A complete list of these parameters is shown in Table S1 in the Supplementary Material. Spike filters, including trained spike sorters, can be saved and reused.</p>
</sec>
<sec>
<label>2.2.1.5</label> <title>Stimulation</title>
<p>NeuroRighter provides several options for delivering complex stimulus patterns to neural tissue either manually through the NeuroRighter application or using scripted protocols. Simple, periodic stimulation protocols, consisting of single or double phase, square, current- or voltage-controlled pulses on any electrode, can be performed directly from the main GUI. Stimuli can be triggered &#x0201C;on demand&#x0201D; in response to a mouse click or by using hardware-timed, periodic sequence of triggers.</p>
<p>Scripted protocols can be used to deliver complex, potentially non-periodic stimulus patterns and to access general purpose analog and digital output lines. Neurorighter uses a double-buffered output engine, called <monospace>StimSrv</monospace> (Table <xref ref-type="table" rid="T2">2</xref>), to produce arbitrary, hardware-timed stimulation, analog-output, or digital output signals (Table <xref ref-type="table" rid="T1">1</xref>, bottom). <monospace>StimSrv</monospace> can be accessed on-the-fly using NeuroRighter&#x02019;s API (section <xref ref-type="sec" rid="s4">2.2.2</xref>) or with user-written scripts. The schematic in Figure <xref ref-type="fig" rid="F2">2</xref>A demonstrates how <monospace>StimSrv</monospace> delivers uninterrupted output. First, a block of the NI cards&#x02019; memory is reserved and divided into two sections, each of which comprises a single output buffer. At a given instant, one buffer is reserved for sample generation and one is available for writing. When the all samples in the read buffer are exhausted, the buffers switch roles, allowing seamless delivery of constantly varying output signals. This allows the delivery of complex, aperiodic stimulation patterns and the orchestration of experimental apparatuses using analog and digital output lines. All output is clock-synchronized to input data streams, allowing <italic>a priori</italic> specification of stimulus delivery times, relative to the start of the experiment, with single-sample precision. Stimulation scripts can be created with a set of MATLAB functions that are included with NeuroRighter installations (see section <xref ref-type="sec" rid="s1">1</xref> in the Supplementary Material).</p>
<table-wrap position="float" id="T2">
<label>Table 2</label>
<caption><p><bold>Packages included with NeuroRighter&#x02019;s Plugin API</bold>.</p></caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left">Package</th>
<th align="left">Component</th>
<th align="left">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">Server</td>
<td align="left">DataSrv</td>
<td align="left">Contains input server objects (Table <xref ref-type="table" rid="T1">1</xref>, top)</td>
</tr>
<tr>
<td align="left"/>
<td align="left">StimSrv</td>
<td align="left">Contains output server objects (Table <xref ref-type="table" rid="T1">1</xref>, bottom)</td>
</tr>
<tr>
<td align="left">Datatypes</td>
<td align="left">MultiChannel Buffer</td>
<td align="left">Circular buffer for time series data</td>
</tr>
<tr>
<td align="left"/>
<td align="left">SpikeEvent</td>
<td align="left">Spike event type (time, channel, waveform, unit)</td>
</tr>
<tr>
<td align="left"/>
<td align="left">DigitalEvent</td>
<td align="left">Digital event type (time, 32-bit port state)</td>
</tr>
<tr>
<td align="left"/>
<td align="left">StimulusEvent</td>
<td align="left">Stimulus event type (time, channel, waveform)</td>
</tr>
<tr>
<td align="left"/>
<td align="left">AuxEvent</td>
<td align="left">Auxiliary voltage event (time, channel, voltage)</td>
</tr>
<tr>
<td align="left">NeuroRighter Task</td>
<td align="left">NRTask</td>
<td align="left">Abstract class for real-time NeuroRighter interfacing</td>
</tr>
<tr>
<td align="left">Log</td>
<td align="left">Logger</td>
<td align="left">Used for debugging real-time protocols</td>
</tr>
</tbody>
</table>
</table-wrap>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p><bold>NeuroRighter&#x02019;s StimSrv subsystem</bold>. <bold>(A)</bold> To deliver complex, non-periodic stimuli, NeuroRighter uses a double-buffering system. This allows samples to be generated and written to the NI cards&#x02019; analog and digital outputs simultaneously. At a given instant, one buffer is reserved for reading (pink) and one from writing (gray). When the all samples in the read buffer are generated, the buffers switch roles, allowing seamless delivery of constantly varying stimulus patterns and generic analog and digital signals. When using <monospace>StimSrv</monospace> for closed-loop protocols, the <monospace>loop()</monospace> function is called at the instant of a buffer switch. <bold>(B)</bold> Example open-loop stimulus protocol using <monospace>StimSrv</monospace>. (i) 100, 1&#x02009;s Poisson sequences of electrical stimuli (left) and a single repeated Poisson sequence (right), were delivered to a dissociated cortical network (biphasic, voltage controlled, &#x000B1;0.75V, 800&#x02009;&#x003BC;s period). Stimulus rasters are shown using a gray-scale to indicate the trial number. For repeated stimuli, stimulus points are overlaid since stimulus delivery is clock-synchronized with the acquisition subsystem. (ii) Rastergrams of 4 units are shown below each stimulus raster, across trials. Example waveforms for each of the 4 units are shown to the right.</p></caption>
<graphic xlink:href="fncir-06-00098-g002.tif"/>
</fig>
<p>Figure <xref ref-type="fig" rid="F2">2</xref>B demonstrates the use of a scripted stimulation protocol to deliver spatio-temporal patterns of electrical stimuli. One-second trials of spatially uniform, and temporally Poisson random stimulus pulses were delivered to a dissociated cortical network. Each trial consisted of either a new, random stimulus realization or a single repeated realization. Each type of stimulus sequence was interleaved with no delay between adjacent trials. Figure <xref ref-type="fig" rid="F2">2</xref>Bi shows stimulus raster plots for 100 trials each stimulus type, with a gray-scale indicating the stimulus trial. For repeated stimuli, individual trials cannot be seen since the recording and stimulation subsystems are clock-synchronized and every repeated stimulus sequence occupies the same set of samples relative to the start of a trial. Figure <xref ref-type="fig" rid="F2">2</xref>Bii shows spiking patterns in response to random and repeated stimuli for 4 units across trials. The delivery of repeated stimuli to the network results in extremely reproducible spiking patterns, and non-repeated, random stimuli probe the variability of population spiking response. This type of stimulus protocol is commonly used to estimate the mutual information between a stimulation process and the population spiking response (Strong et al., <xref ref-type="bibr" rid="B36">1998</xref>; Yu et al., <xref ref-type="bibr" rid="B49">2010</xref>).</p>
</sec>
</sec>
<sec id="s4">
<label>2.2.2</label> <title>NeuroRighter&#x02019;s application programming interface</title>
<p>NeuroRighter installations include an API that facilitates the creation of real-time protocols. The API comprises a set of tools for interacting with NeuroRighter&#x02019;s input and output streams. Protocols written using the API are externally compiled libraries that can &#x0201C;plug in&#x0201D; to the NeuroRighter application in order to impart real-time and closed-loop functionality. The software packages included with the API are shown in Table <xref ref-type="table" rid="T2">2</xref>. Each package contains different set of tools for interacting with NeuroRighter&#x02019;s data streams. Here we discuss the contents and usage of each of these tools. Additionally, a detailed API reference is available online<xref ref-type="fn" rid="fn5"><sup>5</sup></xref>.</p>
<sec>
<label>2.2.2.1</label> <title>NeuroRighterTask</title>
<p>User-defined protocols employ the NeuroRighter application as a real-time data server. These protocols are inherited from a base component called <monospace>NRTask</monospace>, which belongs to the NeuroRighterTask package. Closed-loop protocols created with the plugin API are derived from <monospace>NRTask</monospace> (see section <xref ref-type="sec" rid="s2">2</xref> in the Supplementary Material for details). Three functions included in <monospace>NRTask</monospace> can then be accessed to impart real-time functionality.</p>
<list list-type="order">
<list-item><p><monospace>NRTask.Setup()</monospace>: This function is called when the base <monospace>NRTask</monospace> component is instantiated. It allows one-time setup operations to take place, such as the declaration of variables, allocation of internal buffers, file streaming setup, GUI initialization, etc.</p></list-item>
<list-item><p><monospace>NRTask.Loop()</monospace>: This function is executed periodically by a hardware-timed clock. Execution periods of 1 to 150&#x02009;ms are allowed and can be set from the Hardware Settings GUI in the main application (Figure <xref ref-type="fig" rid="F1">1</xref>A). To achieve closed-loop functionality, code within the <monospace>Loop</monospace> function should access other components of the API, most importantly components from the Server and DataTypes packages (Table <xref ref-type="table" rid="T2">2</xref>). These packages provide access to incoming neural data streams and output buffers and can be used to form a bi-directional interface with neural tissue. Output can be sent from within the <monospace>Loop</monospace> function using the StimSrv package (Table <xref ref-type="table" rid="T2">2</xref>) or through natively supported communication interfaces such as TCP/IP ports, serial ports, or USB communication.</p></list-item>
<list-item><p><monospace>NRTask.Cleanup()</monospace>: This function is called a single time when the protocol is stopped from the NeuroRighter GUI. It allows the deconstruction of GUIs, the closure of file streams that may have been created during the execution of the plugin, and other cleanup routines.</p></list-item>
</list>
<p>Listing <xref ref-type="fig" rid="F10">1</xref>A and <xref ref-type="fig" rid="F10">1</xref>B provide pseudocode for a two real-time plugins that both respond to a spike produced by a particular detected unit. A real-time protocol written using the API will follow the structure of one of these code skeletons, regardless of its complexity. First, the user references the required packages from the API. Next, the plugin is designated to be a child of <monospace>NRTask</monospace>, which provides the protocol with automatic access to NeuroRighter&#x02019;s data servers. Finally, the <monospace>Setup()</monospace>, <monospace>Loop()</monospace>, and <monospace>Cleanup()</monospace> functions are overridden (Listing <xref ref-type="fig" rid="F10">1</xref>A), or a <monospace>NewData</monospace> event is subscribed to (Listing <xref ref-type="fig" rid="F10">1</xref>B), to impart real-time functionality. After it is compiled (either using Visual Studio or Mono<xref ref-type="fn" rid="fn6"><sup>6</sup></xref>), the plugin can be executed through NeuroRighter&#x02019;s GUI. Plugin protocols executed through NeuroRighter operate on a high-priority thread to decrease closed-loop response latency. The diagram shown in Figure <xref ref-type="fig" rid="F3">3</xref> shows the interaction between a plugin created using the API, the NeuroRighter executable, and hardware. Functional examples of plugin protocols are provided in section <xref ref-type="sec" rid="s6">5</xref> of the Supplementary Material.</p>
<fig id="F10" position="float">
<label>Listing 1</label>
<caption><p><bold>Code structure for two types of real-time plugin implemented with the API</bold>. <bold>(A)</bold> Pseudocode for a StimSrv-based real-time plugin. <bold>(B)</bold> Pseudocode for real-time plugin triggered by NewData events.</p></caption>
<graphic xlink:href="fncir-06-00098-g010.tif"/>
</fig>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p><bold>Conceptual schematic of NeuroRighter&#x02019;s hardware and software elements</bold>. NeuroRighter serves as a high-level interface between hardware and custom user-written protocols (pink box). NeuroRighter simplifies hardware level programming by using datatypes and methods that are specialized for multichannel neural recording and stimulation. This facilitates the creation of low-latency, closed-loop protocols. Neural signals and secondary data streams are fed into the NI cards&#x02019; analog and digital inputs where they are digitalized and stored temporarily in on-board memory. NeuroRighter periodically transfers data from the acquisition cards&#x02019; FIFO memory to RAM using direct memory access. Data is then pushed to NeuroRighter&#x02019;s <monospace>DataSrv</monospace> server object. <monospace>DataSrv</monospace> serves data to NeuroRighter&#x02019;s visualization tools, filtering algorithms, and externally compiled plugins. The plugin API provides functions for safe interaction with <monospace>DataSrv</monospace> so that custom operations can be performed on incoming data streams. User-written plugins can interact with any of the computer&#x02019;s native communication ports, or write data back to <monospace>StimSrv</monospace> in order to control external hardware as a function of recorded neural signals.</p></caption>
<graphic xlink:href="fncir-06-00098-g003.tif"/>
</fig>
</sec>
<sec>
<label>2.2.2.2</label> <title>Server</title>
<p>Components derived from <monospace>NRTask</monospace> have automatic access to NeuroRighter&#x02019;s input and output servers, which belong to the Server package. There are two banks of data servers: (1) <monospace>DataSrv</monospace>, which can be used to read NeuroRighter&#x02019;s input streams (Table <xref ref-type="table" rid="T1">1</xref>, top) and (2) <monospace>StimSrv</monospace>, which can be used to write to output streams (Table <xref ref-type="table" rid="T1">1</xref>, bottom). <monospace>DataSrv</monospace> and <monospace>StimSrv</monospace> objects encapsulate isolated data servers, each of which handles a particular data stream. Each server includes methods for reading the hardware clock, reading from and writing to its own data buffer, and accessing stream metadata. Because input and output servers are simultaneously accessible from within a user-defined <monospace>NRTask</monospace>, sending output signals (e.g., stimuli) contingent on recorded input is straightforward. The user can select which data streams are sent to <monospace>DataSrv</monospace> or available for writing on <monospace>StimSrv</monospace> using the Hardware Settings GUI (Figure <xref ref-type="fig" rid="F1">1</xref>A).</p>
<p>A final important feature of each data server within <monospace>DataSrv</monospace> is a <monospace>NewData</monospace> event. A <monospace>NewData</monospace> event is fired for a given stream each time it receives new data for the A/D card or a digital filter. Functions within a plugin can subscribe to these events so that feedback processing only occurs when new data is acquired. This reduces computational overhead and the latency of the closed-loop response. Plugins that use <monospace>NewData</monospace> events to generate feedback are not required to include a <monospace>Loop</monospace>() function or to use <monospace>StimSrv</monospace> to send output signals. Instead, standard calls to the National Instrument driver library (DAQmx) can be used to access the NI cards&#x02019; directly. Alternatively, output can be generated using natively supported external communication protocols (USB, TCP/IP, UDP, serial, etc.). <bold>Listing&#x02009;II. B.2(b)</bold> provides pseudocode for a real-time protocol analogous to <bold>Listing&#x02009;II.B.2(a)</bold>, but using the <monospace>NewData</monospace> event to trigger a response. This type of plugin provides a lower response latencies but is less capable of producing complex, precisely timed output signals. A functional example of a <monospace>NewData</monospace>-based plugin is provided in section 5.2 in the Supplementary Material.</p>
</sec>
<sec>
<label>2.2.2.3</label> <title>Datatypes</title>
<p>NeuroRighter&#x02019;s input and output servers operate on high-level data types that encapsulate different forms of multichannel input and output data. These include multichannel buffers for continuous data streams (such as raw electrode voltages or LFP recordings) and discrete event types (such a detected spikes or stimulation events). Extensive documentation on each of these data types is provided in the API reference.</p>
</sec>
<sec>
<label>2.2.2.4</label> <title>Log</title>
<p>The Log package provides accesses to a data logging tool that operates within the NeuroRighter executable, but can be invoked from a user protocol. This tool can be used to write information to a log file using a separate, low-priority thread. This is useful in the development of real-time protocols because core NeuroRighter operations (such as the timing of hardware reads, writes, and other triggers) are logged to this file as well, providing context for messages written from the plugin.</p>
</sec>
</sec>
</sec>
</sec>
<sec id="s5">
<label>3</label> <title>Case Studies</title>
<p>NeuroRighter&#x02019;s abilities for orchestrating closed-loop experiments are best demonstrated through example. Here we present five case studies in which protocols created with the API were used to measure NeuroRighter&#x02019;s closed-loop reaction-time, clamp network firing levels in dissociated cultured cortical networks, react to seizures in freely moving animals with multi-electrode electrical stimulation, and control robots serving as artificial embodiments. Experimental methods, and plugin examples are provided in the section <xref ref-type="sec" rid="s7">4</xref> in the Supplementary Material. The plugin code used in these case studies is available for download on NeuroRighter&#x02019;s code repository. <xref ref-type="fn" rid="fn7"><sup>7</sup></xref>. Additionally, we provide all code used in the reaction-time case study in section <xref ref-type="sec" rid="s6">5</xref> in the Supplementary Material.</p>
<sec>
<label>3.1</label> <title>Low-latency control of real-time hardware</title>
<p>Rapid response times are critical for maintaining a tight feedback loop in which features of incoming data streams (e.g., spikes, EEG, temperature, or animal motion) are used to trigger or adjust the delivery of stimuli. To benchmark the response speed of protocols written using the API, we wrote a protocol that generated output signals in response to recorded action potentials. We picked two sorted units from a dissociated neural culture to serve as triggers for hardware activation. When one of these units fired, it triggered the output of a digital word encoding the identity of the detect unit. These signals serve as a generic stand-in for a stimulation pattern or any other hardware control signal that might be used in a feedback control scheme. Output signals were then recorded using NeuroRighter&#x02019;s digital input port. The delay between action potential detection and signal generation could then be measured using the same sample clock. A diagram of the experimental protocol is shown in Figure <xref ref-type="fig" rid="F4">4</xref>A. We wrote protocols to test three hardware options for generating the required digital output:
<list list-type="order">
<list-item><p>StimSrv: Buffered manipulation of the NI cards using NeuroRighter&#x02019;s native stimulation server (Figure <xref ref-type="fig" rid="F2">2</xref> and <bold>Listing&#x02009;II.B.2(a)</bold>).</p></list-item>
<list-item><p>NewData: Unbuffered manipulation of the NI cards whenever new data enters NeuroRighter&#x02019;s spike server (<bold>Listing&#x02009;II.B.2(b)</bold>).</p></list-item>
<list-item><p>Arduino: An Arduino ATmega2560-based microcontroller board<xref ref-type="fn" rid="fn8"><sup>8</sup></xref> communicating via serial port (RS-232).</p></list-item>
</list></p>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p><bold>Estimated loop times for bi-directional communication using different hardware configurations</bold>. <bold>(A)</bold> Schematic of experiment used to test reaction delays for different real-time hardware options. Spikes detected and sorted from 59-channel planar electrode array were passed to the real-time plugin. The plugin determined if a spike originated from one of two units of interest. In the case that a spike was produced by one of the two units, the plugin triggered the generation of a digital word encoding the detected unit using either StimSrv, unbuffered digital output triggered by a <monospace>NewData</monospace> event, or an Arduino board. Digital signals were then, recorded though NeuroRighter&#x02019;s digital input port. <bold>(B)</bold> Normalized histogram of time delays from spikes produced by the two units of interest (action potential waveforms are shown in pink and gray and occur at 0&#x02009;ms) to the recorded digital signals produced by the plugin to encode the units (01000111 or 01010100). Delay histograms are shown for each unit (pink and gray) and the three different hardware options. N is the number of spikes recorded for each hardware option.</p></caption>
<graphic xlink:href="fncir-06-00098-g004.tif"/>
</fig>
<p>The response latency, calculated from the time of an action potential peak to the corresponding change in the digital port was calculated for each hardware option (Figure <xref ref-type="fig" rid="F4">4</xref>). Mean response latencies were 46.9&#x02009;&#x000B1;&#x02009;3.1&#x02009;ms for rb&#x02009;&#x02009;StimSrv, 7.1&#x02009;&#x000B1;&#x02009;1.5&#x02009;ms for <monospace>NewData</monospace>, and 9.2&#x02009;&#x000B1;&#x02009;1.3&#x02009;ms for the Arduino board. Latencies where measured while NeuroRighter performed bandpass filtering, spike detection, spike sorting, data streaming, and data saving for 64 electrode inputs, each sampled at 25&#x02009;kHz. Experiments were conducted on a desktop computer using an Intel Core i7 processor (Santa Clara, California, USA.) and running running 64-bit Windows Vista.</p>
<p>The differences in reaction latency for different hardware options are a result of both the method used to communicate with the hardware and the how the input sent from NeuroRighter is interpreted and transformed into a physical output signal. The differences in response times for NewData and Arduino are largely attributable to the different communication protocols and command interpretation by the client device. For instance the Arduino used a RS-232 serial interface where as NewData communicates with the NI cards via PCIe. StimSrv&#x02019;s long latency in comparison to other options is a result of its double buffering system, which requires a relatively long time period between updates to the NI D/A&#x02019;s output buffer. While StimSrv is slow in comparison to the NewData and microcontroller options, it provides an interface that is easier to use and allows the uninterrupted delivery of arbitrary complex singal outputs. On the other hand, the Arduino and NewData methods can only respond by generating finite-sample or periodic control signals. We have found that StimSrv is fast enough for most of our closed-loop requirements. For this reason, we used StimSrv to generate physical outputs for the remainder of the case studies. However, as demonstrated above, the API&#x02019;s modularity allows the use of faster hardware options with little change in coding complexity.</p>
</sec>
<sec id="s8">
<label>3.2</label> <title>Multichannel population firing clamp</title>
<p>The population firing rate is a building block of the neural code. The ability to precisely control population firing in the face of experimental perturbations can be used to understand its role in network function. To demonstrate NeuroRighter&#x02019;s ability to control the network firing rate, we implemented the feedback controller presented in Wagenaar et al. (<xref ref-type="bibr" rid="B42">2005</xref>) to control the firing activity in dissociated cortical cultures grown on 59-channel micro-electrode arrays. This algorithm adjusts the stimulation amplitude of voltage controlled, biphasic pulses on 10 electrodes to desynchronize population firing and force the network firing rate to track target values. The control law is given by
<disp-formula id="E1"><label>(1)</label><mml:math id="M4"><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo class="MathClass-open">[</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo class="MathClass-bin">&#x0002B;</mml:mo><mml:mi>&#x00394;</mml:mi><mml:mi>T</mml:mi></mml:mrow><mml:mo class="MathClass-close">]</mml:mo></mml:mrow><mml:mo class="MathClass-rel">=</mml:mo><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo class="MathClass-open">[</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo class="MathClass-close">]</mml:mo></mml:mrow><mml:mo class="MathClass-bin">-</mml:mo><mml:mi>&#x003B1;</mml:mi><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo class="MathClass-open">[</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo class="MathClass-close">]</mml:mo></mml:mrow><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mfrac><mml:mrow><mml:mrow><mml:mo class="MathClass-open">&#x027E8;</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>u</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo class="MathClass-open">[</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo class="MathClass-close">]</mml:mo></mml:mrow></mml:mrow><mml:mo class="MathClass-close">&#x027E9;</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mo class="MathClass-bin">&#x0002A;</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mfrac><mml:mo class="MathClass-bin">-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mfenced><mml:mo class="MathClass-punc">,</mml:mo></mml:math></disp-formula>
where <italic>v<sub>k</sub></italic> is the stimulation voltage on electrode <italic>k</italic>, &#x02329;<italic>f<sub>u</sub></italic>[<italic>t</italic>]&#x0232A; is the average firing rate across sorted units detected with the 59 electrode array extending over a 2&#x02009;s window into the past, <italic>f</italic>&#x02009;&#x0002A; is the target firing rate, &#x00394;<italic>T</italic> is the update period of the feedback loop (as defined within NeuroRighter&#x02019;s Hardware Settings GUI), and <italic>&#x003B1;</italic> defines the time constant of the feedback controller as
<disp-formula id="E2"><label>(2)</label><mml:math id="M5"><mml:msub><mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow><mml:mrow><mml:mi>F</mml:mi><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">=</mml:mo><mml:mi>&#x00394;</mml:mi><mml:mi>T</mml:mi><mml:mo class="MathClass-bin">&#x02215;</mml:mo><mml:mi>&#x003B1;</mml:mi><mml:mo class="MathClass-punc">.</mml:mo></mml:math></disp-formula></p>
<p>We used &#x00394;<italic>T</italic>&#x02009;&#x0003D;&#x02009;10&#x02009;ms and &#x003B1;&#x02009;&#x0003D;&#x02009;0.002 so that <italic>&#x003C4;<sub>FB</sub></italic>&#x02009;&#x0003D;&#x02009;5&#x02009;s. Electrodes were stimulated at a 10&#x02009;Hz aggregate frequency (1&#x02009;Hz per electrode for 10 electrodes) in a random, repeating sequence. Additionally, individual electrode voltages were multiplied by a tuning factor that was inversely proportional to the number of spikes that occurred within 30&#x02009;ms following a stimulus pulse on that electrode, as described in Wagenaar et al. (<xref ref-type="bibr" rid="B42">2005</xref>). This factor equalizes each electrode&#x02019;s ability to evoke a spiking response, and is critical for achieving the desynchronizing effect of the controller on population activity.</p>
<p>We used the controller to clamp network firing at target rates for 5&#x02009;min epochs. These results are shown in Figure <xref ref-type="fig" rid="F5">5</xref>. The controller was able to achieve target rates within the range of <italic>f</italic>&#x02009;&#x0002A;&#x02009;&#x0003D;&#x02009;1.5&#x02013;4.5&#x02009;Hz/Unit. An animation of neural activity before and during firing-rate clamping is provided in the Supplementary Material.</p>
<fig id="F5" position="float">
<label>Figure 5</label>
<caption><p><bold>NeuroRighter can be used to clamp population firing rates <italic>in vitro</italic> using closed-loop electrical stimulation</bold>. <bold>(A)</bold> Schematic of the multi-electrode population firing clamp. <bold>(B)</bold> Step tracking performance is shown for a range of target firing rates, <italic>f</italic>&#x02009;&#x0002A; (dotted lines). The average neuronal firing rate across detected units,&#x02329;<italic>f<sub>u</sub></italic>[<italic>t</italic>]&#x0232A; (colored lines), is shown for each step in <italic>f</italic>&#x02009;&#x0002A;. Tracking failures are colored gray. <bold>(C)</bold> Time averaged neuronal firing rate for the last 2.5&#x02009;min of each 5&#x02009;min protocol compared to the reference signal, <italic>f</italic>&#x02009;&#x0002A;. The dotted line is identity. <bold>(D)</bold> The mean control voltage across the stimulating electrodes over the final 2.5&#x02009;min of each step protocol at different values of <italic>f</italic>&#x02009;&#x0002A;.</p></caption>
<graphic xlink:href="fncir-06-00098-g005.tif"/>
</fig>
<p>The monotonically increasing relationship between the mean stimulation voltage <inline-formula><mml:math id="M1"><mml:mrow><mml:mover accent='true'><mml:mrow><mml:mo>&#x02329;</mml:mo><mml:msub><mml:mi>v</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo stretchy='false'>[</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>]</mml:mo><mml:mo>&#x0232A;</mml:mo></mml:mrow><mml:mo stretchy='true'>&#x000AF;</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula>, and target firing rate <italic>f</italic>&#x02009;&#x0002A; (Figure <xref ref-type="fig" rid="F5">5</xref>D) might indicate that knowledge of the stimulation voltage versus firing rate relationship is sufficient to design an open-loop controller capable of holding network firing rates. To test this, we clamped firing at <italic>f</italic>&#x02009;&#x0002A;&#x02009;&#x0003D;&#x02009;3.0&#x02009;Hz/Unit over 10&#x02009;min epochs for 15 trials. Five minutes into each 10&#x02009;min protocol, we stopped updating stimulation voltages on the ten stimulating electrodes, but continued multi-electrode stimulation in open-loop mode (Figure <xref ref-type="fig" rid="F6">6</xref>). Although the desired mean firing rate was achieved fairly consistently, the open-loop control scheme could not react to the rapid changes in excitability that are typical of cultured cortical networks (Wagenaar et al., <xref ref-type="bibr" rid="B45">2006b</xref>). This variability is reflected in the large range of control signals required to track the target rate over the first 5&#x02009;min of each trial. As a result the RMS error of &#x02329;<italic>f<sub>u</sub></italic>[<italic>t</italic>]&#x0232A; about <italic>f</italic>&#x02009;&#x0002A; increased by a factor of 5.1 for open-loop compared to closed-loop epochs. The variance of firing during open-loop stimulation is comparable to that of spontaneous (non-evoked) firing behavior that was recorded before the controller was switched on (Figure <xref ref-type="fig" rid="F6">6</xref>, top).</p>
<fig id="F6" position="float">
<label>Figure 6</label>
<caption><p><bold>Closed-loop stimulation is required to robustly clamp population firing</bold>. (Top) The average neuronal firing rate over 1&#x02009;min periods across 15 trials. Half-way through a multichannel population clamp protocol, real-time voltage updates stop and microstimulation is applied in open-loop. Error bars are&#x02009;&#x000B1;&#x02009;standard deviation. (Bottom) The mean electrode stimulation voltage across 10 stimulating electrodes, for each of the 15 trials.</p></caption>
<graphic xlink:href="fncir-06-00098-g006.tif"/>
</fig>
</sec>
<sec id="s9">
<label>3.3</label> <title>Long-term population firing clamp with synaptic decoupling</title>
<sec>
<label>3.3.1</label> <title>Experiment 1</title>
<p><italic>In vitro</italic> neural preparations allow continuous experimental access to neural tissue over very long time scales (Potter and DeMarse, <xref ref-type="bibr" rid="B26">2001</xref>), and therefore serve as important models for understanding slowly occurring developmental processes (Turrigiano et al., <xref ref-type="bibr" rid="B41">1998</xref>; Minerbi et al., <xref ref-type="bibr" rid="B21">2009</xref>; Gal et al., <xref ref-type="bibr" rid="B11">2010</xref>). To demonstrate that NeuroRighter is capable of stable closed-loop neural interfacing over long time scales, we used the multi-electrode feedback controller used in section <xref ref-type="sec" rid="s8">3.2</xref> for 6&#x02009;h epochs. This protocol started with a 1&#x02009;h recording of spontaneous activity. Then, the controller was engaged to clamp population firing to <italic>f</italic>&#x02009;&#x0002A;&#x02009;&#x0003D;&#x02009;3.0&#x02009;Hz/Unit for 6&#x02009;h. Following the clamping protocol, spontaneous network activity was recorded for an additional hour.</p>
<p>Figure <xref ref-type="fig" rid="F7">7</xref>A shows the resulting multichannel stimulation signal (Figure <xref ref-type="fig" rid="F7">7</xref>Ai), neuronal firing rate in relation to <italic>f</italic>&#x02009;&#x0002A; (Figure <xref ref-type="fig" rid="F7">7</xref>Aii), individual unit firing rates (Figure <xref ref-type="fig" rid="F7">7</xref>Aiii), and zoomed rastergrams before, during, and after multi-electrode stimulation was applied (Figure <xref ref-type="fig" rid="F7">7</xref>Aiv). The controller achieved the <italic>f</italic>&#x02009;&#x0002A;&#x02009;&#x0003D;&#x02009;3.0&#x02009;Hz/Unit tracking over the duration of the 6&#x02009;h protocol. Additionally, network activity was desynchronized through most of the control epoch, but occasionally the controller allowed bouts of synchronized network activity (Wagenaar et al., <xref ref-type="bibr" rid="B45">2006b</xref>).</p>
<fig id="F7" position="float">
<label>Figure 7</label>
<caption><p><bold>Long-term population clamp</bold>. <bold>(A)</bold> (i) The mean stimulation voltage (black) and individual electrode stimulation voltages (gray) over the course of the 6-h clamping protocol. (ii) The neuronal firing rate (black) compared to the target rate (red line). (iii) Individual unit firing rates, sorted in order of increasing rate during the 1&#x02009;h period prior to the start of closed-loop control. (iv) Zoomed rastergrams showing short time scale network spiking before, during and after the controller was engaged. <bold>(B)</bold> Same as <bold>(A)</bold> except that AP5 was added 1&#x02009;h after the start of the closed-loop controller and removed 4&#x02009;h later. This is indicated by the arrows at the top of the figure. <bold>(C)</bold> Average pair-wise correlation functions between units for experiments with and without AP5 application (red and black lines, respectively). Cross-correlations were created from spiking data (i) during spontaneous activity before the closed-loop controller was engaged, (ii) half-way through the closed-loop-control period, and (iii) during spontaneous network activity following closed-loop control. The data used to create the correlation functions is centered about locations used to create the rastergrams shown in <bold>(A</bold>iv<bold>)</bold> and <bold>(B</bold>iv<bold>)</bold>. To create the correlation functions, unit firing rates were calculated using 10&#x02009;ms time bins.</p></caption>
<graphic xlink:href="fncir-06-00098-g007.tif"/>
</fig>
</sec>
<sec>
<label>3.3.2</label> <title>Experiment 2</title>
<p>Spiking and neurotransmission have a strong reciprocal influence on one another, making their individual effects on network development difficult to quantify (Turrigiano, <xref ref-type="bibr" rid="B40">2011</xref>). For instance, <italic>N</italic>-methyl-<sc>d</sc>-aspartate (NMDA)-ergic neurotransmission plays a large role in sustained network recruitment (Nakanishi and Kukita, <xref ref-type="bibr" rid="B24">1998</xref>). For this reason, long-term changes in the state of <italic>in vitro</italic> networks following the application synaptic blockers (e.g., changes in firing rate, spiking patterns, or synaptic-strength) is difficult to attribute directly to effects on neurotransmission because of secondary, confounding effects on network activity levels. However, the closed-loop population clamp provides a solution to this problem. A firing rate controller has the potential to compensate for changes in network excitability induced by the application of a drug, removing its confounding effect on network activity.</p>
<p>To test this, we used the multichannel population clamp during the bath application of d(&#x02212;)-2-amino-5-phosphonopentanoic acid (AP5), a competitive antagonist of NMDA receptor. This protocol proceeded identically to experiment 1 except that at 1-h following the start of closed-loop stimulation, NeuroRighter triggered the perfusion of 50&#x02009;&#x003BC;m AP5 into the culturing medium using a syringe pump and a custom, gas-permeable perfusion lid (Potter and DeMarse, <xref ref-type="bibr" rid="B26">2001</xref>; Figure S5 in the Supplementary Material). Four hours after AP5 was applied, NeuroRighter triggered the pump a second time to perform a series of washes with normal culturing medium that removed AP5 from the bath.</p>
<p>Time-series results of this protocol are shown in Figure <xref ref-type="fig" rid="F7">7</xref>B. The contents of these plots are analogous to Figure <xref ref-type="fig" rid="F7">7</xref>A but have arrows to indicate when AP5 was added to, and removed from, the culturing chamber. The controller was able to successfully compensate for changes in network excitability caused by the addition of AP5. Changes in network dynamics were reflected in the control signal, which became smoother in the presence of the AP5 (Figure <xref ref-type="fig" rid="F7">7</xref>Bi).</p>
</sec>
<sec>
<label>3.3.3</label> <title>Comparing Experiments 1 and 2</title>
<p>Figure <xref ref-type="fig" rid="F7">7</xref>C shows the average, pair-wise firing rate correlation functions (Tchumatchenko et al., <xref ref-type="bibr" rid="B39">2010</xref>) for 30 randomly selected units from experiment 1 (black lines) and experiment 2 (red lines). Figures <xref ref-type="fig" rid="F7">7</xref>Ci,iii show the correlation functions of spontaneous network activity before and after the controller was engaged, respectively. Figure <xref ref-type="fig" rid="F7">7</xref>Cii shows correlation functions for epochs during the clamping phase (which included the AP5 treatment for experiment 2). The periodicity of this correlation function follows the 10&#x02009;Hz aggregate stimulation frequency during the clamping period.</p>
<p>Intriguingly, although the pair-wise spiking correlations for experiments 1 and 2 were very similar for epochs of spontaneous activity before and during multichannel stimulation (Figures <xref ref-type="fig" rid="F7">7</xref>Ci,ii), they were remarkably different once the stimulator was turned off (Figure <xref ref-type="fig" rid="F7">7</xref>Ciii). When AP5 was not present during the clamping phase (experiment 1), the firing correlation between units appeared to be enhanced following multichannel stimulation. In contrast, pair-wise correlations were almost non-existent following the a population clamp in which AP5 was present (experiment 2). Because the firing statistics (firing rate and correlation structure) during the 6-h clamping period were nearly identical for the both experiments 1 and 2, this effect on the correlation structure of network activity can not be due to effects on firing activity, but required blocking NMDAergic transmission. Without the closed-loop controller in place, AP5 would have affected network activity levels, obfuscating the mechanism of AP5&#x02019;s effect.</p>
<p>This case study demonstrates the ability of the closed-loop controller to quickly adapt to drug-induced changes in network excitability, to decouple network variables that are normally causally intertwined, and to operate robustly over many hours. Additionally, this case study demonstrates NeuroRighter&#x02019;s ability control peripheral equipment aside from electrical stimulators.</p>
</sec>
</sec>
<sec id="s11">
<label>3.4</label> <title>Real-time seizure intervention in freely moving rats</title>
<p>Aside from <italic>in vitro</italic> recording hardware, NeuroRighter can interface with many different types of neural probes, including those designed to record from and stimulate freely moving animals. To demonstrate this, we performed electrical micro-stimulation in response to paroxysmal activity of hippocampal recordings taken from a rat with induced temporal lobe epilepsy. Many studies have shown potentially therapeutic effects of electrical stimulation on epileptic brain tissue, which could serve as an alternative to pharmacological or surgical treatment methods. For instance, electrical stimulation triggered by characteristic field potential abnormalities can potentially abrogate seizures and lead to a decreased frequency of behavioral symptoms (Mormann et al., <xref ref-type="bibr" rid="B22">2007</xref>; Morrell, <xref ref-type="bibr" rid="B23">2011</xref>; Nelson et al., <xref ref-type="bibr" rid="B25">2011</xref>).</p>
<p>We used the plugin API to create a closed-loop protocol that could detect temporal lobe seizures in freely moving rats and react with multi-electrode stimulation (Figure <xref ref-type="fig" rid="F8">8</xref>A). This control scheme is similar to that of the NeuroPace responsive neurostimulation system (Sun et al., <xref ref-type="bibr" rid="B37">2008</xref>) (NeuroPace Inc., Moutain View, CA, USA), with the exception that we used multi-micro-electrode stimulation instead of driving a single macroelectrode.</p>
<fig id="F8" position="float">
<label>Figure 8</label>
<caption><p><bold>Closed-loop seizure intervention in a freely moving rat</bold>. <bold>(A)</bold> Schematic of the closed-loop seizure intervention protocol. A 16-channel microwire array, with two rows of 8 electrodes, were used to record LFP signals in the CA1 and CA3 regions of the hippocampus of a epileptic rat. Paroxysmal activity in CA1 triggered the application of multichannel electrical stimulation through the recording electrodes via a stimulation multiplexing board (green). <bold>(B)</bold> Implantation sites of the microwire array. Top view shows the electrode penetration sites (black dots) in the right-dorsal hippocampus. The red line indicates position of the coronal view shown below. <bold>(C)</bold> A 12&#x02009;s epoch of hippocampal LFPs during a seizure event. Electrodes 1&#x02013;8 were located in CA1 and 9-16 in CA3. The line length measures, averaged across channels, are shown below the LFP traces. Seizure detection occurs at 0&#x02009;s. <bold>(D)</bold> Same as <bold>(C)</bold> except with closed-loop stimulation engaged. Electrical stimulation was applied on electrode 1 along with nine other electrodes (not shown). Red dots indicate stimulation times for e01 and stimulation artifacts appear on the LFP trace. e05&#x02013;e07 and e11 were not used for stimulus application.</p></caption>
<graphic xlink:href="fncir-06-00098-g008.tif"/>
</fig>
<p>Rats were rendered epileptic using focal injections of tetanus toxin into the right-dorsal hippocampus (Hawkins and Mellanby, <xref ref-type="bibr" rid="B14">1987</xref>; see section <xref ref-type="sec" rid="s1">4</xref>C in the Supplementary Material). LFPs were recorded from CA1 and CA3 regions of the hippocampus using a chronically implanted 16-channel microwire array (Tucker-Davis Technologies, Alachua, FL; Figure <xref ref-type="fig" rid="F8">8</xref>B). The microwire array consisted of two rows of electrodes, with 8 electrodes per row. Multi-electrode stimulation was triggered in response to detected seizures while the rat moved around its cage. To accomplish this, a &#x0201C;line length&#x0201D; measure on each LFP channel, which has been shown to be effective for threshold based seizure detection, was calculated online (Esteller et al., <xref ref-type="bibr" rid="B9">2001</xref>). A line length increment for a single LFP channel is defined as absolute difference between successive samples of the LFP,
<disp-formula id="E3"><label>(3)</label><mml:math id="M6"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo class="MathClass-open">[</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo class="MathClass-close">]</mml:mo></mml:mrow><mml:mo class="MathClass-rel">=</mml:mo><mml:mo class="MathClass-rel">|</mml:mo><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo class="MathClass-open">[</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo class="MathClass-close">]</mml:mo></mml:mrow><mml:mo class="MathClass-bin">-</mml:mo><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo class="MathClass-open">[</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo class="MathClass-bin">-</mml:mo><mml:msub><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo class="MathClass-close">]</mml:mo></mml:mrow><mml:mo class="MathClass-rel">|</mml:mo></mml:math></disp-formula>
where <italic>x<sub>k</sub></italic>[<italic>t</italic>] is the LFP value on the <italic>k</italic>th channel at time <italic>t</italic>, and <italic>T<sub>s</sub></italic> is the LFP sampling period of 500&#x02009;&#x003BC;s. <italic>l<sub>k</sub></italic>[<italic>t</italic>] was passed through a first order averaging filter,
<disp-formula id="E4"><label>(4)</label><mml:math id="M7"><mml:msubsup><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi><mml:mi>i</mml:mi><mml:mi>l</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msubsup><mml:mrow><mml:mo class="MathClass-open">[</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo class="MathClass-bin">&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo class="MathClass-close">]</mml:mo></mml:mrow><mml:mo class="MathClass-rel">=</mml:mo><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo class="MathClass-open">[</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo class="MathClass-close">]</mml:mo></mml:mrow><mml:mo class="MathClass-bin">&#x0002B;</mml:mo><mml:mo class="qopname">exp</mml:mo><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mfrac><mml:mrow><mml:mo class="MathClass-bin">-</mml:mo><mml:msub><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi><mml:mi>i</mml:mi><mml:mi>l</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:mfenced><mml:mo class="MathClass-bin">&#x022C5;</mml:mo><mml:mrow><mml:mo class="MathClass-open">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi><mml:mi>i</mml:mi><mml:mi>l</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msubsup><mml:mrow><mml:mo class="MathClass-open">[</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo class="MathClass-close">]</mml:mo></mml:mrow><mml:mo class="MathClass-bin">-</mml:mo><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo class="MathClass-open">[</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo class="MathClass-close">]</mml:mo></mml:mrow></mml:mrow><mml:mo class="MathClass-close">)</mml:mo></mml:mrow></mml:math></disp-formula>
where <italic>&#x003C4;<sub>filt</sub></italic> is the filter time constant. For each recording channel, we calculated <inline-formula><mml:math id="M2"><mml:mrow><mml:msubsup><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi><mml:mi>i</mml:mi><mml:mi>l</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msubsup><mml:mrow><mml:mo class="MathClass-open">[</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo class="MathClass-bin">&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo class="MathClass-close">]</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> using two values of <italic>&#x003C4;<sub>filt</sub></italic>, 1 and 60&#x02009;s, which resulted in short and long time averages that could be compared to detect rapidly occurring trends in <italic>l<sub>k</sub></italic>[<italic>t</italic>]. Specifically, seizures were defined as events for which the criterion
<disp-formula id="E5"><label>(5)</label><mml:math id="M8"><mml:msubsup><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>s</mml:mi><mml:mi>e</mml:mi><mml:mi>c</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo class="MathClass-open">[</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo class="MathClass-close">]</mml:mo></mml:mrow><mml:mo class="MathClass-rel">&#x0003E;</mml:mo><mml:mn>2</mml:mn><mml:mo class="MathClass-bin">&#x022C5;</mml:mo><mml:msubsup><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn>60</mml:mn><mml:mi>s</mml:mi><mml:mi>e</mml:mi><mml:mi>c</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo class="MathClass-open">[</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo class="MathClass-close">]</mml:mo></mml:mrow></mml:math></disp-formula>
was met on at least 4 of the 16 recordings channels. Upon seizure detection, 10 randomly chosen electrodes were stimulated sequentially at 45&#x02009;Hz (aggregate frequency) for 10&#x02009;s using biphasic, 1&#x02009;V, 400&#x02009;&#x003BC;s per phase, square waves. Figures <xref ref-type="fig" rid="F8">8</xref>C,D shows seizure events without and with closed-loop stimulation engaged. During stimulus application, <inline-formula><mml:math id="M3"><mml:mrow><mml:msubsup><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003B1;</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo class="MathClass-open">[</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo class="MathClass-close">]</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> values were frozen to prevent stimulation artifacts from affecting the line length averages.</p>
<p>There was no easily discernible effect of microstimulation on seizure duration or intensity during this pilot experiment. However, this proof of concept demonstrates the API&#x02019;s utility in experiments conducted on freely moving animals and to modulate aberrant neural activity states. These features are useful for testing stimulation algorithms that do not just react to a seizure occurrence, but <italic>predict</italic> oncoming seizures ahead of time in order to apply a preventative action, which has proven a difficult goal to achieve (Mormann et al., <xref ref-type="bibr" rid="B22">2007</xref>).</p>
</sec>
<sec id="s10">
<label>3.5</label> <title>Silent barrage and robotic embodiment</title>
<p>The complexity of neural systems often necessitates intricate experimental protocols for proper investigation. To meet this requirement, the plugin API can be used to integrate NeuroRighter with complicated configurations external hardware and software. Working in collaboration with the SymbioticA group at the University of Western Australia, we used NeuroRighter for intercontinental neural control of a robotic system. This project was part of an art-science collaboration called Silent Barrage (Zeller-Townson et al., <xref ref-type="bibr" rid="B51">2011</xref>), in which a dissociated cortical culture in Atlanta, Georgia, USA, was embodied with a remote array of robotic drawing machines situated in an interactive art gallery<xref ref-type="fn" rid="fn9"><sup>9</sup></xref>. This system is an extension of the MEART project (Bakkum et al., <xref ref-type="bibr" rid="B4">2007</xref>).</p>
<p>Figure <xref ref-type="fig" rid="F9">9</xref>A shows an illustration of the Silent Barrage system. Using the plugin API, a protocol was written to communicate between NeuroRighter and a custom web server running on the same computer. The web server in turn communicated with a client computer controlling a robotic body consisting of 32 independent robots. Each robot had a rotating actuator capable of climbing up and down a vertical column (Figure <xref ref-type="fig" rid="F9">9</xref>C). Columns were arranged in a grid that reflected the electrode layout of the MEA (Figures <xref ref-type="fig" rid="F9">9</xref>A,B). The height of each rotating actuator at a given moment was determined by the instantaneous firing rate detected on two adjacent electrodes from the 59-channel MEA. As the actuators traveled up and down, they periodically marked their positions on the vertical poles using an ink pen. Over time, this resulted in a visual record of spatiotemporal activity of the culture inscribed on each column (Figure <xref ref-type="fig" rid="F9">9</xref>C).</p>
<fig id="F9" position="float">
<label>Figure 9</label>
<caption><p><bold>The Silent Barrage robotic embodiment</bold>. <bold>(A)</bold> Illustration of the Silent Barrage &#x0201C;organism&#x0201D; during its exhibition at the National Art Museum of China (NAMOC), in Beijing. Spatial patterns of action potentials recorded from a dissociated cortical culture are used to drive the robotic body. A video stream of visitors to the exhibition are interpreted by NeuroRighter&#x02019;s plugin protocol and used to control multichannel electrical stimulation though the MEA, closing the loop around audience members, robotic system, and neural tissue over thousands of kilometers. <bold>(B)</bold> Audience members viewing the exhibition at NAMOC. Simultaneously, NeuroRighter translated the overhead video feed to stimulation patterns delivered to the culture and then translated resulting neuronal activity patterns to robotic actuation at the exhibit. <bold>(C)</bold> Photograph of an individual robot and the traces it produced during the NAMOC exhibition.</p></caption>
<graphic xlink:href="fncir-06-00098-g009.tif"/>
</fig>
<p>Silent Barrage was exhibited in the United States (New York), Spain (Madrid), Brazil (Sao Paolo), Ireland (Dublin), and China (Beijing). Visitors to the exhibitions were encouraged to mingle amongst the robotic embodiment and they were observed using overhead cameras (Figures <xref ref-type="fig" rid="F9">9</xref>A,B). The resulting video feed was processed on site to extract features of audience movement (Horn and Schunck, <xref ref-type="bibr" rid="B15">1981</xref>) and these data were streamed back to NeuroRighter&#x02019;s web server in Atlanta. Audience movement measures were then used to adjust stimulation patterns delivered through NeuroRighter&#x02019;s all-channel stimulator. The relationship between incoming video data and electrical stimulation varied from exhibit to exhibit, from simple single-electrode rate coding schemes to more complex multi-electrode schemes where artificial neural networks were used to deliver certain stimulus pattern based upon learned features of incoming video data. Electrical stimulation modulated the activity state of the culture&#x02019;s firing patterns, thus closing the loop around the dissociated culture, robotic body, and audience members separated by thousands of kilometers. While on exhibit in the National Art Museum of China, Silent Barrage was perhaps the Earth&#x02019;s largest behaving &#x0201C;organism.&#x0201D;</p>
</sec>
</sec>
<sec sec-type="discussion" id="s7">
<label>4</label> <title>Discussion</title>
<p>Closed-loop electrophysiology systems are powerful tools for neuroscience research because they can be used to parse recurrent systems into independently manipulable components. Voltage clamp techniques use feedback control to separate membrane potential from the recurrent influence of voltage-dependent ionic conductances (Marmont, <xref ref-type="bibr" rid="B20">1949</xref>). Seminal experiments using voltage clamp have fostered our understanding of ion channels, neuronal excitability, and synaptic transmission. More recently, dynamic clamp has been used to deliver artificial transmembrane or synaptic conductances into living neurons (Prinz et al., <xref ref-type="bibr" rid="B27">2004</xref>; Kispersky et al., <xref ref-type="bibr" rid="B18">2011</xref>). Using these approaches, feedback control transforms dynamic features of <italic>individual neurons</italic> into controlled experimental variables. Similarly, closed-loop multichannel systems like NeuroRighter can transform features of <italic>neural networks</italic> into controlled experimental variables (Arsiero et al., <xref ref-type="bibr" rid="B2">2007</xref>). NeuroRighter is a powerful tool for controlling network variables, improving upon currently available systems in terms of cost, usability, accessibility, extensibility, and hardware standardization (Wagenaar et al., <xref ref-type="bibr" rid="B44">2006a</xref>; Stirman et al., <xref ref-type="bibr" rid="B35">2011</xref>; Wallach et al., <xref ref-type="bibr" rid="B48">2011</xref>; Ahrens et al., <xref ref-type="bibr" rid="B1">2012</xref>). We have this demonstrated NeuroRighter&#x02019;s power in conducting basic and translational neuroscience research through a variety of case studies.</p>
<p>Altered gene expression, synaptic input, or environmental conditions can induce changes in spiking activity, which in turn trigger activity-dependent processes. Because of this, it becomes difficult to distinguish the role these factors play in shaping network dynamics and neural plasticity independent of firing rate. Closed-loop multichannel feedback systems provide an opportunity to render the population firing rate a controlled experimental variable and enable study of cellular and network processes as a function of a defined activity state. We used Neurorighter to clamp the firing rate of a living neural network to user-defined setpoints over both short and long timescales (Sections <xref ref-type="sec" rid="s8">3.2</xref>, <xref ref-type="sec" rid="s9">3.3</xref>). Further, we were able to control population firing rate during prolonged application of the NMDA receptor antagonist, AP5 (Section <xref ref-type="sec" rid="s9">3.3</xref>). Our controller compensated for the loss of NMDA-mediated excitation and maintained network spiking at the target firing rate. Therefore, the effects of AP5 could be deduced through comparison with a control culture that underwent an identical clamping protocol but with intact synaptic transmission. In most studies that use long-term drug application, the individual roles of spiking and excitatory neurotransmission on plasticity are ambiguous (Turrigiano, <xref ref-type="bibr" rid="B40">2011</xref>). By using a real-time multichannel feedback system, we have begun to unravel the independent effects of spiking and NMDAergic transmission on network behavior. This approach could also be used to more directly study the effects of altered genetic or environmental factors on network activity.</p>
<p>In addition to better controlled experimental variables, real-time feedback can be used to improve the relevance of experiments using reduced neural preparations in studies of behavior. Implicit to animal behavior is the interplay between motor output and sensory perception (e.g., head movement affects the visual input stream and vice-versa). While reduced neural preparations or immobilized animals provide excellent experimental accessibility, their major weakness is that they do not preserve a functional sensory-motor loop. We have demonstrated that Neurorighter is well-equipped for performing closed-loop experiments that restore the sensory-motor loop by interfacing living neural networks with artificial bodies (Section <xref ref-type="sec" rid="s10">3.5</xref>). The advantages of this approach over traditional open-loop techniques are twofold. First, neural systems can engage in &#x0201C;motor&#x0201D; behaviors without sacrificing delicate optical (Ahrens et al., <xref ref-type="bibr" rid="B1">2012</xref>) or electrophysiological (Harvey et al., <xref ref-type="bibr" rid="B13">2009</xref>) access due to actual motion. Secondly, the experimenter has complete control over the mapping between a recorded neural signal and its resulting &#x0201C;motor&#x0201D; effect (DeMarse et al., <xref ref-type="bibr" rid="B6">2001</xref>; Ahrens et al., <xref ref-type="bibr" rid="B1">2012</xref>). For example, Ahrens et al. (<xref ref-type="bibr" rid="B1">2012</xref>) recently examined optomotor adaptation in paralyzed larval zebrafish by embedding them in a virtual environment. Visual stimuli in the virtual environment provided a perception of motion, and induced fictive motor-nerve activity. Recorded motor-nerve activity was used to drive motion of the virtual environment. Changes in sensory-motor feedback gain could be achieved by adjusting the efficacy by which fictive motor patterns propelled the fish through its virtual world. All the while, full brain activity was recorded through single-cell resolution imaging, which would be nearly impossible to achieve in a freely moving animal. This study highlights how closed-loop interfaces between artificial bodies or environments and a living neural system allows excellent experimental access during behaviors requiring an intact sensory-motor loop.</p>
<p>Aside from basic research, closed-loop multichannel electrophysiology has possible medical applications. Predictive application of drugs or electrical stimulation has the potential to increase the efficacy and safety of treatments for various neurological disorders (Mormann et al., <xref ref-type="bibr" rid="B22">2007</xref>; Rosin et al., <xref ref-type="bibr" rid="B34">2011</xref>) and improve neural rehabilitation procedures (Jackson et al., <xref ref-type="bibr" rid="B16">2006a</xref>). For example, a reliable seizure prediction algorithm would open the possibility for targeted interventions that abort seizures before they occur. Mormann et al. (<xref ref-type="bibr" rid="B22">2007</xref>) provide an extensive comparison of different methods for seizure prediction. Unfortunately, the clinical applicability of these algorithms remains quite pessimistic and future studies will require a high-throughput validation system to test robustness of seizure prediction algorithms under a variety of circumstances. We have demonstrated that NeuroRighter can be used for this purpose (Section <xref ref-type="sec" rid="s11">3.4</xref>). The stimulation algorithm we used is very similar to a method called responsive neurostimulation (NeuroPace Inc., Mountain View, CA, USA) that recently showed very promising results in a large, double-blind, pivotal clinical trial (Morrell, <xref ref-type="bibr" rid="B23">2011</xref>). This form of closed-loop seizure modulation is not truly predictive as it was triggered on the occurrence of &#x0201C;unequivocal seizure onset&#x0201D; (Litt and Echauz, <xref ref-type="bibr" rid="B19">2002</xref>). However, the API provides a means for easy reconfiguration in order to test alternative, predictive methods to abort seizures before they begin, using multichannel electrical stimulation or the local application of an anti-convulsive drug. Additionally, a plugin could be reconfigured for closed-loop modulation of other pathological neuronal activities or to facilitate motor rehabilitation (Jackson et al., <xref ref-type="bibr" rid="B16">2006a</xref>).</p>
<p>Tools that enable closed-loop interaction with neural tissue at the network level have great potential to advance experimental neuroscience. Historically, open-source projects have been extremely good at adapting equipment and code designed for a singular purpose to other uses. For this reason, we envision a large role for open-source software and open-access hardware communities in the development of technologies for closed-loop eletrophysiology systems. Rapid improvements in microprocessor performance, embedded computer systems, on-chip multichannel signal processing, and A/D conversion technology must be matched by projects that can expose their powerful features for researchers with little or no background in embedded systems or computer science. NeuroRighter is one of several open-source hardware/software projects that are enabling more labs to carry out sophisticated electrophysiology with less money and more experimental flexibility<xref ref-type="fn" rid="fn10"><sup>10</sup></xref>.</p>
</sec>
<sec>
<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.</p>
</sec>
<sec sec-type="supplementary-material" id="s6">
<label>5</label> <title>Supplementary Material</title>
<p>The Supplementary Material for this article can be found online at <uri xlink:href="http://www.frontiersin.org/Neural_Circuits/10.3389/fncir.2012.00098/abstract">http://www.frontiersin.org/Neural_Circuits/10.3389/fncir.2012.00098/abstract</uri></p>
</sec>
</body>
<back>
<ack>
<p>This work was supported by NSF COPN grant 1238097 and NIH grant 1R01NS079757-01, NSF GRFP Fellowship 08-593 to Jonathan P Newman, NSF GRFP Fellowship 09-603 to Ming-fai Fong, and NSF IGERT Fellowship DGE-0333411 to Jonathan P Newman and Ming-fai Fong. Sharanya Arcot Desai was supported by a Faculty for the Future fellowship, provided by the Schlumberger Foundation. We thank Guy Ben-Ary, Phil Gamblen, Peter Gee, Stephen Bobic, and Douglas Swehla for their contributions to the Silent Barrage robotic embodiment project. We thank J. T. Shoemaker for performing tissue harvests. We thank Ted French for his work creating the gas-permeable perfusion caps for delivery of AP5. Finally, we gratefully acknowledge all those who have contributed to NeuroRighter&#x02019;s hardware forums and supplied bug reports to the NeuroRighter code repository. Jon Erickson and Neal Laxpati have been especially helpful in this regard.</p>
</ack>
<ref-list>
<title>References</title>
<ref id="B1"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ahrens</surname> <given-names>M. B.</given-names></name> <name><surname>Li</surname> <given-names>J. M.</given-names></name> <name><surname>Orger</surname> <given-names>M. B.</given-names></name> <name><surname>Robson</surname> <given-names>D. N.</given-names></name> <name><surname>Schier</surname> <given-names>A. F.</given-names></name> <name><surname>Engert</surname> <given-names>F.</given-names></name> <etal/></person-group> (<year>2012</year>). <article-title>Brain-wide neuronal dynamics during motor adaptation in zebrafish</article-title>. <source>Nature</source> <volume>485</volume>, <fpage>471</fpage>&#x02013;<lpage>477</lpage>.<pub-id pub-id-type="pmid">22622571</pub-id></citation></ref>
<ref id="B2"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Arsiero</surname> <given-names>M.</given-names></name> <name><surname>L&#x000FC;scher</surname> <given-names>H. R.</given-names></name> <name><surname>Giugliano</surname> <given-names>M.</given-names></name></person-group> (<year>2007</year>). <article-title>Real-time closed-loop electrophysiology: towards new frontiers in in vitro investigations in the neurosciences</article-title>. <source>Arch. Ital. Biol.</source> <volume>145</volume>, <fpage>193</fpage>&#x02013;<lpage>209</lpage>.<pub-id pub-id-type="pmid">18075116</pub-id></citation></ref>
<ref id="B3"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Azin</surname> <given-names>M.</given-names></name> <name><surname>Guggenmos</surname> <given-names>D. J.</given-names></name></person-group> (<year>2011</year>). <article-title>A battery-powered activity-dependent intracortical microstimulation IC for brain-machine-brain interface</article-title>. <source>IEEE J. Solid-State Circuits</source> <volume>46</volume>, <fpage>731</fpage>&#x02013;<lpage>745</lpage>.<pub-id pub-id-type="doi">10.1109/JSSC.2011.2108770</pub-id></citation></ref>
<ref id="B4"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bakkum</surname> <given-names>D. J.</given-names></name> <name><surname>Gamblen</surname> <given-names>P. M.</given-names></name> <name><surname>Ben-Ary</surname> <given-names>G.</given-names></name> <name><surname>Chao</surname> <given-names>Z. C.</given-names></name> <name><surname>Potter</surname> <given-names>S. M.</given-names></name></person-group> (<year>2007</year>). <article-title>MEART: The Semi-Living Artist</article-title>. <source>Front. Neurorob.</source> <volume>1</volume>:<fpage>5</fpage>.<pub-id pub-id-type="doi">10.3389/neuro.12.005.2007</pub-id></citation></ref>
<ref id="B5"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cole</surname> <given-names>K. S.</given-names></name></person-group> (<year>1949</year>). <article-title>Dynamic electrical characteristics of the squid axon membrane</article-title>. <source>Annu. Rev. Physiol.</source> <volume>3</volume>, <fpage>253</fpage>&#x02013;<lpage>258</lpage>.</citation></ref>
<ref id="B6"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>DeMarse</surname> <given-names>T. B.</given-names></name> <name><surname>Wagenaar</surname> <given-names>D. A.</given-names></name> <name><surname>Blau</surname> <given-names>A. W.</given-names></name> <name><surname>Potter</surname> <given-names>S. M.</given-names></name></person-group> (<year>2001</year>). <article-title>The neurally controlled animat: biological brains acting with simulated bodies</article-title>. <source>Auton. Robots</source> <volume>11</volume>, <fpage>305</fpage>&#x02013;<lpage>310</lpage>.<pub-id pub-id-type="doi">10.1023/A:1012407611130</pub-id><pub-id pub-id-type="pmid">18584059</pub-id></citation></ref>
<ref id="B7"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Desai</surname> <given-names>S. A.</given-names></name> <name><surname>Rolston</surname> <given-names>J. D.</given-names></name> <name><surname>Guo</surname> <given-names>L.</given-names></name> <name><surname>Potter</surname> <given-names>S. M.</given-names></name></person-group> (<year>2010</year>). <article-title>Improving impedance of implantable microwire multi-electrode arrays by ultrasonic electroplating of durable platinum black</article-title>. <source>Front. Neuroeng.</source> <volume>3</volume>:<fpage>5</fpage>.<pub-id pub-id-type="doi">10.3389/fneng.2010.00005</pub-id></citation></ref>
<ref id="B8"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Du</surname> <given-names>J.</given-names></name> <name><surname>Blanche</surname> <given-names>T. J.</given-names></name> <name><surname>Harrison</surname> <given-names>R. R.</given-names></name> <name><surname>Lester</surname> <given-names>H.</given-names></name> <name><surname>Masmanidis</surname> <given-names>S. C.</given-names></name></person-group> (<year>2011</year>). <article-title>Multiplexed, high density electrophysiology with nanofabricated neural probes</article-title>. <source>PLoS ONE</source> <volume>6</volume>:<fpage>e26204</fpage>.<pub-id pub-id-type="doi">10.1371/journal.pone.0026204</pub-id></citation></ref>
<ref id="B9"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Esteller</surname> <given-names>R.</given-names></name> <name><surname>Echauz</surname> <given-names>J.</given-names></name> <name><surname>Tcheng</surname> <given-names>T.</given-names></name></person-group> (<year>2001</year>). <article-title>Line length: an efficient feature for seizure onset detection</article-title>. <source>Conf. Proc. IEEE Eng. Med. Biol. Soc.</source> <volume>2</volume>, <fpage>1707</fpage>&#x02013;<lpage>1710</lpage>.</citation></ref>
<ref id="B10"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fiscella</surname> <given-names>M.</given-names></name> <name><surname>Farrow</surname> <given-names>K.</given-names></name> <name><surname>Jones</surname> <given-names>I. L.</given-names></name> <name><surname>J&#x000E4;ckel</surname> <given-names>D.</given-names></name> <name><surname>M&#x000FC;ller</surname> <given-names>J.</given-names></name> <name><surname>Frey</surname> <given-names>U.</given-names></name> <etal/></person-group> (<year>2012</year>). <article-title>Recording from defined populations of retinal ganglion cells using a high-density CMOS-integrated microelectrode array with real-time switchable electrode selection</article-title>. <source>J. Neurosci. Methods</source> <volume>211</volume>, <fpage>103</fpage>&#x02013;<lpage>113</lpage>.<pub-id pub-id-type="doi">10.1016/j.jneumeth.2012.08.017</pub-id><pub-id pub-id-type="pmid">22939921</pub-id></citation></ref>
<ref id="B11"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gal</surname> <given-names>A.</given-names></name> <name><surname>Eytan</surname> <given-names>D.</given-names></name> <name><surname>Wallach</surname> <given-names>A.</given-names></name> <name><surname>Sandler</surname> <given-names>M.</given-names></name> <name><surname>Schiller</surname> <given-names>J.</given-names></name> <name><surname>Marom</surname> <given-names>S.</given-names></name></person-group> (<year>2010</year>). <article-title>Dynamics of excitability over extended timescales in cultured cortical neurons</article-title>. <source>J. Neurosci.</source> <volume>30</volume>, <fpage>16332</fpage>&#x02013;<lpage>16342</lpage>.<pub-id pub-id-type="doi">10.1523/JNEUROSCI.4859-10.2010</pub-id><pub-id pub-id-type="pmid">21123579</pub-id></citation></ref>
<ref id="B12"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hamill</surname> <given-names>O. P.</given-names></name> <name><surname>Marty</surname> <given-names>A.</given-names></name> <name><surname>Neher</surname> <given-names>E.</given-names></name> <name><surname>Sakmann</surname> <given-names>B.</given-names></name></person-group> (<year>1981</year>). <article-title>Improved patch-clamp techniques for high-resolution current recording from cells and cell-free membrane patches</article-title>. <source>Pflugers Arch.</source> <volume>391</volume>, <fpage>85</fpage>&#x02013;<lpage>100</lpage>.<pub-id pub-id-type="doi">10.1007/BF00656997</pub-id><pub-id pub-id-type="pmid">6270629</pub-id></citation></ref>
<ref id="B13"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Harvey</surname> <given-names>C. D.</given-names></name> <name><surname>Collman</surname> <given-names>F.</given-names></name> <name><surname>Dombeck</surname> <given-names>D. A.</given-names></name> <name><surname>Tank</surname> <given-names>D. W.</given-names></name></person-group> (<year>2009</year>). <article-title>Intracellular dynamics of hippocampal place cells during virtual navigation</article-title>. <source>Nature</source> <volume>461</volume>, <fpage>941</fpage>&#x02013;<lpage>946</lpage>.<pub-id pub-id-type="doi">10.1038/nature08499</pub-id><pub-id pub-id-type="pmid">19829374</pub-id></citation></ref>
<ref id="B14"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hawkins</surname> <given-names>C. A.</given-names></name> <name><surname>Mellanby</surname> <given-names>J. H.</given-names></name></person-group> (<year>1987</year>). <article-title>Limbic epilepsy induced by tetanus toxin: A longitudinal electroencephalographic study</article-title>. <source>Epilepsia</source> <volume>28</volume>, <fpage>431</fpage>&#x02013;<lpage>444</lpage>.<pub-id pub-id-type="doi">10.1111/j.1528-1157.1987.tb03669.x</pub-id><pub-id pub-id-type="pmid">3622417</pub-id></citation></ref>
<ref id="B15"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Horn</surname> <given-names>B. K. P.</given-names></name> <name><surname>Schunck</surname> <given-names>B. G.</given-names></name></person-group> (<year>1981</year>). <article-title>Determining optical flow</article-title>. <source>Artif. Intell.</source> <volume>17</volume>, <fpage>185</fpage>&#x02013;<lpage>203</lpage>.<pub-id pub-id-type="doi">10.1016/0004-3702(81)90024-2</pub-id></citation></ref>
<ref id="B16"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jackson</surname> <given-names>A.</given-names></name> <name><surname>Mavoori</surname> <given-names>J.</given-names></name> <name><surname>Fetz</surname> <given-names>E. E.</given-names></name></person-group> (<year>2006a</year>). <article-title>Long-term motor cortex plasticity induced by an electronic neural implant</article-title>. <source>Nature</source> <volume>444</volume>, <fpage>56</fpage>&#x02013;<lpage>60</lpage>.<pub-id pub-id-type="doi">10.1038/nature05226</pub-id></citation></ref>
<ref id="B17"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jackson</surname> <given-names>A.</given-names></name> <name><surname>Moritz</surname> <given-names>C. T.</given-names></name> <name><surname>Mavoori</surname> <given-names>J.</given-names></name> <name><surname>Lucas</surname> <given-names>T. H.</given-names></name> <name><surname>Fetz</surname> <given-names>E. E.</given-names></name></person-group> (<year>2006b</year>). <article-title>The Neurochip BCI: towards a neural prosthesis for upper limb function</article-title>. <source>IEEE Trans. Neural Syst. Rehabil. Eng.</source> <volume>14</volume>, <fpage>187</fpage>&#x02013;<lpage>190</lpage>.<pub-id pub-id-type="doi">10.1109/TNSRE.2006.875547</pub-id></citation></ref>
<ref id="B18"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kispersky</surname> <given-names>T. J.</given-names></name> <name><surname>Economo</surname> <given-names>M. N.</given-names></name> <name><surname>Randeria</surname> <given-names>P.</given-names></name> <name><surname>White</surname> <given-names>J. A.</given-names></name></person-group> (<year>2011</year>). <article-title>GenNet: a platform for hybrid network experiments</article-title>. <source>Front. Neuroinform.</source> <volume>5</volume>:<fpage>11</fpage>.<pub-id pub-id-type="doi">10.3389/fninf.2011.00011</pub-id></citation></ref>
<ref id="B19"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Litt</surname> <given-names>B.</given-names></name> <name><surname>Echauz</surname> <given-names>J.</given-names></name></person-group> (<year>2002</year>). <article-title>Prediction of epileptic seizures</article-title>. <source>Lancet Neurol.</source> <volume>1</volume>, <fpage>22</fpage>&#x02013;<lpage>30</lpage>.<pub-id pub-id-type="doi">10.1016/S1474-4422(02)00003-0</pub-id><pub-id pub-id-type="pmid">12849542</pub-id></citation></ref>
<ref id="B20"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Marmont</surname> <given-names>G.</given-names></name></person-group> (<year>1949</year>). <article-title>Studies on the axon membrane</article-title>. <source>J. Cell. Comp. Physiol.</source> <volume>34</volume>, <fpage>351</fpage>&#x02013;<lpage>381</lpage>.<pub-id pub-id-type="doi">10.1002/jcp.1030340303</pub-id></citation></ref>
<ref id="B21"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Minerbi</surname> <given-names>A.</given-names></name> <name><surname>Kahana</surname> <given-names>R.</given-names></name> <name><surname>Goldfeld</surname> <given-names>L.</given-names></name> <name><surname>Kaufman</surname> <given-names>M.</given-names></name> <name><surname>Marom</surname> <given-names>S.</given-names></name> <name><surname>Ziv</surname> <given-names>N. E.</given-names></name></person-group> (<year>2009</year>). <article-title>Long-term relationships between synaptic tenacity, synaptic remodeling, and network activity</article-title>. <source>PLoS Biol.</source> <volume>7</volume>:<fpage>e1000136</fpage>.<pub-id pub-id-type="doi">10.1371/journal.pbio.1000136</pub-id></citation></ref>
<ref id="B22"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mormann</surname> <given-names>F.</given-names></name> <name><surname>Andrzejak</surname> <given-names>R. G.</given-names></name> <name><surname>Elger</surname> <given-names>C. E.</given-names></name> <name><surname>Lehnertz</surname> <given-names>K.</given-names></name></person-group> (<year>2007</year>). <article-title>Seizure prediction: the long and winding road</article-title>. <source>Brain</source> <volume>130</volume>, <fpage>314</fpage>&#x02013;<lpage>333</lpage>.<pub-id pub-id-type="doi">10.1093/brain/awl241</pub-id><pub-id pub-id-type="pmid">17008335</pub-id></citation></ref>
<ref id="B23"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Morrell</surname> <given-names>M. J.</given-names></name></person-group> (<year>2011</year>). <article-title>Responsive cortical stimulation for the treatment of medically intractable partial epilepsy</article-title>. <source>Neurology</source> <volume>77</volume>, <fpage>1295</fpage>&#x02013;<lpage>1304</lpage>.<pub-id pub-id-type="doi">10.1212/WNL.0b013e3182302056</pub-id><pub-id pub-id-type="pmid">21917777</pub-id></citation></ref>
<ref id="B24"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Nakanishi</surname> <given-names>K.</given-names></name> <name><surname>Kukita</surname> <given-names>F.</given-names></name></person-group> (<year>1998</year>). <article-title>Functional synapses in synchronized bursting of neocortical neurons in culture</article-title>. <source>Brain Res.</source> <volume>795</volume>, <fpage>137</fpage>&#x02013;<lpage>146</lpage>.<pub-id pub-id-type="doi">10.1016/S0006-8993(98)00283-2</pub-id><pub-id pub-id-type="pmid">9622613</pub-id></citation></ref>
<ref id="B25"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Nelson</surname> <given-names>T. S.</given-names></name> <name><surname>Suhr</surname> <given-names>C. L.</given-names></name> <name><surname>Freestone</surname> <given-names>D. R.</given-names></name> <name><surname>Lai</surname> <given-names>A.</given-names></name> <name><surname>Halliday</surname> <given-names>A. J.</given-names></name> <name><surname>Mclean</surname> <given-names>K. J.</given-names></name> <etal/></person-group> (<year>2011</year>). <article-title>Closed-loop seizure control with very high frequency electrical stimulation at seizure onset in the Gaers model of absence epilepsy</article-title>. <source>Int. J. Neural Syst.</source> <volume>21</volume>, <fpage>163</fpage>.<pub-id pub-id-type="doi">10.1142/S0129065711002717</pub-id><pub-id pub-id-type="pmid">21442779</pub-id></citation></ref>
<ref id="B26"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Potter</surname> <given-names>S. M.</given-names></name> <name><surname>DeMarse</surname> <given-names>T. B.</given-names></name></person-group> (<year>2001</year>). <article-title>A new approach to neural cell culture for long-term studies</article-title>. <source>J. Neurosci. Methods</source> <volume>110</volume>, <fpage>17</fpage>&#x02013;<lpage>24</lpage>.<pub-id pub-id-type="doi">10.1016/S0165-0270(01)00412-5</pub-id><pub-id pub-id-type="pmid">11564520</pub-id></citation></ref>
<ref id="B27"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Prinz</surname> <given-names>A. A.</given-names></name> <name><surname>Abbott</surname> <given-names>L. F.</given-names></name> <name><surname>Marder</surname> <given-names>E.</given-names></name></person-group> (<year>2004</year>). <article-title>The dynamic clamp comes of age</article-title>. <source>Trends Neurosci.</source> <volume>27</volume>, <fpage>218</fpage>&#x02013;<lpage>224</lpage>.<pub-id pub-id-type="doi">10.1016/j.tins.2004.02.004</pub-id><pub-id pub-id-type="pmid">15046881</pub-id></citation></ref>
<ref id="B28"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Reger</surname> <given-names>B. D.</given-names></name> <name><surname>Fleming</surname> <given-names>K. M.</given-names></name> <name><surname>Sanguineti</surname> <given-names>V.</given-names></name> <name><surname>Alford</surname> <given-names>S.</given-names></name></person-group> (<year>2000</year>). <article-title>Connecting brains to robots: an artificial body for studying the computational properties of neural tissues</article-title>. <source>Artif. Life</source> <volume>324</volume>, <fpage>307</fpage>&#x02013;<lpage>324</lpage>.<pub-id pub-id-type="doi">10.1162/106454600300103656</pub-id></citation></ref>
<ref id="B29"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rich</surname> <given-names>M. M.</given-names></name> <name><surname>Wenner</surname> <given-names>P.</given-names></name></person-group> (<year>2007</year>). <article-title>Sensing and expressing homeostatic synaptic plasticity</article-title>. <source>Trends Neurosci.</source> <volume>30</volume>, <fpage>119</fpage>&#x02013;<lpage>125</lpage>.<pub-id pub-id-type="doi">10.1016/j.tins.2007.01.004</pub-id><pub-id pub-id-type="pmid">17267052</pub-id></citation></ref>
<ref id="B30"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Robinson</surname> <given-names>J. T.</given-names></name> <name><surname>Jorgolli</surname> <given-names>M.</given-names></name> <name><surname>Shalek</surname> <given-names>A. K.</given-names></name> <name><surname>Yoon</surname> <given-names>M.-H.</given-names></name> <name><surname>Gertner</surname> <given-names>R. S.</given-names></name> <name><surname>Park</surname> <given-names>H.</given-names></name></person-group> (<year>2012</year>). <article-title>Vertical nanowire electrode arrays as a scalable platform for intracellular interfacing to neuronal circuits</article-title>. <source>Nat. Nanotechnol.</source> <volume>7</volume>, <fpage>180</fpage>&#x02013;<lpage>184</lpage>.<pub-id pub-id-type="doi">10.1038/nnano.2011.249</pub-id><pub-id pub-id-type="pmid">22231664</pub-id></citation></ref>
<ref id="B31"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rolston</surname> <given-names>J. D.</given-names></name> <name><surname>Gross</surname> <given-names>R. E.</given-names></name> <name><surname>Potter</surname> <given-names>S. M.</given-names></name></person-group> (<year>2009a</year>). <article-title>A low-cost multielectrode system for data acquisition enabling real-time closed-loop processing with rapid recovery from stimulation artifacts</article-title>. <source>Front. Neuroeng.</source> <volume>2</volume>:<fpage>12</fpage>.<pub-id pub-id-type="doi">10.3389/neuro.16.012.2009</pub-id></citation></ref>
<ref id="B32"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rolston</surname> <given-names>J. D.</given-names></name> <name><surname>Gross</surname> <given-names>R. E.</given-names></name> <name><surname>Potter</surname> <given-names>S. M.</given-names></name></person-group> (<year>2009b</year>). <article-title>Common median referencing for improved action potential detection with multielectrode arrays</article-title>. <source>Conf. Proc. IEEE Eng. Med. Biol. Soc.</source> <volume>2009</volume>, <fpage>1604</fpage>&#x02013;<lpage>1607</lpage>.</citation></ref>
<ref id="B33"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rolston</surname> <given-names>J. D.</given-names></name> <name><surname>Gross</surname> <given-names>R. E.</given-names></name> <name><surname>Potter</surname> <given-names>S. M.</given-names></name></person-group> (<year>2010</year>). <article-title>Closed-loop, open-source electrophysiology</article-title>. <source>Front. Neurosci.</source> <volume>4</volume>:<fpage>31</fpage>.<pub-id pub-id-type="doi">10.3389/fnins.2010.00031</pub-id></citation></ref>
<ref id="B34"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rosin</surname> <given-names>B.</given-names></name> <name><surname>Slovik</surname> <given-names>M.</given-names></name> <name><surname>Mitelman</surname> <given-names>R.</given-names></name> <name><surname>Rivlin-Etzion</surname> <given-names>M.</given-names></name> <name><surname>Haber</surname> <given-names>S. N.</given-names></name> <name><surname>Israel</surname> <given-names>Z.</given-names></name> <etal/></person-group> (<year>2011</year>). <article-title>Closed-loop deep brain stimulation is superior in ameliorating parkinsonism</article-title>. <source>Neuron</source> <volume>72</volume>, <fpage>370</fpage>&#x02013;<lpage>384</lpage>.<pub-id pub-id-type="doi">10.1016/j.neuron.2011.08.023</pub-id><pub-id pub-id-type="pmid">22017994</pub-id></citation></ref>
<ref id="B35"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Stirman</surname> <given-names>J. N.</given-names></name> <name><surname>Crane</surname> <given-names>M. M.</given-names></name> <name><surname>Husson</surname> <given-names>S. J.</given-names></name> <name><surname>Wabnig</surname> <given-names>S.</given-names></name> <name><surname>Schultheis</surname> <given-names>C.</given-names></name> <name><surname>Gottschalk</surname> <given-names>A.</given-names></name> <etal/></person-group> (<year>2011</year>). <article-title>Real-time multimodal optical control of neurons and muscles in freely behaving Caenorhabditis elegans</article-title>. <source>Nat. Methods</source> <volume>8</volume>, <fpage>153</fpage>&#x02013;<lpage>158</lpage>.<pub-id pub-id-type="doi">10.1038/nmeth.1555</pub-id><pub-id pub-id-type="pmid">21240278</pub-id></citation></ref>
<ref id="B36"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Strong</surname> <given-names>S. P.</given-names></name> <name><surname>Koberle</surname> <given-names>R.</given-names></name> <name><surname>de Ruyter Van Stevenvick</surname> <given-names>R. R.</given-names></name> <name><surname>Bialek</surname> <given-names>W.</given-names></name></person-group> (<year>1998</year>). <article-title>Entropy and information in neural spike trains</article-title>. <source>Phys. Rev. Lett.</source> <volume>80</volume>, <fpage>197</fpage>&#x02013;<lpage>200</lpage>.<pub-id pub-id-type="doi">10.1103/PhysRevLett.80.197</pub-id></citation></ref>
<ref id="B37"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sun</surname> <given-names>F. T.</given-names></name> <name><surname>Morrell</surname> <given-names>M. J.</given-names></name> <name><surname>Wharen</surname> <given-names>R. E.</given-names></name></person-group> (<year>2008</year>). <article-title>Responsive cortical stimulation for the treatment of epilepsy</article-title>. <source>Neurotherapeutics</source> <volume>5</volume>, <fpage>68</fpage>&#x02013;<lpage>74</lpage>.<pub-id pub-id-type="doi">10.1016/j.nurt.2007.10.069</pub-id><pub-id pub-id-type="pmid">18164485</pub-id></citation></ref>
<ref id="B38"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sup&#x000E8;r</surname> <given-names>H.</given-names></name> <name><surname>Roelfsema</surname> <given-names>P. R.</given-names></name></person-group> (<year>2005</year>). <article-title>Chronic multiunit recordings in behaving animals: advantages and limitations</article-title>. <source>Prog. Brain Res.</source> <volume>147</volume>, <fpage>263</fpage>&#x02013;<lpage>282</lpage>.<pub-id pub-id-type="doi">10.1016/S0079-6123(04)47020-4</pub-id><pub-id pub-id-type="pmid">15581712</pub-id></citation></ref>
<ref id="B39"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tchumatchenko</surname> <given-names>T.</given-names></name> <name><surname>Geisel</surname> <given-names>T.</given-names></name> <name><surname>Volgushev</surname> <given-names>M.</given-names></name> <name><surname>Wolf</surname> <given-names>F.</given-names></name></person-group> (<year>2010</year>). <article-title>Signatures of synchrony in pairwise count correlations</article-title>. <source>Front. Comput. Neurosci.</source> <volume>4</volume>:<fpage>1</fpage>.<pub-id pub-id-type="doi">10.3389/neuro.10.001.2010</pub-id></citation></ref>
<ref id="B40"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Turrigiano</surname> <given-names>G.</given-names></name></person-group> (<year>2011</year>). <article-title>Too many cooks? Intrinsic and synaptic homeostatic mechanisms in cortical circuit refinement</article-title>. <source>Annu. Rev. Neurosci.</source> <volume>34</volume>, <fpage>89</fpage>&#x02013;<lpage>103</lpage>.<pub-id pub-id-type="doi">10.1146/annurev-neuro-060909-153238</pub-id><pub-id pub-id-type="pmid">21438687</pub-id></citation></ref>
<ref id="B41"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Turrigiano</surname> <given-names>G. G.</given-names></name> <name><surname>Leslie</surname> <given-names>K. R.</given-names></name> <name><surname>Desai</surname> <given-names>N. S.</given-names></name> <name><surname>Rutherford</surname> <given-names>L. C.</given-names></name> <name><surname>Nelson</surname> <given-names>S. B.</given-names></name></person-group> (<year>1998</year>). <article-title>Activity-dependent scaling of quantal amplitude in neocortical neurons</article-title>. <source>Nature</source> <volume>391</volume>, <fpage>892</fpage>&#x02013;<lpage>896</lpage>.<pub-id pub-id-type="doi">10.1038/36103</pub-id><pub-id pub-id-type="pmid">9495341</pub-id></citation></ref>
<ref id="B42"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wagenaar</surname> <given-names>D. A.</given-names></name> <name><surname>Madhavan</surname> <given-names>R.</given-names></name> <name><surname>Pine</surname> <given-names>J.</given-names></name> <name><surname>Potter</surname> <given-names>S. M.</given-names></name></person-group> (<year>2005</year>). <article-title>Controlling bursting in cortical cultures with closed-loop multi-electrode stimulation</article-title>. <source>J. Neurosci.</source> <volume>25</volume>, <fpage>680</fpage>&#x02013;<lpage>688</lpage>.<pub-id pub-id-type="doi">10.1523/JNEUROSCI.4209-04.2005</pub-id><pub-id pub-id-type="pmid">15659605</pub-id></citation></ref>
<ref id="B43"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wagenaar</surname> <given-names>D. A.</given-names></name> <name><surname>Pine</surname> <given-names>J.</given-names></name> <name><surname>Potter</surname> <given-names>S. M.</given-names></name></person-group> (<year>2004</year>). <article-title>Effective parameters for stimulation of dissociated cultures using multi-electrode arrays</article-title>. <source>J. Neurosci. Methods</source> <volume>138</volume>, <fpage>27</fpage>&#x02013;<lpage>37</lpage>.<pub-id pub-id-type="doi">10.1016/j.jneumeth.2004.03.005</pub-id><pub-id pub-id-type="pmid">15325108</pub-id></citation></ref>
<ref id="B44"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wagenaar</surname> <given-names>D. A.</given-names></name> <name><surname>Pine</surname> <given-names>J.</given-names></name> <name><surname>Potter</surname> <given-names>S. M.</given-names></name></person-group> (<year>2006a</year>). <article-title>An extremely rich repertoire of bursting patterns during the development of cortical cultures</article-title>. <source>BMC Neurosci.</source> <volume>7</volume>:<fpage>11</fpage>.<pub-id pub-id-type="doi">10.1186/1471-2202-7-11</pub-id></citation></ref>
<ref id="B45"><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Wagenaar</surname> <given-names>D.</given-names></name> <name><surname>DeMarse</surname> <given-names>T. B.</given-names></name> <name><surname>Potter</surname> <given-names>S. M.</given-names></name></person-group> (<year>2006b</year>). <article-title>&#x0201C;MEABench: a toolset for multi-electrode data acquisition and on-line analysis,&#x0201D;</article-title> in <conf-name>International IEEE EMBS Conference on Neural Engineering</conf-name>, <conf-loc>Washington</conf-loc>, <fpage>518</fpage>&#x02013;<lpage>521</lpage>.</citation></ref>
<ref id="B46"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wagenaar</surname> <given-names>D. A.</given-names></name> <name><surname>Potter</surname> <given-names>S. M.</given-names></name></person-group> (<year>2002</year>). <article-title>Real-time multi-channel stimulus artifact suppression by local curve fitting</article-title>. <source>J. Neurosci. Methods</source> <volume>120</volume>, <fpage>113</fpage>&#x02013;<lpage>120</lpage>.<pub-id pub-id-type="doi">10.1016/S0165-0270(02)00149-8</pub-id><pub-id pub-id-type="pmid">12385761</pub-id></citation></ref>
<ref id="B47"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wagenaar</surname> <given-names>D. A.</given-names></name> <name><surname>Potter</surname> <given-names>S. M.</given-names></name></person-group> (<year>2004</year>). <article-title>A versatile all-channel stimulator for electrode arrays, with real-time control</article-title>. <source>J. Neural. Eng.</source> <volume>1</volume>, <fpage>39</fpage>&#x02013;<lpage>45</lpage>.<pub-id pub-id-type="doi">10.1088/1741-2560/1/1/006</pub-id><pub-id pub-id-type="pmid">15876621</pub-id></citation></ref>
<ref id="B48"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wallach</surname> <given-names>A.</given-names></name> <name><surname>Eytan</surname> <given-names>D.</given-names></name> <name><surname>Gal</surname> <given-names>A.</given-names></name> <name><surname>Zrenner</surname> <given-names>C.</given-names></name> <name><surname>Marom</surname> <given-names>S.</given-names></name></person-group> (<year>2011</year>). <article-title>Neuronal response clamp</article-title>. <source>Front. Neuroeng.</source> <volume>4</volume>:<fpage>3</fpage>.<pub-id pub-id-type="doi">10.3389/fneng.2011.00003</pub-id></citation></ref>
<ref id="B49"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yu</surname> <given-names>Y.</given-names></name> <name><surname>Crumiller</surname> <given-names>M.</given-names></name> <name><surname>Knight</surname> <given-names>B.</given-names></name> <name><surname>Kaplan</surname> <given-names>E.</given-names></name></person-group> (<year>2010</year>). <article-title>Estimating the amount of information carried by a neuronal population</article-title>. <source>Front. Comput. Neurosci.</source> <volume>4</volume>:<fpage>10</fpage>.<pub-id pub-id-type="doi">10.3389/fncom.2010.00010</pub-id></citation></ref>
<ref id="B50"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zanos</surname> <given-names>S.</given-names></name> <name><surname>Richardson</surname> <given-names>A. G.</given-names></name> <name><surname>Shupe</surname> <given-names>L.</given-names></name> <name><surname>Miles</surname> <given-names>F. P.</given-names></name> <name><surname>Fetz</surname> <given-names>E. E.</given-names></name></person-group> (<year>2011</year>). <article-title>The Neurochip-2: an autonomous head-fixed computer for recording and stimulating in freely behaving monkeys</article-title>. <source>IEEE Trans. Neural Syst. Rehabil. Eng.</source> <volume>19</volume>, <fpage>427</fpage>&#x02013;<lpage>435</lpage>.<pub-id pub-id-type="doi">10.1109/TNSRE.2011.2158007</pub-id><pub-id pub-id-type="pmid">21632309</pub-id></citation></ref>
<ref id="B51"><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Zeller-Townson</surname> <given-names>R.</given-names></name> <name><surname>Ben-Ary</surname> <given-names>G.</given-names></name> <name><surname>Gamblen</surname> <given-names>P.</given-names></name></person-group> (<year>2011</year>). <article-title>&#x0201C;Silent barrage: interactive neurobiological art,&#x0201D;</article-title> in <conf-name>The Proceedings of the 8th ACM Conference on Creativity and Cognition</conf-name>, <conf-loc>Atlanta</conf-loc>, <fpage>407</fpage>&#x02013;<lpage>408</lpage>.</citation></ref>
</ref-list>
<fn-group>
<fn id="fn1"><p><sup>1</sup><uri xlink:href="https://sites.google.com/site/neurorighter/">https://sites.google.com/site/neurorighter/</uri></p></fn>
<fn id="fn2"><p><sup>2</sup><uri xlink:href="http://code.google.com/p/neurorighter/">http://code.google.com/p/neurorighter/</uri></p></fn>
<fn id="fn3"><p><sup>3</sup><uri xlink:href="http://groups.google.com/group/neurorighter-users">http://groups.google.com/group/neurorighter-users</uri></p></fn>
<fn id="fn4"><p><sup>4</sup><uri xlink:href="http://code.google.com/p/neurorighter/">http://code.google.com/p/neurorighter/</uri></p></fn>
<fn id="fn5"><p><sup>5</sup><uri xlink:href="https://potterlab.gatech.edu/main/neurorighter-api-ref/">https://potterlab.gatech.edu/main/neurorighter-api-ref/</uri></p></fn>
<fn id="fn6"><p><sup>6</sup><uri xlink:href="http://www.mono-project.com/Main_Page">http://www.mono-project.com/Main_Page</uri></p></fn>
<fn id="fn7"><p><sup>7</sup><uri xlink:href="http://code.google.com/p/neurorighter/source/browse/NR-ClosedLoop-Examples/">http://code.google.com/p/neurorighter/source/browse/NR-ClosedLoop-Examples/</uri></p></fn>
<fn id="fn8"><p><sup>8</sup><uri xlink:href="http://www.arduino.cc/">http://www.arduino.cc/</uri></p></fn>
<fn id="fn9"><p><sup>9</sup><uri xlink:href="http://silentbarrage.com/">http://silentbarrage.com/</uri></p></fn>
<fn id="fn10"><p><sup>10</sup><uri xlink:href="http://www.its.caltech.edu/daw/meabench/">http://www.its.caltech.edu/daw/meabench/</uri></p>
<p><uri xlink:href="http://code.google.com/p/arte-ephys/">http://code.google.com/p/arte-ephys/</uri></p>
<p><uri xlink:href="http://open-ephys.com/">http://open-ephys.com/</uri></p>
<p><uri xlink:href="http://www.backyardbrains.com/Home.aspx">http://www.backyardbrains.com/Home.aspx</uri></p></fn>
</fn-group>
</back>
</article>