Menu

LFP publications

Local field potential recordings made with TDT systems.

Scientific Reports · Dec 2024

An ultra low frequency spike timing dependent plasticity based approach for reducing alcohol drinking (opens in a new tab)

Anders J. Asp, Suelen Lucio Boschen, Su-Youne Chang, … J. Luis Lujan

Abstract

Alcohol use disorder (AUD) is a chronic relapsing brain disorder characterized by an impaired ability to stop or control alcohol consumption despite adverse social, occupational, or health consequences. AUD affects nearly one-third of adults at some point during their lives, with an associated cost of approximately $249 billion annually in the U.S. alone. The effects of alcohol consumption are expected to increase significantly during the COVID-19 pandemic, with alcohol sales increasing by approximately 54%, potentially exacerbating health concerns and risk-taking behaviors. Unfortunately, existing pharmacological and behavioral therapies for AUD are associated with poor success rates, with approximately 40% of individuals relapsing within three years of treatment.Pre-clinical studies have shown that chronic alcohol consumption leads to significant changes in synaptic function within the dorsal medial striatum (DMS), one of the brain regions associated with AUD and responsible for mediating goal-directed behavior. Specifically, chronic alcohol consumption has been associated with hyperactivity of dopamine receptor 1 (D1) medium spiny neurons (MSN) and hypoactivity of dopamine receptor 2 (D1) MSNs within the DMS. Optogenetic, chemogenetic, and transgenic approaches have demonstrated that reducing the D1/D2 MSN signaling imbalance decreases alcohol self-administration in rodent models of AUD.Here, we present an electrical stimulation approach that uses ultra-low (≤ 1 Hz) frequency (ULF) spike-timing-dependent plasticity (STDP) in mouse models of AUD to reduce DMS D1/D2 MSN signaling imbalances by stimulating D1-MSN afferents into the GPi and ACC glutamatergic projections to the DMS in a time-locked stimulation sequence. Our data suggest that GPi/ACC ULF-STDP selectively decreases DMS D1-MSN hyperactivity leading to reduced alcohol consumption without evoking undesired affective behaviors using electrical stimulation rather than approaches requiring genetic modification. This work represents a step towards fulfilling the unmet need for a reliable method of treating severe AUD through cell-type-specific control with clinically available neuromodulation tools.

Nature · Dec 2022

Cortical-hippocampal coupling during manifold exploration in motor cortex (opens in a new tab)

Jaekyung Kim, Abhilasha Joshi, Loren Frank, Karunesh Ganguly

Abstract

Systems consolidation—a process for long-term memory stabilization—has been hypothesized to occur in two stages 1–4 . Whereas new memories require the hippocampus 5–9 , they become integrated into cortical networks over time 10–12 , making them independent of the hippocampus. How hippocampal–cortical dialogue precisely evolves during this and how cortical representations change in concert is unknown. Here, we use a skill learning task 13,14 to monitor the dynamics of cross-area coupling during non-rapid eye movement sleep along with changes in primary motor cortex (M1) representational stability. Our results indicate that precise cross-area coupling between hippocampus, prefrontal cortex and M1 can demarcate two distinct stages of processing. We specifically find that each animal demonstrates a sharp increase in prefrontal cortex and M1 sleep slow oscillation coupling with stabilization of performance. This sharp increase then predicts a drop in hippocampal sharp-wave ripple (SWR)–M1 slow oscillation coupling—suggesting feedback to inform hippocampal disengagement and transition to a second stage. Notably, the first stage shows significant increases in hippocampal SWR–M1 slow oscillation coupling in the post-training sleep and is closely associated with rapid learning and variability of the M1 low-dimensional manifold. Strikingly, even after consolidation, inducing new manifold exploration by changing task parameters re-engages hippocampal–M1 coupling. We thus find evidence for dynamic hippocampal–cortical dialogue associated with manifold exploration during learning and adaptation.

Journal of NeuroEngineering and Rehabilitation · May 2021

Epidural cerebellar stimulation drives widespread neural synchrony in the intact and stroke perilesional cortex (opens in a new tab)

Aamir Abbasi, Nathan P. Danielsen, Jennifer Leung, … Tanuj Gulati

Abstract

Background Cerebellar electrical stimulation has shown promise in improving motor recovery post-stroke in both rodent and human studies. Past studies have used motor evoked potentials (MEPs) to evaluate how cerebellar stimulation modulates ongoing activity in the cortex, but the underlying mechanisms are incompletely understood. Here we used invasive electrophysiological recordings from the intact and stroke-injured rodent primary motor cortex (M1) to assess how epidural cerebellar stimulation modulates neural dynamics at the level of single neurons as well as at the level of mesoscale dynamics. Methods We recorded single unit spiking and local field potentials (LFPs) in both the intact and acutely stroke-injured M1 contralateral to the stimulated cerebellum in adult Long-Evans rats under anesthesia. We analyzed changes in the firing rates of single units, the extent of synchronous spiking and power spectral density (PSD) changes in LFPs during and post-stimulation. Results Our results show that post-stimulation, the firing rates of a majority of M1 neurons changed significantly with respect to their baseline rates. These firing rate changes were diverse in character, as the firing rate of some neurons increased while others decreased. Additionally, these changes started to set in during stimulation. Furthermore, cross-correlation analysis showed a significant increase in coincident firing amongst neuronal pairs. Interestingly, this increase in synchrony was unrelated to the direction of firing rate change. We also found that neuronal ensembles derived through principal component analysis were more active post-stimulation. Lastly, these changes occurred without a significant change in the overall spectral power of LFPs post-stimulation. Conclusions Our results show that cerebellar stimulation caused significant, long-lasting changes in the activity patterns of M1 neurons by altering firing rates, boosting neural synchrony and increasing neuronal assemblies’ activation strength. Our study provides evidence that cerebellar stimulation can directly modulate cortical dynamics. Since these results are present in the perilesional cortex, our data might also help explain the facilitatory effects of cerebellar stimulation post-stroke.

Nature Communications · Aug 2020

Single-trial cross-area neural population dynamics during long-term skill learning (opens in a new tab)

T. L. Veuthey, K. Derosier, S. Kondapavulur, K. Ganguly

Abstract

Mammalian cortex has both local and cross-area connections, suggesting vital roles for both local and cross-area neural population dynamics in cortically-dependent tasks, like movement learning. Prior studies of movement learning have focused on how single-area population dynamics change during short-term adaptation. It is unclear how cross-area dynamics contribute to movement learning, particularly long-term learning and skill acquisition. Using simultaneous recordings of rodent motor (M1) and premotor (M2) cortex and computational methods, we show how cross-area activity patterns evolve during reach-to-grasp learning in rats. The emergence of reach-related modulation in cross-area activity correlates with skill acquisition, and single-trial modulation in cross-area activity predicts reaction time and reach duration. Local M2 neural activity precedes local M1 activity, supporting top–down hierarchy between the regions. M2 inactivation preferentially affects cross-area dynamics and behavior, with minimal disruption of local M1 dynamics. Together, these results indicate that cross-area population dynamics are necessary for learned motor skills.

IEEE Transactions on Biomedical Circuits and Systems · Dec 2019

Verification of a Rapidly Multiplexed Circuit for Scalable Action Potential Recording (opens in a new tab)

Mohit Sharma, Hunter Joseph Strathman, Ross Martin Walker

Microwire arrayLFPSingle Unit
Abstract

This report presents characterizations of in vivo neural recordings performed with a CMOS multichannel neural recording chip that uses rapid multiplexing directly at the electrodes, without any pre-amplification or buffering. Neural recordings were taken from a 16-channel microwire array implanted in rodent cortex, with comparison to a gold-standard commercial bench-top recording system. We were able to record well-isolated threshold crossings from 10 multiplexed electrodes and typical local field potential waveforms from 16, with strong agreement with the standard system (average SNR = 2.59 and 3.07 respectively). For 10 electrodes, the circuit achieves an effective area per channel of 0.0077 mm2, which is >5x smaller than typical multichannel chips. Extensive characterizations of noise and signal quality are presented and compared to fundamental theory, as well as results from in vivo and in vitro experiments. By demonstrating the validation of rapid multiplexing directly at the electrodes, this report confirms it as a promising approach for reducing circuit area in massively-multichannel neural recording systems, which is crucial for scaling recording site density and achieving large-scale sensing of brain activity with high spatiotemporal resolution.

PLOS ONE · Oct 2019

Chronic stability of single-channel neurophysiological correlates of gross and fine reaching movements in the rat (opens in a new tab)

David T. Bundy, David J. Guggenmos, Maxwell D. Murphy, Randolph J. Nudo

Abstract

While substantial task-related neural activity has been observed during motor tasks in rodent primary motor cortex and premotor cortex, the long-term stability of these responses in healthy rats is uncertain, limiting the interpretability of longitudinal changes in the specific patterns of neural activity associated with learning or motor recovery following injury. This study examined the stability of task-related neural activity associated with execution of two distinct reaching tasks in healthy rodents. A novel automated rodent behavioral apparatus was constructed and rats were trained to perform a reaching task combining a 'gross' lever press and a 'fine' pellet retrieval. In each animal, two chronic microelectrode arrays were implanted in motor cortex spanning the caudal forelimb area (rodent primary motor cortex) and the rostral forelimb area (rodent premotor cortex). We recorded multiunit spiking and local field potential activity from 10 days to 7-10 weeks post-implantation to characterize the patterns of neural activity observed during each task component and analyzed the consistency of channel-specific task-related neural activity. Task-related changes in neural activity were observed on the majority of channels. While the task-related changes in multi-unit spiking and local field potential spectral power were consistent over several weeks, spectral power changes were more stable, despite the trade-off of decreased spatial and temporal resolution. These results show that neural activity in rodent primary and premotor cortex is associated with specific phases of reaching movements with stable patterns of task-related activity across time, establishing the relevance of the rodent for future studies designed to examine changes in task-related neural activity during recovery from focal cortical lesions.

Journal of NeuroEngineering and Rehabilitation · May 2019

Large-scale changes in cortical dynamics triggered by repetitive somatosensory electrical stimulation (opens in a new tab)

April K. Hishinuma, Tanuj Gulati, Mark J. Burish, Karunesh Ganguly

Abstract

Background: Repetitive somatosensory electrical stimulation (SES) of forelimb peripheral nerves is a promising therapy; studies have shown that SES can improve motor function in stroke subjects with chronic deficits. However, little is known about how SES can directly modulate neural dynamics. Past studies using SES have primarily used noninvasive methods in human subjects. Here we used electrophysiological recordings from the rodent primary motor cortex (M1) to assess how SES affects neural dynamics at the level of single neurons as well as at the level of mesoscale dynamics. Methods: We performed acute extracellular recordings in 7 intact adult Long Evans rats under ketamine-xylazine anesthesia while they received transcutaneous SES. We recorded single unit spiking and local field potentials (LFP) in the M1 contralateral to the stimulated arm. We then compared neural firing rate, spike-field coherence (SFC), and power spectral density (PSD) before and after stimulation. Results: Following SES, the firing rate of a majority of neurons changed significantly from their respective baseline values. There was, however, a diversity of responses; some neurons increased while others decreased their firing rates. Interestingly, SFC, a measure of how a neuron's firing is coupled to mesoscale oscillatory dynamics, increased specifically in the δ-band, also known as the low frequency band (0.3- 4 Hz). This increase appeared to be driven by a change in the phase-locking of broad-spiking, putative pyramidal neurons. These changes in the low frequency range occurred without a significant change in the overall PSD. Conclusions: Repetitive SES significantly and persistently altered the local cortical dynamics of M1 neurons, changing both firing rates as well as the SFC magnitude in the δ-band. Thus, SES altered the neural firing and coupling to ongoing mesoscale dynamics. Our study provides evidence that SES can directly modulate cortical dynamics.

Frontiers in Neuroscience · May 2017

State-Dependent Decoding Algorithms Improve the Performance of a Bidirectional BMI in Anesthetized Rats (opens in a new tab)

Vito De Feo, Fabio Boi, Houman Safaai, … Alessandro Vato

Abstract

Brain-machine interfaces (BMIs) promise to improve the quality of life of patients suffering from sensory and motor disabilities by creating a direct communication channel between the brain and the external world. Yet, their performance is currently limited by the relatively small amount of information that can be decoded from neural activity recorded form the brain. We have recently proposed that such decoding performance may be improved when using state-dependent decoding algorithms that predict and discount the large component of the trial-to-trial variability of neural activity which is due to the dependence of neural responses on the network's current internal state. Here we tested this idea by using a bidirectional BMI to investigate the gain in performance arising from using a state-dependent decoding algorithm. This BMI, implemented in anesthetized rats, controlled the movement of a dynamical system using neural activity decoded from motor cortex and fed back to the brain the dynamical system's position by electrically microstimulating somatosensory cortex. We found that using state-dependent algorithms that tracked the dynamics of ongoing activity led to an increase in the amount of information extracted form neural activity by 22%, with a consequently increase in all of the indices measuring the BMI's performance in controlling the dynamical system. This suggests that state-dependent decoding algorithms may be used to enhance BMIs at moderate computational cost.

Nature Communications · Oct 2016

Stereotypic wheel running decreases cortical activity in mice (opens in a new tab)

Simon P. Fisher, Nanyi Cui, Laura E. McKillop, … Vladyslav V. Vyazovskiy

Abstract

Prolonged wakefulness is thought to gradually increase ‘sleep need’ and influence subsequent sleep duration and intensity, but the role of specific waking behaviours remains unclear. Here we report the effect of voluntary wheel running during wakefulness on neuronal activity in the motor and somatosensory cortex in mice. We find that stereotypic wheel running is associated with a substantial reduction in firing rates among a large subpopulation of cortical neurons, especially at high speeds. Wheel running also has longer-term effects on spiking activity across periods of wakefulness. Specifically, cortical firing rates are significantly higher towards the end of a spontaneous prolonged waking period. However, this increase is abolished when wakefulness is dominated by running wheel activity. These findings indicate that wake-related changes in firing rates are determined not only by wake duration, but also by specific waking behaviours.

Scientific Reports · Sep 2015

Inhibitory luminopsins: genetically-encoded bioluminescent opsins for versatile, scalable, and hardware-independent optogenetic inhibition (opens in a new tab)

Jack K. Tung, Claire-Anne Gutekunst, Robert E. Gross

Abstract

Optogenetic techniques provide an unprecedented ability to precisely manipulate neural activity in the context of complex neural circuitry. Although the toolbox of optogenetic probes continues to expand at a rapid pace with more efficient and responsive reagents, hardware-based light delivery is still a major hurdle that limits its practical use in vivo . We have bypassed the challenges of external light delivery by directly coupling a bioluminescent light source (a genetically encoded luciferase) to an inhibitory opsin, which we term an inhibitory luminopsin (iLMO). iLMO was shown to suppress action potential firing and synchronous bursting activity in vitro in response to both external light and luciferase substrate. iLMO was further shown to suppress single-unit firing rate and local field potentials in the hippocampus of anesthetized rats. Finally, expression of iLMO was scaled up to multiple structures of the basal ganglia to modulate rotational behavior of freely moving animals in a hardware-independent fashion. This novel class of optogenetic probes demonstrates how non-invasive inhibition of neural activity can be achieved, which adds to the versatility, scalability and practicality of optogenetic applications in freely behaving animals.

PLOS Biology · Sep 2015

Sleep-Dependent Reactivation of Ensembles in Motor Cortex Promotes Skill Consolidation (opens in a new tab)

Dhakshin S. Ramanathan, Tanuj Gulati, Karunesh Ganguly

Abstract

Despite many prior studies demonstrating offline behavioral gains in motor skills after sleep, the underlying neural mechanisms remain poorly understood. To investigate the neurophysiological basis for offline gains, we performed single-unit recordings in motor cortex as rats learned a skilled upper-limb task. We found that sleep improved movement speed with preservation of accuracy. These offline improvements were linked to both replay of task-related ensembles during non-rapid eye movement (NREM) sleep and temporal shifts that more tightly bound motor cortical ensembles to movements; such offline gains and temporal shifts were not evident with sleep restriction. Interestingly, replay was linked to the coincidence of slow-wave events and bursts of spindle activity. Neurons that experienced the most consistent replay also underwent the most significant temporal shift and binding to the motor task. Significantly, replay and the associated performance gains after sleep only occurred when animals first learned the skill; continued practice during later stages of learning (i.e., after motor kinematics had stabilized) did not show evidence of replay. Our results highlight how replay of synchronous neural activity during sleep mediates large-scale neural plasticity and stabilizes kinematics during early motor learning.

PLOS Biology · Jun 2015

Mesoscopic patterns of neural activity support songbird cortical sequences (opens in a new tab)

Jeffrey E. Markowitz, William A. Liberti, Grigori Guitchounts, … Timothy J. Gardner

Abstract

Time-locked sequences of neural activity can be found throughout the vertebrate forebrain in various species and behavioral contexts. From "time cells" in the hippocampus of rodents to cortical activity controlling movement, temporal sequence generation is integral to many forms of learned behavior. However, the mechanisms underlying sequence generation are not well known. Here, we describe a spatial and temporal organization of the songbird premotor cortical microcircuit that supports sparse sequences of neural activity. Multi-channel electrophysiology and calcium imaging reveal that neural activity in premotor cortex is correlated with a length scale of 100 µm. Within this length scale, basal-ganglia-projecting excitatory neurons, on average, fire at a specific phase of a local 30 Hz network rhythm. These results show that premotor cortical activity is inhomogeneous in time and space, and that a mesoscopic dynamical pattern underlies the generation of the neural sequences controlling song.

Journal of Neurophysiology · Apr 2015

Lempel-Ziv complexity of cortical activity during sleep and waking in rats (opens in a new tab)

Daniel Abásolo, Samantha Simons, Rita Morgado da Silva, … Vladyslav V. Vyazovskiy

OpenExMicrowire arrayEEG/ECoG/EMGLFPSingle Unit
Abstract

Understanding the dynamics of brain activity manifested in the EEG, local field potentials (LFP), and neuronal spiking is essential for explaining their underlying mechanisms and physiological significance. Much has been learned about sleep regulation using conventional EEG power spectrum, coherence, and period-amplitude analyses, which focus primarily on frequency and amplitude characteristics of the signals and on their spatio-temporal synchronicity. However, little is known about the effects of ongoing brain state or preceding sleep-wake history on the nonlinear dynamics of brain activity. Recent advances in developing novel mathematical approaches for investigating temporal structure of brain activity based on such measures, as Lempel-Ziv complexity (LZC) can provide insights that go beyond those obtained with conventional techniques of signal analysis. Here, we used extensive data sets obtained in spontaneously awake and sleeping adult male laboratory rats, as well as during and after sleep deprivation, to perform a detailed analysis of cortical LFP and neuronal activity with LZC approach. We found that activated brain states—waking and rapid eye movement (REM) sleep are characterized by higher LZC compared with non-rapid eye movement (NREM) sleep. Notably, LZC values derived from the LFP were especially low during early NREM sleep after sleep deprivation and toward the middle of individual NREM sleep episodes. We conclude that LZC is an important and yet largely unexplored measure with a high potential for investigating neurophysiological mechanisms of brain activity in health and disease.

Computational Intelligence and Neuroscience · 2015

Characterizing the Input-Output Function of the Olfactory-Limbic Pathway in the Guinea Pig (opens in a new tab)

Gian Luca Breschi, Carlo Ciliberto, Thierry Nieus, … Valentina Pasquale

Abstract

Nowadays the neuroscientific community is taking more and more advantage of the continuous interaction between engineers and computational neuroscientists in order to develop neuroprostheses aimed at replacing damaged brain areas with artificial devices. To this end, a technological effort is required to develop neural network models which can be fed with the recorded electrophysiological patterns to yield the correct brain stimulation to recover the desired functions. In this paper we present a machine learning approach to derive the input-output function of the olfactory-limbic pathway in the in vitro whole brain of guinea pig, less complex and more controllable than an in vivo system. We first experimentally characterized the neuronal pathway by delivering different sets of electrical stimuli from the lateral olfactory tract (LOT) and by recording the corresponding responses in the lateral entorhinal cortex (l-ERC). As a second step, we used information theory to evaluate how much information output features carry about the input. Finally we used the acquired data to learn the LOT-l-ERC “I/O function,” by means of the kernel regularized least squares method, able to predict l-ERC responses on the basis of LOT stimulation features. Our modeling approach can be further exploited for brain prostheses applications.

Frontiers in Integrative Neuroscience · 2014

Brainstem stimulation augments information integration in the cerebral cortex of desflurane-anesthetized rats (opens in a new tab)

Siveshigan Pillay, Jeannette Vizuete, Xiping Liu, … Anthony G. Hudetz

Abstract

States of consciousness have been associated with information integration in the brain as modulated by anesthesia and the ascending arousal system. The present study was designed to test the hypothesis that electrical stimulation of the oral part of the pontine reticular nucleus (PnO) can augment information integration in the cerebral cortex of anesthetized rats. Extracellular unit activity and local field potentials were recorded in freely moving animals from parietal association (PtA) and secondary visual (V2) cortices via chronically implanted microwire arrays at three levels of anesthesia produced by desflurane: 3.5, 4.5, and 6.0% (where 4.5% corresponds to that critical for the loss of consciousness). Information integration was characterized by integration (multiinformation) and interaction entropy, estimated from the statistical distribution of coincident spike patterns. PnO stimulation elicited electrocortical activation as indicated by the reductions in δ- and θ-band powers at the intermediate level of anesthesia. PnO stimulation augmented integration from 1.13 ± 0.03 to 6.12 ± 1.98 × 10(3) bits and interaction entropy from 0.44 ± 0.11 to 2.18 ± 0.72 × 10(3) bits; these changes were most consistent in the PtA at all desflurane concentrations. Stimulation of the retina with discrete light flashes after PnO stimulation elicited an additional 166 ± 25 and 92 ± 12% increase in interaction entropy in V2 during light and intermediate levels. The results suggest that the PnO may modulate spontaneous ongoing and sensory stimulus-related cortical information integration under anesthesia.

Frontiers in Neural Circuits · 2013

In vitro large-scale experimental and theoretical studies for the realization of bi-directional brain-prostheses (opens in a new tab)

Paolo Bonifazi, Francesco Difato, Paolo Massobrio, … Michela Chiappalone

Microwire arrayLFPSingle Unit
Abstract

Brain-machine interfaces (BMI) were born to control "actions from thoughts" in order to recover motor capability of patients with impaired functional connectivity between the central and peripheral nervous system. The final goal of our studies is the development of a new proof-of-concept BMI-a neuromorphic chip for brain repair-to reproduce the functional organization of a damaged part of the central nervous system. To reach this ambitious goal, we implemented a multidisciplinary "bottom-up" approach in which in vitro networks are the paradigm for the development of an in silico model to be incorporated into a neuromorphic device. In this paper we present the overall strategy and focus on the different building blocks of our studies: (i) the experimental characterization and modeling of "finite size networks" which represent the smallest and most general self-organized circuits capable of generating spontaneous collective dynamics; (ii) the induction of lesions in neuronal networks and the whole brain preparation with special attention on the impact on the functional organization of the circuits; (iii) the first production of a neuromorphic chip able to implement a real-time model of neuronal networks. A dynamical characterization of the finite size circuits with single cell resolution is provided. A neural network model based on Izhikevich neurons was able to replicate the experimental observations. Changes in the dynamics of the neuronal circuits induced by optical and ischemic lesions are presented respectively for in vitro neuronal networks and for a whole brain preparation. Finally the implementation of a neuromorphic chip reproducing the network dynamics in quasi-real time (10 ns precision) is presented.

Frontiers in Neuroengineering · 2009

A low-cost multielectrode system for data acquisition enabling real-time closed-loop processing with rapid recovery from stimulation artifacts (opens in a new tab)

John D. Rolston

Abstract

Commercially available data acquisition systems for multielectrode recording from freely moving animals are expensive, often rely on proprietary software, and do not provide detailed, modifiable circuit schematics. When used in conjunction with electrical stimulation, they are prone to prolonged, saturating stimulation artifacts that prevent the recording of short-latency evoked responses. Yet electrical stimulation is integral to many experimental designs, and critical for emerging brain-computer interfacing and neuroprosthetic applications. To address these issues, we developed an easy-to-use, modifiable, and inexpensive system for multielectrode neural recording and stimulation. Setup costs are less than US$10,000 for 64 channels, an order of magnitude lower than comparable commercial systems. Unlike commercial equipment, the system recovers rapidly from stimulation and allows short-latency action potentials (<1 ms post-stimulus) to be detected, facilitating closed-loop applications and exposing neural activity that would otherwise remain hidden. To illustrate this capability, evoked activity from microstimulation of the rodent hippocampus is presented. System noise levels are similar to existing platforms, and extracellular action potentials and local field potentials can be recorded simultaneously. The system is modular, in banks of 16 channels, and flexible in usage: while primarily designed for in vivo use, it can be combined with commercial preamplifiers to record from in vitro multielectrode arrays. The system's open-source control software, NeuroRighter, is implemented in C#, with an easy-to-use graphical interface. As C# functions in a managed code environment, which may impact performance, analysis was conducted to ensure comparable speed to C++ for this application. Hardware schematics, layout files, and software are freely available. Since maintaining wired headstage connections with freely moving animals is difficult, we describe a new method of electrode-headstage coupling using neodymium magnets.