NRAO Home > CASA > CASA Toolkit Reference Manual
regionmanager.ispixelregion - Function

1.1.2 Is this region a pixel region ?


Description

NOT IMPLEMENTED IN CASA

This function returns T if the region is a pixel region. For any other Glish variable it returns F.

Arguments





Inputs

region

The region

allowed:

record

Default:

Region tool

Returns
bool

Example

 
 
- ia.open(’hcn’)  
- csys = ia.coordsys()  
- r1 = rg.box()                          # A pixel region  
- r2 = rg.wbox(csys=csys.torecord())     # A world region  
- rg.ispixelregion(r1)  
T  
- rg.ispixelregion(r2)  
F  
- x = [20,30]  
- rg.ispixelregion(x)  
F  
 

__________________________________________________________________


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