Skip to content

Commit

Permalink
doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
ntolley authored and jasmainak committed May 19, 2021
1 parent 75b0791 commit 76d513c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions examples/plot_connectivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
# connectivity patterns. For example, we can remove 90% all layer 2 inhibitory
# connections.
# This can be achieved with :meth:`hnn_core._Connectivity.update_probability`,
# a function that is available for each element of `net.connectivity`.
# a function that is available for each element of ``net.connectivity``.
# Note that in the default network, the src_gids of each connection are
# all the same cell type allowing for easy modifications.
for conn in net.connectivity:
Expand Down Expand Up @@ -87,9 +87,10 @@
net_add.cell_response.plot_spikes_raster()

###############################################################################
# Adding a single inhibitory connection almost completely restored the normal
# spiking. As a final step, we can see how this change in spiking
# activity impacts the aggregate current dipole.
# Adding a single inhibitory connection didn't completely restored the normal
# spiking. However, layer 2 firing is interrupted at 70 and 120 ms.
# As a final step, we can see how this change in spiking activity impacts
# the aggregate current dipole.
import matplotlib.pyplot as plt
from hnn_core.viz import plot_dipole
fig, axes = plt.subplots(2, 1, sharex=True, figsize=(6, 6),
Expand Down

0 comments on commit 76d513c

Please sign in to comment.