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.setyrangecallback - Function Up: imageprofilesupport - Tool Previous: imageprofilesupport.setordinateunit - Function


imageprofilesupport.setspectralref - Function



Package general
Module images
Tool imageprofilesupport


Set new Spectral reference


Synopsis
setspectralref(value)


Arguments

value in The new spectral reference label
    Allowed: String



Returns
T, F or fail



Description

This function lets you set the spectral reference directly (rather than selecting the menu item interactively). When you do so, a spectralrefchange event is emitted. Returns F if string is invalid.



Example
- im := image('ngc1313.cube')             
- csys := im.coordsys()                   
- shp := im.shape()                       
- p := imageprofilesupport(csys=csys, shp=shp, widgetset=dws)
- p.setprofileaxis(axis);
- p.makemenus()
- p.setspectralref ('TOPO')




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