User Tools

Site Tools


gsr_data_analysis

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
gsr_data_analysis [2010/06/18 21:17] – changing the syntax of prefilter to xff method (obj.Filter) jochengsr_data_analysis [2010/06/18 21:19] – removed rounding of onsets, need to resample is gone! jochen
Line 94: Line 94:
 neu = all_onsets(gsr.RawData(2, all_onsets) > 0); neu = all_onsets(gsr.RawData(2, all_onsets) > 0);
 neg = all_onsets(gsr.RawData(3, all_onsets) > 0); neg = all_onsets(gsr.RawData(3, all_onsets) > 0);
-rea = all_onsets(gsr.RawData(4, all_onsets) > 0); +rea = all_onsets(gsr.RawData(4, all_onsets) > 0);</code>
- +
-% cope for resampling from 500Hz -> 100Hz !! +
-neu = round(0.2 .* neu); +
-neg = round(0.2 .* neg); +
-rea = round(0.2 .* rea);</code>+
  
 As window length for the inspection of the GSR data, we choose 15 seconds, so in the resolution of the resampled data that means 1,500 samples. As window length for the inspection of the GSR data, we choose 15 seconds, so in the resolution of the resampled data that means 1,500 samples.
gsr_data_analysis.txt · Last modified: 2010/06/18 23:22 by jochen