APTrack is a software plugin developed for the Open Ephys platform that enables real-time data visualization and the closed-loop electrical threshold tracking of neuronal action potentials. We have successfully used this in microneurography for human C-fiber nociceptors and mouse C-fiber and Aδ-fiber nociceptors.
Nociceptors are a class of primary afferent neurons that signal potentially harmful noxious stimuli. An increase in nociceptor excitability occurs in acute and chronic pain conditions. This produces abnormal ongoing activity or reduced activation thresholds to noxious stimuli. Identifying the cause of this increased excitability is required for the development and validation of mechanism-based treatments. Single-neuron electrical threshold tracking can quantify nociceptor excitability. Therefore, we have developed an application to allow such measurements and demonstrate its use in humans and rodents. APTrack provides real-time data visualization and action potential identification using a temporal raster plot. Algorithms detect action potentials by threshold crossing and monitor their latency after electrical stimulation. The plugin then modulates the electrical stimulation amplitude using an up-down method to estimate the electrical threshold of the nociceptors. The software was built upon the Open Ephys system (V0.54) and coded in C++ using the JUCE framework. It runs on Windows, Linux, and Mac operating systems. The open-source code is available (https://github.com/Microneurography/APTrack). The electrophysiological recordings were taken from nociceptors in both a mouse skin-nerve preparation using the teased fiber method in the saphenous nerve and in healthy human volunteers using microneurography in the superficial peroneal nerve. Nociceptors were classified by their response to thermal and mechanical stimuli, as well as by monitoring the activity-dependent slowing of the conduction velocity. The software facilitated the experiment by simplifying the action potential identification through the temporal raster plot. We demonstrate real-time closed-loop electrical threshold tracking of single-neuron action potentials during in vivo human microneurography, for the first time, and during ex vivo mouse electrophysiological recordings of C-fibers and Aδ-fibers. We establish proof of principle by showing that the electrical threshold of a human heat-sensitive C-fiber nociceptor is reduced by heating the receptive field. This plugin enables the electrical threshold tracking of single-neuron action potentials and allows the quantification of changes in nociceptor excitability.
Nociceptors are primary afferent neurons in the peripheral nervous system that are activated by overtly or potentially tissue-damaging events and play a critical protective role in acute pain1. Electrophysiological recordings from C-fiber and Aδ-fiber nociceptors in animal models, healthy human volunteers, and patients have revealed sensitization and abnormal spontaneous activity in a diverse range of pain conditions2,3,4,5,6,7. Understanding the mechanisms that underlie these changes in nociceptor excitability in patients could enable targeted therapeutic interventions8. However, there are few tools to assess nociceptor excitability directly, particularly in patients9, but the potential for the utility of such tools is well recognized10,11.
Whole-nerve electrical threshold tracking can be used to examine axonal excitability in humans12. However, as large, myelinated, peripheral neurons contribute disproportionally to the amplitude of the sensory compound action potential, whole-nerve electrical threshold tracking does not allow the assessment of C-fiber function11,13. Indeed, in a previous study, whole-nerve electrical threshold tracking in chronic neuropathic pain cohorts with diabetic neuropathy and chemotherapy-induced polyneuropathy showed no differences in axonal excitability11.
In a previous study, electrical threshold tracking at the single-neuron level was used to examine the excitability of C-fiber nociceptors during teased-fiber recordings in an ex vivo rat skin-nerve preparation14. The authors demonstrated that an increased potassium concentration, acidic conditions, and bradykinin all increased C-fiber nociceptor excitability, as reflected by a reduced electrical threshold for action potential generation. Furthermore, heating the receptive field of the heat-sensitive nociceptors reduced their electrical threshold, whereas heat-insensitive nociceptors exhibited an increase in their electrical threshold14. This provides important proof that single-neuron electrical threshold tracking is possible and can be of utility, but there are currently no software and/or hardware solutions available to enable such investigations, particularly for human studies.
In humans, microneurography is the only available method to directly assess the electrophysiological properties of C-fibers15. This approach has been used to demonstrate nociceptor dysfunction in patients with chronic pain2,3,4,5,6,7. Microneurography can detect single-neuron action potentials; however, due to the low signal-to-noise ratios, researchers use the marking technique to characterize C-fiber activity16. In the marking technique, suprathreshold electrical stimulation is applied to C-fiber receptive fields in the skin. This electrical stimulation generates an action potential that occurs at a constant latency, which is determined by the C-fiber's conduction velocity. C-fibers exhibit activity-dependent slowing, whereby their conduction velocity reduces and, therefore, their conduction latency increases during periods of action potential discharge17. Under basal conditions, C-fibers do not normally generate action potentials in the absence of noxious stimuli, and, therefore, their conduction latency in response to low-frequency electrical stimulation is constant. Mechanical, thermal, or pharmacological stimuli, which evoke firing, induce activity-dependent slowing, which increases the latency of the action potentials evoked by concomitant low-frequency electrical stimulation. This allows the objective identification of responses to the applied non-electrical stimuli in the context of a low signal-to-noise ratio. Therefore, activity-dependent slowing can be used to functionally characterize C-fibers16. Indeed, different functional classes of C-fibers exhibit distinctive patterns of activity-dependent slowing in electrical stimulation paradigms that involve varying the stimulation frequency18,19. This variability in the latency of C-fiber action potentials presents a challenge for algorithms designed to monitor them.
Ongoing activity in a nociceptor leads to increased variability in its latency during low-frequency electrical stimulation, and this is again due to activity-dependent slowing. This increased variability, or jitter, is a quantifiable proxy measure of excitability2. Further causes of variability in action potential latency include flip-flop, where alternate terminal branches of a single neuron are stimulated, which causes the evoked action potential to have two (or more) baseline latencies that are mutually exclusive20. Finally, changes in the temperature of a peripheral neuron's terminal branches also cause action potential latency changes in a thermodynamic manner, with warming increasing the conduction velocity and cooling slowing the conduction velocity19. Thus, any software seeking to perform closed-loop electrical threshold tracking of nociceptive C-fibers must allow for changes in latency in electrically evoked action potentials.
To achieve our goal of cross-species electrical threshold tracking of C-fiber nociceptors, we developed APTrack, an open-source software plugin for the Open Ephys platform21, to enable real-time, closed-loop, electrical threshold tracking, and latency tracking. We provide proof-of-concept data demonstrating that C-fiber nociceptor electrical threshold tracking during human microneurography is possible. Furthermore, we show that this tool can be used in rodent ex vivo teased-fiber electrophysiology, thus enabling translational studies between humans and rodents. Here, we will describe in detail how researchers can implement and use this tool to aid their study of nociceptor function and excitability.
APTrack is a software plugin for use with the Open Ephys platform. We have chosen this platform as it is open-source, flexible, and cheap to implement. Not including the cost of the constant current stimulator, all the equipment required to start using the plugin could be purchased for around $5,000 USD at the time of writing. We hope this will enable researchers to implement APTrack in their peripheral nerve electrophysiology studies more easily. Furthermore, researchers can freely modify the software to fit their experimental needs. Importantly, this tool has allowed the electrical threshold tracking of single C-fiber nociceptors, for the first time, in humans.
The higher the signal-to-noise ratio, the better the algorithms can identify action potentials. The signal-to-noise ratio during microneurography was sufficient in the majority of our recordings, but users must be alert to the risk of signal degradation over time. This is particularly important for longer experimental protocols, because if the tracked action potential's amplitude drops below the detection threshold, the stimulation amplitude will be increased mistakenly; this can be mitigated by experimenters monitoring the plugin and then adjusting the settings if required. The signal-to-noise ratio is improved with bandpass filtering, but larger transients may still be misidentified as action potentials should they arrive during the search box time window. The risk of misidentifying transient noise as an action potential can be reduced by narrowing the time window during which the plugin searches for action potentials and by optimizing the threshold settings. However, there are still situations one may encounter that impede the plugin's performance. Spontaneous activity may cause difficulties if larger-amplitude action potentials fall within the algorithm's search box window, as they will be misidentified as the target action potential. Additionally, spontaneous activity in the neuron of interest may mean that the electrical stimulation falls during its refractory period, causing failure to generate an action potential. Difficulties using the software can also arise when primary afferent neurons exhibit flip-flop, whereby alternate terminal branches of a single neuron are stimulated, thus causing the evoked action potential to have two (or more) baseline latencies that are mutually exclusive20. During recordings from neurons exhibiting flip-flop with high signal-to-noise ratios, we successfully performed latency and electrical threshold tracking by increasing the search box width to encapsulate all the potential conduction velocities that the neuron exhibited. However, the electrical threshold may vary depending on the terminal branch of the neuron that is being excited, which is likely in part due to differences in the distance from the site of the electrical stimulation to the alternate nociceptor terminals. Additional work on the action potential identification process to include, for example, template matching is feasible and could be integrated into this software. The GUI plugins for band-stop or adaptive noise filtration could also be used upstream of APTrack in the signal chain should they be developed.
We consider the electrical threshold determined to be the current required to elicit an action potential 50% of the time, over a user-defined number of electrical stimuli, typically 2-10. The morphology of electrical stimulation is 0.5 ms and positive, square wave pulses. This is not the same as determining the rheobase, a commonly used measure of neuronal excitability. The plugin could be adapted to determine the rheobase. However, we pursued a simpler measure, as dynamic changes in excitability, such as those hypothesized to occur during heating, would have been more difficult to quantify with rheobase changes than our electrical threshold estimate.
This software can be used in both human and rodent experiments. This is made possible by flexible support for the electrical stimulation systems. The software will work with any stimulator that accepts an analog command voltage or can be manually interfaced with a stepper motor. For microneurography, we used it with a CE-marked constant current stimulator that was designed for use in human research and had its stimulation controlled by a dial. Stimulators that accept analog voltage commands can be noisy as they do not disconnect the circuit between stimuli, meaning any 50/60 Hz hum or noise on the analog input will be transmitted to the recording. A stimulator that requires an additional TLL trigger signal to connect the circuit, permitting a stimulus at a current analogous to the analog voltage input to be generated, is ideal for use with the plugin. This prevents the noise from being transmitted to the recording between stimuli.
The software uses a simple up-down method to estimate the electrical threshold. This has been used in psychophysics tests for many decades25. In line with the up-down method, the electrical threshold tracking algorithm for modulating the stimulation amplitude only considers the previous stimulation's amplitude and response when calculating the next stimulation's amplitude. This means that the stimulation amplitude will oscillate around the true electrical threshold, thus producing a 50% firing rate, assuming the threshold is stable. The minimum size of an increment or decrement is 0.01 V; this is equivalent to 0.01 mA assuming the stimulator has a 1 V:1 mA input-to-output ratio and sufficient resolution to achieve step changes this small. The plugin will update the live estimate of the target action potential's electrical threshold every time it reaches a 50% firing rate over a user-defined number of previous stimuli (2-10). Post hoc, we recommend using a rolling average of the stimulation amplitude over the last 2-10 stimuli to estimate the electrical threshold, and it should be noted that this estimate will only be accurate when the firing rate is relatively stable at 50%. In both the live and post hoc estimates of the electrical threshold, there is a balance of resolution, reliability, and time to consider. Using smaller increment and decrement steps will increase the accuracy of the electrical threshold estimate but will increase the time taken to find the new electrical threshold initially and following perturbation. Calculating the electrical threshold over a greater number of previous stimuli will provide better reliability but will increase the time required to reach an accurate estimate.
APTrack was designed for use in peripheral nerve recordings, specifically to track the electrical thresholds of C-fibers during experimental and pathological perturbations over periods where the action potential latency may vary depending on the underlying neuronal activity. This method will enable the examination of not only axonal excitability but also of nociceptor generator potentials in healthy volunteers and patients. We anticipate that other fields of electrophysiology may adopt and adapt this tool for use in any experiment that requires the electrical threshold tracking of a stimulus-locked activity. For example, this could as easily be adapted for optogenetic stimulation with light pulses driven from APTrack. The plugin is open-source and available to researchers under a GPLv3 license. It is built on the Open Ephys platform, which is an adaptable, low-cost, open-source data acquisition system. The plugin provides additional hooks for downstream plugins to extract the action potential information and provide additional user interfaces or adaptative paradigms. The plugin provides a simple user interface for the visualization and latency tracking of action potentials in real time. It can also play back previous data and visualize them using the temporal raster plot. Furthermore, it can also perform latency tracking during the playback of previous data. While there are other software packages available for real-time latency tracking, they are not open-source and cannot perform electrical threshold tracking26,27. APTrack has an advantage over traditional methods of identifying constant latency action potentials from voltage traces as it uses a temporal raster plot for the data visualization. Furthermore, our experiences of using it in experiments with low signal-to-noise ratios have indicated that the temporal raster plot visualization method allows the identification of constant latency action potentials that may have been otherwise missed.
Whole-nerve threshold tracking is a widely used method for assessing axonal excitability13. Single-neuron electrical threshold tracking in rodent C-fibers has been used previously to quantify nociceptor excitability14, and its utility in humans is recognized10,11; however, until now, this was not possible. We provide a novel, open-source tool to directly measure single nociceptor excitability in both rodent and human peripheral nerve electrophysiological studies. APTrack enables the real-time, open-source, electrical threshold tracking of single-neuron action potentials in humans, for the first time. We anticipate that it will facilitate translational studies of nociceptors between rodents and humans.
The authors have nothing to disclose.
We would like to thank our funders for their support: Academy of Medical Sciences (J.P.D., A.E.P.), Versus Arthritis (J.P.D., A.E.P.), Jean Golding Institute Seedcorn Grant (J.P.D., A.E.P., G.W., A.C.S., M.M.P.), and Biotechnology and Biological Sciences Research Council collaborative training partnership doctoral studentship with Eli Lilly (G.W.T.N.). We would like to extend our thanks to all the contributors to the development of APTrack. We would also like to thank our volunteers who participated in the microneurography experiments and our Patient and Public Involvement and Engagement collaborators for their invaluable contributions.
12V DC Power Supply | NA | NA | To power uStepper S-lite. Required for dial-controlled stimulators. |
36 Pin Electrode Adapter Board | Intan Technology | C3410 | APTrack Dependency. For connecting electrode input to headstage. $255 USD as of March 2021. |
APTrack Plugin | NA | NA | https://github.com/Microneurography/APTrack |
Bipolar Ag/AgCl Recording Electrode | Custom | NA | Recording electrode for the skin-nerve preparation. Or equivalent. |
Bipolar Concentric Stimulating Electrode | World Precision Instruments | SNE-100 | For electrical stimulation in the mouse skin-nerve preparation. Or equivalent. |
Bipolar Transcutaneous Stimulating Electrode | Custom | NA | For transcutaneous electrical stimulation while searching for single-neuron action potentials during microneurography. |
BNC T Splitter (1+) | NA | NA | APTrack Dependency. Any standard BNC T splitter. |
BNC to BNC cables (3+) | NA | NA | APTrack Dependency. Any standard BNC cables. |
C6H11NaO7 | Merck | S2054 | Skin-nerve preparation synthetic interstitial fluid constituent. Or equivalent. |
CaCl2 | Merck | C5670 | Skin-nerve preparation synthetic interstitial fluid constituent. Or equivalent. |
Digitimer DS4 Constant Current Stimulator | Digitimer | DS4 | Constant current stiulator for animal research. £1,695 GBP as of September 2022. |
Digitimer DS7 Constant Current Stimulator | Digitimer | DS7A | Constant current stiulator for human research. £3,400 GBP as of September 2022. |
Electroaccupuncture Classic Plus Stimulating Electrodes | Harmony Medical | NA | For fixed position intradermal electrical stimulation of the dorsal aspect of the foot during human microneurography. |
Glucose | Fisher Scientific | G/0450/60 | Skin-nerve preparation synthetic interstitial fluid constituent. Or equivalent. |
HDMI Cable | NA | NA | APTrack Dependency. Any standard passive HMDI cable. To connect OE I/O Board to OE Acquisition Board. |
KCl | Merck | P9541 | Skin-nerve preparation synthetic interstitial fluid constituent. Or equivalent. |
MgSO4 | Acros Organics | 213115000 | Skin-nerve preparation synthetic interstitial fluid constituent. Or equivalent. |
Mineral Oil | Merck | 330779 | Electrical insulation for nerve recordings in th skin-nerve preparation. Or equivalent. |
NaCl | Merck | S9888 | Skin-nerve preparation synthetic interstitial fluid constituent. Or equivalent. |
NaHCO3 | Merck | S6014 | Skin-nerve preparation synthetic interstitial fluid constituent. Or equivalent. |
NaHCO3 | Merck | S0751 | Skin-nerve preparation synthetic interstitial fluid constituent. Or equivalent. |
Open Ephys Acquisition Board | Open Ephys | NA | APTrack Dependency. Includes USB cable to connect to computer and mains socket power supply. €2,955 EUR as of September 2022. |
Open Ephys Graphical User Interface | Open Ephys | NA | https://github.com/open-ephys/plugin-GUI |
Open Ephys I/O Board | Open Ephys | NA | APTrack Dependency. For ADC voltage inputs via BNC cables. €12.5 EUR without connectors, €85 EUR with connectors as of September 2022. |
PulsePal V2 | Sanworks | 1102 | APTrack Dependency. Open-source DAC and train generator. $725 USD pre-assembled as of September 2022. Approx. $275 USD for self-assembly. |
RHD 6ft SPI Cable | Intan Technology | C3206 | APTrack Dependency. For connecting headstage to OE Acquisition Board. $295 USD as of March 2021 |
RHD2216 16ch Bipolar Headstage | Intan Technology | C3313 | APTrack Dependency. For data acquisition and digitization. $725 USD as of March 2021. Or equivalent RHD2000 series headstage. |
Sucrose | Fisher Scientific | S/8560/60 | Skin-nerve preparation synthetic interstitial fluid constituent. Or equivalent. |
TCS-II Thermal Stimulator | QST.Lab | NA | For thermal stimualtion of nociceptor receptive fields during human microneurography. |
Tungsten Microelectrode Pair (Active + Reference) | FHC | 30085 | For microneurography recordings. 35mm. |
Ultrasound Scanner iQ+ | Butterfly Network | NA | For ultrasound-guided electrode insertion during microneurography. |
USB 3.0 5kV RMS Isolation | Inota Technology | 7055-D | For isolating human microneuroography participant from computer. €459 EUR as of September 2022. |
USB-A to micro USB-B cable (2) | NA | NA | APTrack Dependency. To connect computer to PulsePal and to uStepper S-lite if using stepper-stimulator interfacing. |
uStepper S-lite + NEMA17 motor | uStepper | NA | To interface with stimulators via a control dial. €50 EUR as of September 2022. |
Von Frey Filaments | Ugo Basile | 37450-275 | For mechanical stimulation of receptive fields during sensory phenotyping of nociceptors. |