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.getcurrentabcissa - Function Up: imageprofilesupport - Tool Previous: imageprofilesupport.done - Function


imageprofilesupport.getabcissa - Function



Package general
Module images
Tool imageprofilesupport


Recover the profile abcissa(s)


Synopsis
getabcissa(which)


Arguments

which in Abcissa index
    Allowed: Integer
    Default: 1


Returns
Record



Description
This function recovers a record holding the specified abcissa. There is only once abcissa unless you are in multi-abcissa mode (set at contruction time).

There are a variety of subfields such as 'pixel', 'nativeworld', and 'currentworld' which hold the abcissa in a variety of formats.



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.setprofileaxis(axis);
- p.makemenus()
- pos := csys.referencepixel()             # Position in image
- p.makeabcissa(pos)                       # Generate abcissa along profile axis
- abc := p.getabcissa()
- field_names(abc)
pixel nativeworld currentworld name nativeunit currentunit currentveltype currentabs





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