image.setboxregion - Function

1.1.1 Set a pixel box region of interest in the image
Description

Users should use rg.box() instead. The regionmanager wasn’t available when this method was created.

Arguments





Inputs

blc

Bottom-Left-Corner (beginning) of pixel section. Default is blc of image.

allowed:

doubleArray

Default:

-1

trc

Top-Right-Corner (end) of pixel section. Default is trc of image.

allowed:

doubleArray

Default:

-1

frac

Pixel or fractional coordinates

allowed:

bool

Default:

false

infile

Input image file name

allowed:

string

Default:

Returns
anyrecord

Example

Make region box of inner quarter of the image.

"""  
#  
print "\t----\t setboxregion Ex 1 \t----"  
ia.maketestimage()  
box = ia.setboxregion([0.25,0.25],[0.75,0.75],frac=true)  
ia.close()  
#  
"""

Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu

Copyright © 2008 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

Updated daily during alpha development.