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

2.3.1 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

image

name of image

allowed:

string

Default:

threshold

Threshold

allowed:

any

Default:

variant 0.0Jy

Returns
bool

Example

 
 
im.clipimage(image=’clean’, threshold=’50mJy’)  
 

__________________________________________________________________


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