Moavg

From Pnb
Revision as of 10:56, 26 April 2010 by Eriks (talk | contribs) (→‎Overview)
Jump to navigation Jump to search

Overview

This function is called in the dspike script depending on certain conditions. The boxcar moving average moavg function is passed in the matrix of the specific file being despiked, the flag of .01 and a trend of 15 which are hard coded; the row, column, difference, and number of rows in the data to be processed. The flag is the max set difference between two values in the same column that's being despiked. If the difference is over .01 the moving average is taken over the flag 15 values.

Output is the calculated moving average of the passed in value.


Actual Mfile


AC9/ACS Mfiles