NRAO Home > CASA > CASA Toolkit Reference Manual
sd.fitter.auto_fit - Function

5.1.4 Return a scan where the function is applied to all rows
Description

This method executes fitting for all rows in the current selection of the data. It returns a scan where the function is applied to all rows for all Beams/IFs/Pols. If any data is not set and/or fitting function is not specified, the function throws an exception.

Arguments





Inputs

insitu

Apply operation on the input scantable or not

allowed:

bool

Default:

None (use default setting defined in sd.rcParams)

plot

Plot and verify result or not

allowed:

bool

Default:

False





Returns
scantable

Example

   f=sd.fitter()  
   s=sd.scantable(’OrionS_rawACSmod_cal’,average=False)  
   f.set_scan(s)  
   f.set_function(poly=3)  
   s_bs=f.auto_fit()


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


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search