File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ Each :class:`ChannelIndex` also contains the list of channels on which that neur
111111 block.channel_indexes.extend((chx0, chx1))
112112
113113
114- Using :class: `ChannelView ` and :class`Group`::
114+ Using :class: `ChannelView ` and :class: `Group `::
115115
116116 import numpy as np
117117 from quantities import ms, mV, kHz
@@ -136,7 +136,7 @@ Using :class:`ChannelView` and :class`Group`::
136136 # assign each spiketrain to a neuron (now using Group)
137137 units = []
138138 for i, spiketrain in enumerate(spiketrains):
139- unit = Group(spiketrain, name=f"Neuron #{i + 1}")
139+ unit = Group([ spiketrain] , name=f"Neuron #{i + 1}")
140140 units.append(unit)
141141
142142 # create a ChannelView of the signal for each unit, to show which channels the spikes come from
@@ -150,4 +150,4 @@ Using :class:`ChannelView` and :class`Group`::
150150
151151
152152Now each putative neuron is represented by a :class: `Group ` containing the spiktrains of that neuron
153- and a view of the signal selecting only those channels from which the spikes were obtained.
153+ and a view of the signal selecting only those channels from which the spikes were obtained.
You can’t perform that action at this time.
0 commit comments