You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/modules/core.rst
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -310,12 +310,13 @@ Since these core extensions are important for all other extensions it is importa
310
310
and the time after (:code:`ms_after`) to ensure that you have a full waveform. Because waveforms occur on multiple channels with multiple
311
311
samples this can be a big data structure.
312
312
* :code:`templates` are calculated from the raw waveform data and are used for downstream analyses
313
-
(e.g. :code:`spike_amplitudes` are calculated based on the templates). This raises the question: if the :code:`templates` are what are used,
314
-
then why save the :code:`waveforms`? Well, there are two ways to obtain :code:`templates` data: 1) directly from the raw data (based on the
315
-
:code:`random_spikes`) or 2) from the :code:`waveforms`. When getting :code:`templates` from the raw data we are limited to obtaining averages
316
-
and standard deviations. If we calculate the templates from the waveforms, however, we can also calculate the templates as medians or percentiles
313
+
(e.g. :code:`spike_amplitudes` are calculated based on the templates). This raises the question: if the :code:`templates` are all we need,
314
+
then why compute and save the :code:`waveforms`? Well, there are two ways to obtain :code:`templates` data: 1) directly from the raw data (based on the
315
+
:code:`random_spikes`) or 2) from the :code:`waveforms` extension. When getting :code:`templates` from the raw data we are limited to obtaining averages
316
+
and standard deviations. If we calculate the templates from the waveforms, however, we can also calculate the template medians or percentiles
317
317
in addition to the average or standard deviations of the :code:`waveforms`. So it is important to think about the type of downstream analyses that
318
-
you may want to do in deciding whether to calculate :code:`templates` with :code:`random_spikes` or using :code:`waveforms`.
318
+
you may want to do in deciding whether to calculate :code:`templates` with :code:`random_spikes` or using :code:`waveforms`. Note that if the :code:`waveforms`
319
+
extension is available, :code:`templates` will be calculated from it (the :code:`ms_before` and :code:`ms_after` parameters are also inherited from the :code:`waveforms`).
319
320
* :code:`noise_levels` compute noise-levels in a channel-wise fashion. This provides important information about the specific recording session
320
321
and is important for some downstream quality analyses.
0 commit comments