Method
to deliver targeted stimulation. Finally, we added the capability to deliver three
stimulation protocols including paired-pulse stimulation, spatiotemporal patterned
stimulation, and closed-loop stimulation. We demonstrate our novel extensions using
VERTEX’s built-in spiking and LFP recordings. These novel features allow users to test
a vast array of stimulation approaches, providing a highly adaptable LFP simulation tool.
2. Methods
For each simulation, we use the 15 neuron-group VERTEX model developed by
Tomsett et al (2015), which incorporates the biophysical and connectivity patterns of 15
distinct types of cortical neurons, each characterized by unique features such as
compartmental structure, soma location, projecting layer, firing rate, number of
synapses and synapse dynamics. Neuronal spiking is driven by synaptic currents as
well as stochastic AdEx input currents. The means and standard deviations for the
AdEx input currents used in Tomsett et al (2015) result in large gamma oscillations that
can mask other evoked potentials. To reduce the model’s inherent gamma oscillations
to levels low enough to not obscure stimulus-evoked LFPs, we chose to scale the mean
and standard deviations of the AdEx input currents by 1.125x and 1.75x. The size of the
simulated tissue block is 1.5 x 1.5 x 2.6 mm deep with virtual electrodes for LFP
recording sites spaced in a 3 x 3 x 6 grid to capture activity in each cortical layer.
VERTEX calculates LFPs by summing the membrane potentials of each compartment,
weighted by their distance from the virtual electrodes. The resulting networks contain
approximately 224 thousand units and 569 million connections. Simulations were run
remotely on the Neuroscience Gateway (Sivagnanam et al 2013) computer cluster or on
a local PC (AMD 7800X3D CPU with 128GB
memory) and generally required about 1
hour run time per 1 second of simulated time
to complete. A list of added or modified code
modules are reported in Supplementary
Table 1.
2.1.Electric field stimulation:
parametric electrodes and biphasic
stimulation
VERTEX has built in support for electric field
stimulation with demonstration code for
monophasic stimulation through a single pair
of differential electrodes positioned
horizontally through the model tissue slice.
The 3D electrode topology is created in a 3D
modeling application and imported into
MATLAB. The reliance on an external
software requiring multiple cumbersome
steps limits rapid modification and
Figure 1. Added features for electric field
stimulation. VERTEX defines a tissue volume where
a variety of modeled neuron types are placed. We
introduce several features to increase flexibility and
versatility when defining electrode and stimulation
parameters in the tissue volume. Electrode positions,
lengths, and widths are parametrically defined using
the MATLAB PDE toolbox. The electrode geometry
can represent penetrating or surface electrodes in a
single pair or multiple pair configuration. Biphasic
stimulation is modeled by inverting the electric field
halfway through the pulse duration.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 21, 2024. ; https://doi.org/10.1101/2024.08.20.608687doi: bioRxiv preprint
parameterization of electrodes. To overcome this limitation, we implemented a new
script for electric field stimulation that removes the dependence on an external 3D
application. Functions within this script can parametrically create electrode topologies
directly in MATLAB, allowing easy modification of the electrode shape, the number of
electrode pairs, and the positioning of the electrodes in any orientation within the tissue
geometry. We demonstrate the benefit and versatility of this user-friendly feature with
single and multiple pairs of tapered tip and surface patch electrodes oriented
perpendicular to the ventral surface of the modeled tissue, resembling electrodes in the
Utah Array or an Electrocorticography (ECoG) array (Fig 1).
Additionally, in this script we introduce features that significantly expand the range of
stimulation options. For example, we added the ability to modify stimulation timing and
pulse parameters during an ongoing simulation, a feature particularly beneficial for
closed-loop stimulation. Lastly, rather than restricting stimulation to a single pair of
differential electrodes, our code accommodates multiple pairs of stimulating electrodes
that deliver biphasic, bipolar stimulation. Biphasic stimulation is performed by inverting
the electric field halfway through the stimulus duration. While this is constant voltage
stimulation, the VERTEX tissue model is purely resistive and the current applied can be
estimated from the tissue conductivity, electrode surface area, and the electric field
calculated by the Matlab Partial Differential Equation (PDE) Toolbox. These novel
features broaden the range of electrode and stimulation settings available, facilitating
comprehensive investigations into effective parameters for modulating neural activity.
2.2.Modeling optogenetic stimulation
Optogenetics has become a commonly used technique to rapidly modulate neural
activity in neurons expressing exogenous light-sensitive ion channels. By applying light
to the targeted region, the light-sensitive ion-channels open and induce a photocurrent
in the affected cells. We created a novel script to model optogenetic stimulation using
VERTEX’s built-in functionality for adding input currents to neuron units. These currents
can vary with time and may be turned on and off to model photocurrents. Light-sensitive
units are defined in the script, allowing users to specify which cell types or layers to set
as light-responsive or expressing the opsin. The light source for optogenetic stimulation
is typically a laser which projects light of a specific wavelength through an optical fiber.
The laser’s radiant power (P in mW) and the fiber’s radius (r in mm) control the intensity
of the stimulation with the initial irradiance (E0) at the tissue surface beneath the optic
fiber defined by Equation 1.
𝐸! = 𝑃
𝜋 𝑟"
(1)
Irradiance at depth (z) is modeled by fitting both an exponential and geometric decay to
data (Yizhar et al 2011) for light transmission through unfixed brain tissue where 10%
and 1% light transmission contours give the percentage of light remaining at depth and
lateral distance. The depth (z) of these contours is measured for both 473 nm and 594
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 21, 2024. ; https://doi.org/10.1101/2024.08.20.608687doi: bioRxiv preprint
nm light and fit to Equation 2. The ratio (h) of depth to half-width (at half-depth) of the
1% contours are used to calculate a scaled lateral distance (l) to create a 3-dimensional
estimate of irradiance at any (x, y, z) coordinate. Parameter fitting values are shown in
Table 1 and the irradiance estimate (mW/mm2) is shown in Equation 3. When optical
stimulation is initiated, irradiance values for each light source are calculated for each
light-sensitive unit at its soma (x, y, z) position.
𝑓(𝑧) = 𝑒!"#
% &
1 + 𝑎 𝑧'
(2)
Parameter Blue light (473 nm) Amber light (594 nm)
𝜏 0.39 mm 0.38 mm
𝑎 92 8.8
ℎ 1.14 1.67
Table 1. Parameters for estimating irradiance at coordinate
(x, y, z) given in millimeters.
𝐸(𝑥, 𝑦, 𝑧) = 𝐸! 𝑓 . /𝑙" + 𝑧"2 , 𝑙 = ℎ /𝑥" + 𝑦" (3)
There are several theoretical models for converting irradiance to photocurrents for
various opsins. We chose Foutz et al (2011) for modeling Channelrhodopsin-2 (ChR2)
with 473 nm light, Saran et al (2018) for Chronos with 473 nm light, and Gupta et al
(2019) for vfChrimson with 594 nm light. Peak photocurrent estimates (in picoamps) for
irradiance levels Exyz (in mW/mm2) were fit with Equation 4 for ChR2, Equation 5 for
vfChrimson, and Equation 6 for Chronos.
𝐼#$%"5𝐸&'(6 = 49.3 𝐸&'(
!.*+ (4)
𝐼,-.$%/01235𝐸&'(6 = 1279 ∗ (1 − 1
1 + 1.7𝐸&'(
)
(5)
𝐼#$%23215𝐸&'(6 = 2293 ∗ (1 − 1
1 + 0.73𝐸&'(
)
(6)
Photocurrent dynamics are written into a VERTEX input model that handles optogenetic
stimulation. This is a step function with exponential on and off dynamics to simulate the
rise and fall of an input current to a precalculated value during the application of a light
pulse. The time-constants used for the on and off mechanics for ChR2 are τon = 1.5 ms,
τoff = 11.6 ms (Mattis et al 2012), for vfChrimson are τon = 1.0 ms, τoff = 2.7 ms (Gupta
et al 2019), and for Chronos are τon = 0.65 ms, τoff = 3.6 ms (Saran et al 2018).
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 21, 2024. ; https://doi.org/10.1101/2024.08.20.608687doi: bioRxiv preprint
2.3.Stimulation paradigms
We created new scripts for three stimulation paradigms: paired-pulse, spatiotemporal
patterned, and closed-loop stimulation. Each paradigm can use either electrical or
optogenetic stimulation. Paired-pulse and spatiotemporal patterned stimulation both
involve delivering stimulation at multiple sites with temporal delays between them.
These spatial and temporal properties can induce spike-timing-dependent plasticity
(STDP), a biological phenomenon based on spike timing differences between the
postsynaptic unit (firing at time t2) and the presynaptic unit (firing at t1) with the spike-
timing difference defined as Δt = t2 – t1. Positive differences strengthen while negative
differences weaken connectivity between the pre- and postsynaptic unit. STDP is built
into VERTEX synapse models to allow changes in connection strengths between units.
In this STDP implementation, each time the pre- or postsynaptic neuron fires, there is
an update to synapse connectivity, where two exponential functions (per synapse), each
with unique decay times for the pre- and postsynaptic neuron, dictate the degree of
synaptic connectivity change.
Although VERTEX demonstrates a form of paired-pulse stimulation with STDP, it
currently only supports paired-pulse stimulation using a single pair of electrodes at the
same site, whereas paired-pulse stimulation is typically administered at separate sites.
Since this paradigm does not represent the typical protocol used in-vivo, we created a
novel script for paired-pulse stimulation where stimulation is applied at distinct sites.
Additionally, we created a new script to deliver spatiotemporal patterned stimulation,
where stimulation can be applied to a greater number of sites with varying amplitudes
and pulse delays between sites.
The third paradigm we support is closed-loop stimulation, where stimulation is delivered
or altered in response to on-going activity. In biophysical experiments, stimulation can
be administered in response to behaviors, neural activity such as LFPs or single unit
activity, and peripheral activity including signals from electromyography. In VERTEX,
closed-loop stimulation is largely limited to recorded LFPs and spike times. We have
implemented two forms of closed-loop stimulation, both of which are dependent on LFP
measurements. The first is cycle-triggered stimulation where a stimulus pulse is
delivered based on the amplitude and phase of the filtered LFP recorded on a single
recording electrode. The second closed-loop paradigm is amplitude-adjusted stimulation
where the amplitude of stimulation is adjusted to keep the magnitude of an LFP channel
within a certain range. Both methods require transferring partial LFP values between the
parallel MATLAB processes used to accelerate VERTEX so that each process has a
complete copy of the LFP at each recording site.
3. Results
3.1.Optogenetic stimulation
To get an estimate of light penetration through the modeled tissue, we generated
contour plots of irradiance at depth and lateral distance for 473 nm and 594 nm light
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 21, 2024. ; https://doi.org/10.1101/2024.08.20.608687doi: bioRxiv preprint
using a single light source with a radius of 100 µm (Fig 2A). While 594 nm irradiance fall
off is more gradual compared to 473 nm, both contour plots have a dramatic drop off in
irradiance in the modeled tissue. The depth of light penetration shown here for 473 nm
and 594 nm light is consistent with previous in-vivo work (Senova et al 2017). Currents
induced by a 5ms light pulse with several irradiance values are shown in Fig 2B.
To demonstrate how our extension modeling optogenetic stimulation can be used to
compare the effects of different stimulation parameters, we illustrate simulations using
various opsins, laser settings, and light-sensitive units in Fig 2C and Fig S1. Each
simulation displays the average spiking and LFP response following a 5ms light pulse,
averaged across 100 pulses. To calculate tissue maps of spike-rate changes evoked by
stimulation, unit spike times were divided spatially into 25 µm bins based on soma (x, y,
z) positions. Baseline spiking rates were calculated for each bin by summing spike
counts along either the Y axis (tissue side-view) or Z axis (top-down view) for the 50 ms
time-window preceding stimulus onset times. Spike-rate responses were similarly
calculated for the 5 ms stimulus duration. Percent increases in spike-rate responses
over baseline were plotted on log scales to highlight smaller changes. For each
simulation, these maps are shown from top-down and side-view perspectives, along
with a stimulus-triggered-average (STA) of the surface LFP (Fig 2C). We quantified the
stimulus response strength across simulations using 3 measures - percent spiking
increase, LFP peak to peak, and the LFP root mean square (Fig 2D).
We found that increasing the initial light power or decreasing the light source radius,
while maintaining the same light power, both resulted in increased spiking and LFP
response. Notably, the largest differences in stimulus response strength were attributed
Figure 2. Modeling optical stimulation . A) Blue light (473 nm) and amber light (494 nm) models of light spread through tissue
are used respectively for ChR2 and vfChrimson opsin models of photocurrent responses to levels of irradiance. Radiant power
falls off due to both light absorption and geo metric fall-off with distance. B) Photocurrent rise and decay are modeled as
exponential functions and are shown here in response to a 5 ms light pulse for varying irradiance values. C) Stimulus respons es
under a variety of optogenetic parameters including differing light sensitive units, irradiances, fiber radii, and opsins. The top -
down (top row) and side-view (middle row) through the tissue show the percent change in spiking activity on log scales for the 5
ms stimulus duration compared to the 50 ms prior baseline period. The bottom row demonstrates LFP s at the surface-center
recording electrode. The left-most column limits light-sensitive units to the units in layer 2/3, whereas other simulations set all
units as light-sensitive. The first four columns use the ChR2/473 model, while the last column uses the vfChrimson/594 model.
D) Three measures of stimulus response strength shown in 2C: Percent increase in spiking during the stimulus (top), LFP peak
to peak (middle), and root mean square (bottom) of the average surface LFP response for 100 ms following the stimulus.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 21, 2024. ; https://doi.org/10.1101/2024.08.20.608687doi: bioRxiv preprint
to the opsin used, with vfChrimson and Chronos producing much larger responses than
ChR2. Additionally, in Fig S1 we validated the ability of our model to modulate spiking
and LFPs using cell type specific stimulation. When comparing vfChrimson activation in
all units, excitatory units only, and inhibitory units only, we observed that excitatory units
were primarily driving the maximum LFP response, whereas inhibitory units were
regulating post-stimulation oscillations.
3.2.Paired-pulse stimulation with spike-timing-dependent plasticity
In Fig 3, we demonstrate our paired-pulse stimulation paradigm, combined with several
of our extensions to electric field stimulation, including biphasic stimulation at multiple
electrode pairs with a programmed delay. In this simulation we enabled VERTEX’s built
in STDP feature that requires using a script where defined STDP parameters govern the
temporal dynamics and degree of connectivity change. Based on work shown in Bi and
Poo (2001), we set the decay time constants for the exponential curves to 17ms and
34ms for positive and
negative Δt, respectively
such that small values of
Δt give the largest
changes and large values
of Δt give exponentially
smaller changes (Fig 3A).
The amplitude for the
weakening function was
set at 0.53 times that of
the curve for the
strengthening function to
provide slightly more area
under the weakening
curve. This helps prevent
run-away connection
strengths from random
activity since there is no
homeostasis function. The
maximum change can be
modified but is normally
set between 0.001 and
0.005 nanosiemens (nS).
Connection magnitudes
can be limited and are
normally restricted to the
range between 0.001 and
4.0 nS.
In Fig 3 we used the
original AdEx input-current
Figure 3. Paired-pulse conditioning. A) Schematic of STDP principle. B) Schematic
of paired-pulse electric field stimulation and placement of stimulating (black outline)
and recording electrodes (white dots) in the tissue slice. C) Side -view of percent
increase in spiking activity in log scale during the 10 ms window after the stimulus
onset. D) Stimulus evoked responses of surface LFP at each site for both the
preconditioned and post-conditioned network. Increased spiking activity in the 5 ms
window after test stimulation for each site in both the E) preconditioned and F) post -
conditioned networks. G) Neuron groups (arranged vertically by cortical layer) with only
the largest mean connection-strength changes shown. Size and color of arrows reflect
degree of change with blue to yellow reflecting increasing strength changes. “P” =
pyramidal neuron, “B” = basket interneuron, “NB” = non-basket interneuron, “SS” =
spiny stellate neuron. Layer abbreviations within parentheses represent the projection
layer. H) Mean connection strength from Site1 to Site2 increased while that from Site2
to Site1 decreased. Mean connection strengths involving units outside (“O”) of one or
both sites remained largely unchanged. I) Side-view of connection strength changes
showing that the largest changes occur to units within 100 um radius of the site’s (x,y)
locations in both layer 2/3 and layer 4.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 21, 2024. ; https://doi.org/10.1101/2024.08.20.608687doi: bioRxiv preprint
scalers since plasticity reduces the network’s inherent oscillations to levels low enough
to not obscure the stimulus-evoked responses. This also allows for larger stimulus
responses in deeper layers which results in brief oscillatory activity that dampens out
within 100 ms. Network connection strengths were initialized from the results of running
a non-stimulating network for 30 seconds with STDP turned on, allowing the paired-
pulse conditioning to begin with a more stable distribution of connection strengths and
very low LFP oscillations.
Paired-pulse conditioning was simulated using electric field stimulation at two sites
separated by 750 µm in the middle of layer 2/3 (Fig 3B). The electrode tips were
modeled after a commonly used microelectrode array with 50 µm tip lengths and 35 µm
base diameters. The bipolar tips were placed 100 microns apart. 100 paired stimulation
events were delivered where stimulation at the second site was delayed 5 ms from the
first. 1000 mV biphasic-bipolar stimulation was delivered to each site in brief 0.4 ms
pulses (0.2 ms each phase). This produced in an estimated constant current stimulation
of 65 µA at each site since the VERTEX tissue model is purely resistive.
Stimulus times were used to calculate post-stimulus changes in spiking activity and
create STAs of resulting LFPs similar to graphs for optical stimulation in Fig 2. To
capture effects at both sites in Fig 3C, spike-rate responses were calculated for the 0 -
10 ms window after stimulation at the first site. Network connection strengths were
saved before and after paired-pulse conditioning. We compared the response to a
single pulse stimulation at Site 1 or Site 2 using the network connection strengths
before and after paired-pulse conditioning (Fig 3D-F). After conditioning there was an
increased LFP response at Site 2 in response to Site 1 stimulation, and a decreased
LFP response at Site 1 in response to Site 2 stimulation (Fig 3D). Some of the LFP
changes were due to the increased spiking activity (post-conditioning) in layer 4, which
was largely symmetrical for both Site1 and Site2 (Fig 3F). Figure 3G-I shows connection
strength changes (post – pre) by unit type, stimulation site, and unit location. Together,
these results indicate an increase in connection strength from Site1 to Site2, and a
decrease from Site2 to Site1.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 21, 2024. ; https://doi.org/10.1101/2024.08.20.608687doi: bioRxiv preprint
3.3.Spatiotemporal patterned stimulation
In Fig 4 we illustrate a simulation using our extensions for spatiotemporal patterned and
optogenetic stimulation. Four optogenetic stimulation sites are placed in each of the four
surface quadrants of the tissue slice: lower-left, upper-right, lower-right, and upper-left
(Fig 4A). These sites were stimulated, in that order, by 5 ms light pulses, each
separated by 15 ms between the start of each light pulse. We used the ChR2/473nm
model with light sources of 100 µm radius. The initial light power was 7.2 mW for each
light source and all neuron
groups were set as
optogenetically responsive
(Fig 4B). This train of pulses
was repeated every 200 ms for
20 seconds. Stimulus triggered
spiking activity and LFP
averages were calculated as
before. Fig 4A shows the
stimulation response centered
at each site with refractory
responses visible for previous
stimulation sites. Spiking
activity after the fourth
stimulation site is shown from
the side-view (Fig 4C) and top-
down view for individual layers
(Fig 4D). Graphs aggregating
activity within individual layers
show localized spiking activity
during the stimulus to layer 2/3
and 4 with lingering refractory
responses from the previous
site in layers 4 and 5. The
STAs of the LFP show evoked
potentials for each light pulse
that do not completely decay
before the next light pulse is
delivered (4E).
Figure 4. Spatiotemporal patterned stimulation. A) Top-down view of increased spiking
activity on log scales in response to four consecutive optical pulses delivered at 15 ms
intervals to different sites in the tissue slice. B) Placement of each of the light sources
(colored dots) and recording electrodes (white dots) in the tissue slice. T iming of
stimulation for each light source shown on bottom. Dark blue bars indicate 5ms light pulse
durations. C) Side-view of increased spiking activity from the fourth stimulus site. D) Top -
down view for cortical layers 2/3 through 6 of spiking activity aggregated by layer after
stimulation at the fourth site. E) LFP averages for the center column of recording
electrodes aligned at the first pulse.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 21, 2024. ; https://doi.org/10.1101/2024.08.20.608687doi: bioRxiv preprint
3.4.Cycle-triggered closed-loop stimulation
Figure 5 shows our cycle-triggered closed-loop stimulation using our modifications to
electric field stimulation at a single pair of differential electrodes in layer 2/3 (Fig 5A). To
remove baseline signal-shift and reduce high-frequency noise, a 20-30Hz band-pass
filter was applied to the surface recording electrode located above the stimulating
electrode. Similar to the paired-pulse conditioning in Fig 3, 1000 mV biphasic-bipolar
stimulation was delivered in brief 0.4 ms pulses. Stimulation was triggered by a rising
filtered LFP with a magnitude threshold of 5 µV and a refractory period of 100ms (Fig
5B). The pre-stimulus oscillation
appears in the LFP STA with the
average evoked LFP response (Fig
5C). The simulation ran for 30 seconds,
with stimulation applied only between
5-25 seconds of simulation time. Within
these 20 seconds, the filtered LFP met
criteria to trigger stimulation 47 times.
The location of increased post-stimulus
spiking-activity is centered on the
stimulation site with activity spreading
primarily through layer 2/3 (Fig 5D).
4. Discussion
We present novel extensions for VERTEX that enhance the software's ability to model a
diverse range of in-vivo stimulation approaches. First, we introduce a script that adds
several new features for electric field stimulation, including the ability to parametrically
create 3D electrodes using built-in MATLAB functions. This eliminates the need for
external 3D modeling software and allows users to create and position different
electrode shapes, such as patches on the cortical surface or tapered electrodes
penetrating the tissue. Additionally, we implemented features that enable biphasic
stimulation with complex temporal patterns. These added functionalities enable users to
easily test various electrode types and stimulation settings to identify the approaches
that produce results most similar to their targeted outcomes.
Another key feature we implemented is the ability to model optogenetic stimulation.
Over the past twenty years, optogenetics has become a widely adopted neuroscience
technique used to stimulate neural activity with spatial and temporal precision
(Deisseroth 2015). While optogenetics is primarily used in preclinical research,
experimentalists are beginning to adapt optogenetics for clinical trials (Gao et al 2023).
Our extension offers extensive parametrization, developed specifically to mimic the
technical choices available to experimentalists. For example, we model optogenetic
stimulation for three popular opsins - Channelrhodopsin2, vfChrimson, and Chronos -
each having their own advantages and limitations. For instance, longer wavelengths of
light, such as 594 nm used for vfChrimson activation, can penetrate the brain deeper
Figure 5. Closed-loop stimulation. A) Placement of stimulating
(back outline) and recording electrodes (white dots) in the tissue
slice. B) Schematic of stimulation triggered by rising LFP . C) STA
of the unfiltered LFP. D) Side-view of the change in spiking activity
(0-10 ms post-stimulus) in log scale after stimulation.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 21, 2024. ; https://doi.org/10.1101/2024.08.20.608687doi: bioRxiv preprint
than 473 nm used for ChR2 activation. Thus, depending on the desired depth of
stimulation, kinetics of each opsin, and available resources, users can select the opsin
that best meets their needs. Another method commonly employed in-vivo is to select an
opsin with a promoter that targets specific cell types. We support this technical
approach by allowing specification of which unit groups are light-responsive, thereby
enabling stimulation of specific cell types or layers.
Finally, we developed open and closed-loop stimulation protocols that enable users to
model stimulation with versatile temporal and spatial properties. Each protocol can be
used with electric field stimulation or optogenetic stimulation. Additionally, though we
only demonstrate STDP with paired-pulse stimulation, STDP can be enabled for each
protocol. Simulations with STPD take much longer to run due to the extra overhead and
calculations (e.g. paired-pulse stimulation with STDP takes 3 times longer to run than
paired-pulse stimulation without STDP enabled), but they can provide information on
how connection strengths could change under specific stimulation interventions. For
instance, compared to pre-conditioning, after paired-pulse conditioning, we found that
stimulation delivered at Site1 resulted in larger LFP responses at Site2 (Fig 3). These
References
Asp, A.J., Chintaluru, Y., Hillan, S., & Lujan, J.L. (2023). Targeted neuroplasticity in
spatiotemporally patterned invasive neuromodulation therapies for improving clinical
outcomes. Front Neuroinform, 17:1150157. doi: 10.3389/fninf.2023.1150157.
Bi, G. & Poo, M. (2001). Synaptic modification by correlated activity: Hebb’s postulate
revisited. Annu Rev Neurosci, 24:139–166. doi:10.1146/annurev.neuro.24.1.139.
Bloch, J.A., Khateeb, K., Silversmith, D.B., O’Doherty, J.E., P. N. Sabes, P.N., &
Yazdan-Shahmorad, A. (2019). Cortical Stimulation Induces Network-Wide Coherence
Change In Non-Human Primate Somatosensory Cortex. EMBC, 6446-6449. doi:
10.1109/EMBC.2019.8856633.
Bloch, J., Greaves-Tunnell, A., Shea-Brown, E., Harchaoui, Z., Shojaie, A., & Yazdan-
Shahmorad, A. (2022). Network structure mediates functional reorganization induced by
optogenetic stimulation of non-human primate sensorimotor cortex. iScience 25,
104285. https://doi.org/10.1016/J.ISCI. 2022.104285.
Brette, R. and Gerstner, W. (2005). Adaptive Exponential Integrate-and-Fire Model as
an Effective Description of Neuronal Activity. J Neurophysiol 94(5):3637-3642.
doi:10.1152/jn.00686.2005.
Deisseroth, K. (2015). Optogenetics: 10 years of microbial opsins in neuroscience. Nat
Neurosci, 18,1213–1225. https://doi.org/10.1038/nn.4091.
Foutz, T.J., Arlow, R.L., & McIntyre, C.C. (2012). Theoretical principles underlying
optical stimulation of a channelrhodopsin-2 positive pyramidal neuron. J Neurophysiol,
107(12):3235-45. doi: 10.1152/jn.00501.2011.
Gao, T.T., Oh, T.J., Mehta, K., Huang, Y.A., Camp, T., Fan, H., Han, J.W., Barnes,
C.M., & Zhang, K. (2023). The clinical potential of optogenetic interrogation of
pathogenesis. Clin Transl Med, 13(5):e1243. doi: 10.1002/ctm2.1243.
Gupta, N., Bansal, H., & Roy, S. (2019). Theoretical optimization of high-frequency
optogenetic spiking of red-shifted very fast-Chrimson-expressing neurons.
Neurophotonics, 6(2):025002. doi: 10.1117/1.NPh.6.2.025002.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 21, 2024. ; https://doi.org/10.1101/2024.08.20.608687doi: bioRxiv preprint
Kakusa, Bina., Saluja, S., Tate, W.J., Espil, F.M., Halpern, C.H., & Williams, N.R.
(2019). Robust clinical benefit of multi-target deep brain stimulation for treatment of
Gilles de la Tourette syndromand its comorbidities. Brain Stimulation, 12(3):816-818.
https://doi.org/10.1016/j.brs.2019.02.026.
Khateeb, K., Yao, Z., Kharazia, V.N., Burunova, E.P., Song, S., Wang, R., & Yazdan-
Shahmorad, A. (2019). A Practical Method for Creating Targeted Focal Ischemic Stroke
in the Cortex of Nonhuman Primates. EMBC, 3515-3518. doi:
10.1109/EMBC.2019.8857741.
Khateeb, K., Bloch, J., Zhou, J., Rahimi, M., Griggs, DJ., Kharazia, VN., Le, M.N.,
Wang, R.K., & Yazdan-Shahmorad, A. (2022). A versatile toolbox for studying cortical
physiology in primates. Cell Rep Methods, 2(3):100183. doi:
10.1016/j.crmeth.2022.100183.
Mattis, J., Tye, K., Ferenczi, E., Ramakrishnam, C., O’Shea, D.J., Prakash, R.,
Gunaydin, L.A., Hyun, M., Fenno, L.E., Gradinaru, V., Yizhar, O., & Deisseroth,
K. (2012). Principles for applying optogenetic tools derived from direct comparative
analysis of microbial opsins. Nat Methods, 9,159–172.
https://doi.org/10.1038/nmeth.1808.
Saran, S., Gupta, N., & Roy, S. (2018). Theoretical analysis of low-power fast
optogenetic control of firing of Chronos-expressing neurons. Neurophotonics, 5(2),
025009. doi: 10.1117/1.NPh.5.2.025009.
Seeman, S.C., Mogen, B.J., Fetz, E.E., & Perlmutter, S.I. (2017).Paired Stimulation for
Spike-Timing-Dependent Plasticity in Primate Sensorimotor Cortex. J Neurosci,
37(7):1935-1949. doi: 10.1523/JNEUROSCI.2046-16.2017.
Senova, S., Scisniak, I., Chiang, C.C., Doignon, I., Palfi, S., Chaillet, A., Martin, C., &
Pain, F. (2017). Experimental assessment of the safety and potential efficacy of high
irradiance photostimulation of brain tissues. Sci Rep, 7, 43997.
https://doi.org/10.1038/srep43997.
Shupe, L & Fetz, E.E. (2021). An integrate-and-fire spiking neural network model
simulating artificially induced cortical plasticity. ENeuro, 0333-20.
Sivagnanam, S., Majumdar, A., Yoshimoto, K., Astakhov, V., Bandrowski, A., Martone,
M.E. & Carnevale, N.T. (2013). Introducing the Neuroscience Gateway. IWSG 993.
The MathWorks Inc. (2022). MATLAB version: 9.13.0 (R2022b), Natick, Massachusetts:
The MathWorks Inc. https://www.mathworks.com.
Thornton, C., Hutchings, F., & Kaiser, M. (2019).The Virtual Electrode Recording Tool
for EXtracellular Potentials (VERTEX) Version 2.0: Modelling in vitro electrical
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 21, 2024. ; https://doi.org/10.1101/2024.08.20.608687doi: bioRxiv preprint
stimulation of brain tissue. [version 1; peer review: 2 approved] Wellcome Open
Research, 4:20. https://doi.org/10.12688/wellcomeopenres.15058.1.
Tomsett, R.J., Ainsworth, M., Thiele, A., Sanayei, M., Chen, X., Gieselmann, M.A.,
Whittington, M.A., Cunningham, M.O., & Kaiser, M. (2015). Virtual Electrode Recording
Tool for EXtracellular potentials (VERTEX): comparing multi-electrode recordings from
simulated and biological mammalian cortical tissue. Brain Struct Funct, 220, 2333–
2353. https://doi.org/10.1007/s00429-014-0793-x.
Wischnewski, M., Haigh, Z.J., Shirinpour, S., Alekseichuk, I., & Opitz, A. (2022). The
phase of sensorimotor mu and beta oscillations has the opposite effect on corticospinal
excitability. Brain Stimulation, 15(5):1093-1100.
https://doi.org/10.1016/j.brs.2022.08.005.
Yazdan-Shahmorad, A., Kipke, D.R., & Lehmkuhle, M.J. (2011). Polarity of cortical
electrical stimulation differentially affects neuronal activity of deep and superficial layers
of rat motor cortex. Brain Stimul, 4(4):228-41. doi: 10.1016/j.brs.2010.11.004.
Yazdan-Shahmorad, A., Kipke, D.R., & Lehmkuhle, M.J. (2013). High γ power in ECoG
reflects cortical electrical stimulation effects on unit activity in layers V/VI. Journal of
neural engineering, 10(6), 066002. https://doi.org/10.1088/1741-2560/10/6/066002.
Yazdan-Shahmorad, A., Silversmith, D.B., Kharazia, V., & Sabes, P.N. (2018). Targeted
cortical reorganization using optogenetics in non-human primates. eLife, 7:e31034.
https://doi.org/10.7554/eLife.31034.
Yizhar, O., Fenno, L.E., Davidson, T.J., Mogri, M., & Deisseroth, K. (2011).
Optogenetics in neural systems. Neuron, 71(1):9-34. doi:
10.1016/j.neuron.2011.06.004.
Zanos S., Rembado, I., Chen, D., & Fetz, E.E. (2018). Phase-locked stimulation during
cortical beta oscillations produces bidirectional synaptic plasticity in awake monkeys.
Current Biology, 28, 2515–2526.
Zhou, J., Khateeb, K., Gala, A., Rahimi, M., Griggs, D.J., Ip, Z., & Yazdan-Shahmorad,
A. (2022). Neuroprotective effects of electrical stimulation following ischemic stroke in
non-human primates. IEEE, 3085-3088. doi: 10.1109/EMBC48229.2022.9871335.
Zhou, J., Khateeb, K., & Yazdan-Shahmorad, A. (2023). Early Intervention with
Electrical Stimulation Reduces Neural Damage After Stroke in Non-human
Primates. bioRxiv : the preprint server for biology,12.18.572235.
https://doi.org/10.1101/2023.12.18.572235.
Zrenner, C., Desideri, D., Belardinelli, P., & Ziemann, U. (2018). Real-time EEG-defined
excitability states determine efficacy of TMS-induces plasticity in human motor cortex.
Brain Stimulation, 11(2):374-389. https://doi.org/10.1016/j.brs.2017.11.016.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 21, 2024. ; https://doi.org/10.1101/2024.08.20.608687doi: bioRxiv preprint
Zrenner, C. & Ziemann, U. (2024). Closed-loop brain Stimulation. Biological Psychiatry,
95(6):545-552. https://doi.org/10.1016/j.biopsych.2023.09.014.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 21, 2024. ; https://doi.org/10.1101/2024.08.20.608687doi: bioRxiv preprint