MagicPlot Manual

Plotting and nonlinear fitting software

User Tools

Site Tools


spline

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
spline [Fri Feb 25 13:45:29 2011]
Alexander
spline [Thu Jan 14 17:12:42 2021] (current)
Alexander
Line 1: Line 1:
-====== Using Spline for Baseline Subtraction (Pro edition only) ======+====== Using Spline for Baseline Subtraction ======
 You can use cubic spline to subtract baseline on Fit Plot. To create spline curve click on ''Add'' button in ''Fit Curves'' tab of Fit Plot and select ''Spline'' menu item.  You can use cubic spline to subtract baseline on Fit Plot. To create spline curve click on ''Add'' button in ''Fit Curves'' tab of Fit Plot and select ''Spline'' menu item. 
  
Line 11: Line 11:
   * Double click on anchor point to remove it   * Double click on anchor point to remove it
  
-{{:spline1.png|Using spline for baseline fitting}}+Set ''Baseline'' checkbox in spline row in fit curves table to subtract spline from data. 
 + 
 +{{:spline1.png?nolink|Using spline for baseline fitting}}
  
 ===== Fitting with Spline ===== ===== Fitting with Spline =====
Line 19: Line 21:
 It is recommended to set appropriate fit intervals which contain only baseline without peaks. In such case ''Fit One Curve'' button is more acceptable than ''Fit by Sum'' button, because the individual interval for current curve will be used and the interval from ''Fit Interval'' tab (which is used to fit by sum of curves) is ignored. Select spline curve and set ''Edit Interval'' checkbox in the bottom of the panel to edit spline interval, then click on ''Fit One Curve'' button. The anchor point coordinates will be varied but the number of points will remain. You also can lock some parameters (usually //x// coordinates) by setting ''Lock'' checkboxes in parameters table.  It is recommended to set appropriate fit intervals which contain only baseline without peaks. In such case ''Fit One Curve'' button is more acceptable than ''Fit by Sum'' button, because the individual interval for current curve will be used and the interval from ''Fit Interval'' tab (which is used to fit by sum of curves) is ignored. Select spline curve and set ''Edit Interval'' checkbox in the bottom of the panel to edit spline interval, then click on ''Fit One Curve'' button. The anchor point coordinates will be varied but the number of points will remain. You also can lock some parameters (usually //x// coordinates) by setting ''Lock'' checkboxes in parameters table. 
  
-Set ''Baseline'' checkbox in spline row in curves table to subtract spline from data. +{{:spline2.png?nolink|Setting Fit Interval for spline curve}} {{:spline3.png?nolink|Spline subtraction result}}
- +
-{{:spline2.png|Setting Fit Interval for spline curve}} {{:spline3.png|Spline subtraction result}}+
  
 ===== See Also ===== ===== See Also =====
spline.1298630729.txt.gz · Last modified: Sun Nov 8 12:20:34 2015 (external edit)