User Tools

Site Tools


plotcurves

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
plotcurves [2010/06/19 23:19] – altered the example for bry's data jochenplotcurves [2010/06/21 03:12] – changed the post-proc filter to 0.2s (enough!) jochen
Line 24: Line 24:
  
 % this filters channel 1 into a new channel (10) % this filters channel 1 into a new channel (10)
-% all parameters are default, the post-filtering cut-off is set to 0.5s +% all parameters are default, the post-filtering cut-off is set to 0.2s 
-gsr.Filter(1, struct('dest', 10, 'post', 0.5));</code>+gsr.Filter(1, struct('dest', 10, 'post', 0.2));</code>
  
 ===== Function reference ('help plotcurves') ===== ===== Function reference ('help plotcurves') =====
Line 189: Line 189:
 % - onsets are coded in channel 8 (0Volts nothing, 5 Volts boxes) % - onsets are coded in channel 8 (0Volts nothing, 5 Volts boxes)
 % - cue onffset is 2 seconds % - cue onffset is 2 seconds
 +% - thus, the window is increased! [-4, 20]
 % - variables and spots as defined % - variables and spots as defined
 pcopts = struct( ... pcopts = struct( ...
Line 195: Line 196:
     'ochannel',  8, ...     'ochannel',  8, ...
     'cuediff',   2, ...     'cuediff',   2, ...
 +    'owin',      [-4, 20],...
     'var',       vars, ...     'var',       vars, ...
     'spot',      {spot}, ...     'spot',      {spot}, ...
plotcurves.txt · Last modified: 2011/05/27 15:54 by jochen