MagicPlot Manual

Plotting and nonlinear fitting software

User Tools

Site Tools


smoothing

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
smoothing [Thu May 30 00:27:47 2013]
Alexander
smoothing [Thu Jan 14 17:13:38 2021] (current)
Alexander
Line 1: Line 1:
-====== Smoothing (Pro edition only) ===== +====== Smoothing ===== 
-Open Table or Figure or Fit Plot with initial data and select ''Processing -> Smooth'' menu item.+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}} {{: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 ===== ===== Algorithms =====
  
-Two algorithms are available: Moving Average and [[wp>Savitzky–Golay_smoothing_filter|Savitzky-Golay method]].+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 = 1/p 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.1369859267.txt.gz · Last modified: Sun Nov 8 12:20:34 2015 (external edit)