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


next up previous contents index
Next: imageprofilesupport.getordinate - Function Up: imageprofilesupport - Tool Previous: imageprofilesupport.getisabs - Function


imageprofilesupport.getmask - Function



Package general
Module images
Tool imageprofilesupport


Recover the profile mask


Synopsis
getmask(which)


Arguments

which in ordinate index
    Allowed: Integer
    Default: 1


Returns
Vector of Bool



Description

This function recovers the mask for the specified profile. The mask (T for good pixels, F for bad pixels) is created for you by function makeordinate and created by you explicitly with function setordinate.

Masked pixels are not plotted.



Example
- im := image('ngc1313.cube')              
- csys := im.coordsys()                    
- shp := im.shape()                        
-
- p := imageprofilesupport(csys=csys, shp=shp, widgetset=dws)  
- p.setprofileaxis(axis);
- p.makemenus()
- pos := csys.referencepixel()             
- p.makeabcissa(pos)                       
- r := drm.box()                           
- idx := p.makeordinate (im, r)                   
- p.getmask(idx)
[T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T 
T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T]





next up previous contents index
Next: imageprofilesupport.getordinate - Function Up: imageprofilesupport - Tool Previous: imageprofilesupport.getisabs - 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