beautypg.com

Round (round), Running average (runavg), Savitzky-golay filter (sgolayfilt) – Ocean Optics Ocean View Install User Manual

Page 97

background image

5: Schematic View

000-20000-310-02-201312

89

Round (Round)

Rounds the input data up or down to the nearest integer value.

Location: Bounds -->Round

Number of Inputs: 1

Type of Inputs: array or scalar

Type of Output: array or scalar

User Controls: N/A

Running Average (RunAvg)

Calculates and outputs a weighted running average of the input data.

Location: Time Series -->Running Average

Number of Inputs: 1

Type of Inputs: dynamic scalar

Type of Output: dynamic scalar

User Controls: Running average weight factor

Notes:

The weight factor adjusts how many of the most recent values will be averaged together before

data is displayed:

• A low weighting factor will show more short term fluctuations and will be less stable than a larger

weighting factor.

• A larger weighting factor may not accurately reflect the most recent changes in the input data.

Savitzky-Golay Filter (SGolayFilt)

Applies a Savitzky-Golay filter to smooth the input data.

Location: Advanced Math -->Filtering --> Savitzky-Golay Filter

Number of Inputs: 1

Type of Inputs: array

Type of Output: array