|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
image.deconvolvecomponentlist - Function
1.1.1 Deconvolve a componentlist from the restoring beam
Description
This method deconvolves (a record representation of) a Componentlist tool
from the restoring beam, returning (a record representation of) a new
Componentlist tool. If there is no restoring beam, a fail is generated.
Currently, only deconvolution of Gaussian components is supported.
For images with per-plane beam, the user must choose which beam is used for the deconvolution by setting channel and/or polarization. Only a single beam is used to deconvolve all components.
See also functions setrestoringbeam and restoringbeam.
Arguments
Inputs |
| ||
complist |
| Componentlist to deconvolve
| |
| allowed: | record | |
| Default: | ||
channel |
| Zero-based channel number to use for beam for per plane
images. Not used if the image has a single beam.
| |
| allowed: | int |
|
| Default: | -1 |
|
polarization |
| Zero-based polarization number to use for beam for per
plane images. Not used if the image has a single beam.
| |
| allowed: | int |
|
| Default: | -1 |
|
record
Example
"""
#
print "\t----\t deconvolvecomponentlist Ex 1 \t----"
ia.maketestimage()
r = ia.fitcomponents()
cl1 = r[’results’] # cl1 and cl2 are record representations
r = ia.fitcomponents()
cl1 = r[’results’] # cl1 and cl2 are record representations
cl2 = ia.deconvolvecomponentlist(cl1) # of componentlists
print cl1, cl2
cl.fromrecord(cl2) # set componentlist tool with record
ia.close()
cl.close()
#
"""
__________________________________________________________________
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