Differences

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

Link to this comparison view

reference:ft_spike_rate_orituning [2018/08/23 14:43] (current)
Line 1: Line 1:
 +=====  FT_SPIKE_RATE_ORITUNING =====
 +
 +Note that this reference documentation is identical to the help that is displayed in MATLAB when you type "help ft_spike_rate_orituning"​.
 +
 +<​html><​pre>​
 +  <a href=/​reference/​ft_spike_rate_orituning><​font color=green>​FT_SPIKE_RATE_ORITUNING</​font></​a>​ computes a model of the firing rate as a function
 +  of orientation or direction.
 + 
 +  Use as
 +    [stat] = ft_spike_rate_tuning(cfg,​ rate1, rate2, ... rateN)
 + 
 +  The inputs RATE should be the output from <a href=/​reference/​ft_spike_rate><​font color=green>​FT_SPIKE_RATE</​font></​a>​. ​
 + 
 +  Configurations:​
 +    cfg.stimuli ​ = should be an 1 x nConditions array of orientations or
 +                   ​directions in radians
 +                   ​varargin{i} corresponds to cfg.stimuli(i)
 +    cfg.method ​  = model to apply, implemented are '​orientation'​ and '​direction'​
 + 
 +  Outputs:
 +    stat.ang ​      = mean angle of orientation / direction (1 x nUnits)
 +    stat.osi ​      = orientation selectivity index (Womelsdorf et al., 2012,
 +                     ​PNAS),​ that is resultant length.
 +                     if cfg.method = '​orientation',​ then orientations are
 +                     first projected on the unit circle.
 +    stat.di ​       = direction index, 1 - min/max response
 +</​pre></​html>​