Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
getting_started:plexon [2018/10/21 15:06]
42.49.180.224 [Reading spike data from a *.nex file]
getting_started:plexon [2017/08/17 11:21] (current)
127.0.0.1 external edit
Line 78: Line 78:
 To read the spike data, you should use the **[[reference:​ft_read_spike]]** function. Since spikes take very little memory, all spikes in all spike channels will be read at once. To read the spike data, you should use the **[[reference:​ft_read_spike]]** function. Since spikes take very little memory, all spikes in all spike channels will be read at once.
  
-&lt;code&gt; +<code> 
-&​gt;&​gt; ​spike = ft_read_spike('​p021parall.nex'​)+>> ​spike = ft_read_spike('​p021parall.nex'​)
  
 spike =  spike = 
Line 87: Line 87:
     timestamp: {1x4 cell}     timestamp: {1x4 cell}
           hdr: [1x1 struct]           hdr: [1x1 struct]
-&lt;/code&gt;+</code>
  
 If you have read the continuous data using the standard FieldTrip **[[reference:​ft_preprocessing|ft_preprocessing]]** function, you can subsequently use the **[[reference:​ft_appendspike|ft_appendspike]]** function to add the spike channels to the continuous LFP data. Once the LFP and spike data are represented in the same datastructure,​ you can for example compute field-field,​ field-spike and spike-spike coherence using **[[reference:​ft_freqanalysis|ft_freqanalysis]]**. If you have read the continuous data using the standard FieldTrip **[[reference:​ft_preprocessing|ft_preprocessing]]** function, you can subsequently use the **[[reference:​ft_appendspike|ft_appendspike]]** function to add the spike channels to the continuous LFP data. Once the LFP and spike data are represented in the same datastructure,​ you can for example compute field-field,​ field-spike and spike-spike coherence using **[[reference:​ft_freqanalysis|ft_freqanalysis]]**.
 +
 ===== Reading continuous or spike data from a *.plx file ===== ===== Reading continuous or spike data from a *.plx file =====
  
Line 107: Line 108:
   * http://​www.plexoninc.com   * http://​www.plexoninc.com
   * http://​www.neuroexplorer.com   * http://​www.neuroexplorer.com
 +