Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: imager.setsdoptions - Function Up: imager - Tool Previous: imager.setoptions - Function


imager.setscales - Function



Package synthesis
Module imager
Tool imager


Set the scale sizes for MultiScale Clean


Synopsis
setscales(scalemethod, nscales, uservector)


Description

The multiscale clean algorithm cleans an image on a number of different scales, decomposing the image into Gaussians of these scale sizes. This function allows the user to set the number of scales used (using the nscales method), or to directly control the sizes of the scales in pixels (using the uservector method). When using the nscales method, the scales are calculated using the following formula:

$\displaystyle \theta_{minor}^{}$10.0(i - Nscales/2)/2.0 (1.3)

where $ \theta_{min}^{}$ is the fitted minor axis of the clean beam. The first value is zero.



Arguments

scalemethod in Method by which scales are set
Allowed: String: 'nscales'|'uservector'
Default: nscales
nscales in Number of scales
Allowed: Int
Default: 5
uservector in Vector of scale sizes in pixels to use
Allowed: Vector of Doubles
Default: [0, 3, 10]


Returns
Bool


Example
- imgr.setscales(scalemethod='nscales', nscales=6);
Here we make six scales automatically using the method described above. Or we could manually choose the scales in pixel numbers as follows:
- imgr.setscales(scalemethod='uservector', uservector=[0,3,10,30]);

Note: 0 pixel is the delta function, so if one were to select scale 0 only it would be equivalent to a Hogbom clean.





next up previous contents index
Next: imager.setsdoptions - Function Up: imager - Tool Previous: imager.setoptions - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15