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.insertoffset - Function Up: imageprofilesupport - Tool Previous: imageprofilesupport.hasplotter - Function


imageprofilesupport.hasprofile - Function



Package general
Module images
Tool imageprofilesupport


Has a profile been set yet ?


Synopsis
hasprofile()


Returns
T or F



Description
This function returns T if a profile has been created and F otherwise.

The profile is considered to have been created after makeabcissa has been called. The profile is considered to have been destroyed when function setnoprofile has been called.



Example
- im := image('ngc1313.cube')              # Open image
- csys := im.coordsys()                    # Coordinate system
- shp := im.shape()                        # Shape of image
- p := imageprofilesupport(csys=csys, shp=shp, widgetset=dws)
- p.hasprofile()
F
- p.setprofileaxis(axis);
- p.makemenus()
- pos := csys.referencepixel()
- p.makeabcissa(pos)
- p.hasprofile()
T
- p.setnoprofile()
- p.hasprofile()
F




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