|  | |||
| NRAO Home > CASA > CASA Toolkit Reference Manual |  | ||
sd.scantable.resample - Function
5.1.2 Perform a binning
Description
Return a scan where all spectra have been binned up.
The method argument specifies interpolation method when correcting from a table. Values are ’nearest’, ’linear’, ’cubic’ (default), and ’spline’.
If insitu is True, or insitu is None and sd.rcParams[’insitu’] is True, the method will not return the result, but apply operation on this scantable.
Arguments
| Inputs | 
 | ||
| width | 
 | The bin width in pixels | |
| 
 | allowed: | integer | |
| 
 | Default: | 5 | |
| method | 
 | Interpolation method when correcting from a table | |
| 
 | allowed: | string | |
| 
 | Default: | ’cubic’ | |
| insitu | 
 | If False a new scantable is returned | |
| 
 | allowed: | bool | |
| 
 | Default: | None | |
scantable
Example
                                                                  
                                                                  
 
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 
	
		
	
 
