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


next up previous contents index
Next: regionmanager.isworldregion - Function Up: regionmanager - Tool Previous: regionmanager.intersection - Function


regionmanager.ispixelregion - Function



Package general
Module images
Tool regionmanager


Is this region a pixel region ?


Synopsis
ispixelregion(region)


Arguments

region in The region
    Allowed: Region tool


Returns
Bool



Description

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



Example
- im := image('hcn')
- cs := im.coordsys()
- r1 := drm.box()                   # A pixel region
- r2 := drm.wbox(csys=cs)           # A world region
- drm.ispixelregion(r1)
T
- drm.ispixelregion(r2)
F
- x := [20,30]
- drm.ispixelregion(x)
F





next up previous contents index
Next: regionmanager.isworldregion - Function Up: regionmanager - Tool Previous: regionmanager.intersection - 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-08-01