NRAO Home > CASA > CASA Toolkit Reference Manual
deconvolver.clipimage - Function

3.1.2 Zero all pixels where Stokes I is below a threshold


Description

All pixels in the image with Stokes I less than some threshold are set to zero. This is useful prior to self-calibration where one oftens wishes to remove negative pixels from the model. Note that if the image has polarization information, then the polarized part of a pixel is also set to zero if Stokes I is less than the threshold.

Arguments





Inputs

clippedimage

name of clipped image

allowed:

string

Default:

inputimage

name of input image

allowed:

string

Default:

threshold

Threshold

allowed:

any

Default:

variant 0.0Jy

Returns
bool

Example

 
 
dc.clipimage(image=’clean’, threshold=’50mJy’)  
###the ft that model into an MS and do gaincal for e.g  
 

__________________________________________________________________


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