- Timestamp:
- Aug 18, 2011, 11:37:11 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/meh_branches/ppstack_test/ppStack/src/ppStackConvolve.c
r31158 r32134 376 376 float median = numGood % 2 ? values->data.F32[numGood / 2] : 377 377 0.5 * (values->data.F32[numGood / 2 - 1] + values->data.F32[numGood / 2]); 378 379 float rms = 0.74 * (values->data.F32[numGood * 3 / 4] - 380 values->data.F32[numGood / 4]); // Estimated RMS from interquartile range 378 // MEH adding abs 379 float rms = 0.74 * fabsf(values->data.F32[numGood * 3 / 4] - 380 values->data.F32[numGood / 4]); // Estimated RMS from interquartile range 381 //float rms = 0.74 * (values->data.F32[numGood * 3 / 4] - 382 // values->data.F32[numGood / 4]); // Estimated RMS from interquartile range 381 383 psFree(values); 382 384
Note:
See TracChangeset
for help on using the changeset viewer.
