@@ -74,7 +74,7 @@ def _check_time_in_range(value, t_start, t_stop, view=False) -> None:
7474 * If t_stop < t_start
7575 * value.min() < t_start
7676 * value.max() > t_start
77-
77+
7878 Returns
7979 -------
8080 None: If check passes
@@ -106,7 +106,7 @@ def _check_waveform_dimensions(spiketrain) -> None:
106106 ----------
107107 spiketrain: neo.core.SpikeTrain
108108 The neo.core.SpikeTrain to check for waveforms
109-
109+
110110 Raises
111111 ------
112112 ValueError
@@ -238,10 +238,10 @@ class SpikeTrain(DataObject):
238238 ----------
239239 times: quantity array 1D | numpy array 1D | list
240240 The times of each spike.
241- t_stop: quantity scalar | numpy scalar |float
241+ t_stop: quantity scalar | numpy scalar |float
242242 Time at which the SpikeTrain ended. This will be converted to thesame units as `times`.
243243 This argument is required because it specifies the period of time over which spikes could have occurred.
244- Note that :attr:`t_start` is highly recommended for the same reason.
244+ Note that :attr:`t_start` is highly recommended for the same reason.
245245 units: (quantity units) | None, default: None
246246 Required if `times` is a list or numpy.ndarray`
247247 Not required if times is a quantities.Quantity
@@ -266,7 +266,7 @@ class SpikeTrain(DataObject):
266266 A text description of this dataset
267267 file_origin: str | Filesystem path | URL | None, default: None
268268 The path or location of the original data file.
269- array_annotations: dict
269+ array_annotations: dict
270270 A dictonary mapping of strings to numpy arrays containing annotations for all data points
271271 **annotations: dict
272272 Other user defined metadata given as a dict
@@ -279,7 +279,7 @@ class SpikeTrain(DataObject):
279279 Interval between two samples (1/`sampling_rate`)
280280 * duration: quantity scalar
281281 Duration over which spikes can occur read-only (`t_stop` - `t_start`)
282- * spike_duration: quantity scalar
282+ * spike_duration: quantity scalar
283283 Duration of a waveform, read-only (`waveform`.shape[2] * `sampling_period`)
284284 * right_sweep: quantity scalar
285285 Time from the trigger times of the spikes to the end of the waveforms, read-only
@@ -293,7 +293,7 @@ class SpikeTrain(DataObject):
293293 metadata, except that :attr:`waveforms` is also sliced in the same way
294294 (along dimension 0). Note that t_start and t_stop are not changed
295295 automatically, although you can still manually change them.
296-
296+
297297 Examples
298298 --------
299299
@@ -311,7 +311,7 @@ class SpikeTrain(DataObject):
311311 <SpikeTrain(array([ 3., 4., 5.]) * s, [0.0 s, 10.0 s])>
312312 >>> train2
313313 <SpikeTrain(array([ 4., 5.]) * s, [0.0 s, 10.0 s])>
314-
314+
315315 """
316316
317317 _parent_objects = ("Segment" ,)
0 commit comments