|NRAO Home > CASA > CASA Toolkit Reference Manual||
sd.fitter.commit - Function
5.1.4 Return a new scan where the fits have been subtracted
Return a new scan where the fits have been subtracted. You must fit the data before you execute this method. Otherwise, an exception will be thrown.
If the data is set as a set of abcissa and ordinate values using set_data, it will not work. If you want to get data by this method, you must use set_scan that set the data as a scantable.
# you must set data as a scantable
# set polynomial function of order 3 for baseline subtraction
# do fit
# get baseline subtracted scans
More information about CASA may be found at the CASA web page
Copyright © 2016 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense