Trace:

smoothing

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

smoothing [Tue Jun 4 00:39:43 2013] Alexander |
smoothing [Sun Nov 8 12:21:24 2015] |
||
---|---|---|---|

Line 1: | Line 1: | ||

- | ====== Smoothing (Pro edition only) ===== | ||

- | Open Table or Figure or Fit Plot with initial data and select ''Processing -> Smooth'' menu item. The opened processing dialog shows parameters, initial curves (semi-transparent) and smoothed preview. | ||

- | |||

- | {{:smoothing.png?nolink|Smoothing dialog}} | ||

- | |||

- | ===== Parameters ===== | ||

- | |||

- | ''Periodic'' checkbox applies on calculation of first and last //p/2// points. When it is set MagicPlot will take missing values from the opposite end (as if the signal is periodic) to calculate first and last //p/2// points. | ||

- | |||

- | ===== Algorithms ===== | ||

- | |||

- | Two algorithms are available: Central Moving Average and [[wp>Savitzky–Golay_smoothing_filter|Savitzky-Golay method]]. | ||

- | |||

- | ==== Central Moving Average ==== | ||

- | |||

- | Each value //A<sub>k</sub>// is replaced with //p//-points average: | ||

- | |||

- | <m>A_k = sum{i=k−{p{/}2}}{k+p{/}2}{a_i}</m>. | ||

- | |||

- | If ''Periodic'' checkbox is not set the first and last //p/2// points are calculated with the same symmetrical formula but with less summands. | ||

- | |||

- | ==== Savitzky-Golay Filter ==== | ||

- | |||

- | A Savitzky–Golay filter essentially performs a local polynomial regression on a series of equally spaced data points. Each data point value is replaced with local polynomial value at this point. | ||

- | |||

- | If ''Periodic'' checkbox is not set, MagicPlot will repeat the values of the first and last points to calculate a polynomial for the first and last //p/2// points. | ||

- | |||

- | ===== See Also ===== | ||

- | * [[processing]] | ||

- | |||

smoothing.txt · Last modified: Sun Nov 8 12:21:24 2015 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International