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:animal [2018/10/21 15:06]
42.49.180.224 [Working with animal electrophysiology data]
getting_started:animal [2017/08/17 11:21] (current)
127.0.0.1 external edit
Line 6: Line 6:
  
 If you are only processing LFPs and no spikes, then the remainder of this page is not relevant for you. LFPs are processed in exactly the same way as EEG and MEG data, and the other tutorials should help you to get started. However, if you are analyzing spikes, or a combination of spikes with LFPs, then you should read on. If you are only processing LFPs and no spikes, then the remainder of this page is not relevant for you. LFPs are processed in exactly the same way as EEG and MEG data, and the other tutorials should help you to get started. However, if you are analyzing spikes, or a combination of spikes with LFPs, then you should read on.
 +
 ===== Representation of a data set ===== ===== Representation of a data set =====
  
Line 32: Line 33:
   - Reading spike data into memory is performed by the function **[[reference:​ft_read_spike|ft_read_spike]]**. This function takes the spike filename as an argument. In the function'​s output, spikes are identified by their timestamps. This function must be applied to every file that contains spike data. Once loaded into memory, multiple spike data sets can be appended by means of the function **[[:​reference:​ft_appendspike|ft_appendspike]]**. ​   - Reading spike data into memory is performed by the function **[[reference:​ft_read_spike|ft_read_spike]]**. This function takes the spike filename as an argument. In the function'​s output, spikes are identified by their timestamps. This function must be applied to every file that contains spike data. Once loaded into memory, multiple spike data sets can be appended by means of the function **[[:​reference:​ft_appendspike|ft_appendspike]]**. ​
   - Appending spike data to LFP data is also performed by the function **[[:​reference:​ft_appendspike|ft_appendspike]]**. An important point here is that, in the output, the spikes are no longer identified by their timestamps. Instead, spike channels are now stored as time series of zeros and ones with the same sampling frequency as the LFP channels. This format allows for joint analyses of spike and LFP data, such as spike-field coherence analyses and spike-triggered averages.   - Appending spike data to LFP data is also performed by the function **[[:​reference:​ft_appendspike|ft_appendspike]]**. An important point here is that, in the output, the spikes are no longer identified by their timestamps. Instead, spike channels are now stored as time series of zeros and ones with the same sampling frequency as the LFP channels. This format allows for joint analyses of spike and LFP data, such as spike-field coherence analyses and spike-triggered averages.
 +