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


next up previous contents index
Next: image.open - Function Up: image - Tool Previous: image.momentsgui - Function


image.name - Function



Package general
Module images
Tool image


Name of the image file this tool is attached to


Synopsis
name(strippath)


Arguments

strippath in Strip off the path before the actual file name ?
    Allowed: Bool
    Default: False


Returns
String or fail



Description

This function returns the name of the image file By default, this function returns the full absolute path of the image file. You can strip this path off if you wish with the strippath argument and just recover the image file name itself.



Example
- im := image('g1.app')
- im.name(strippath=F)
/DATA/ELARA_1/aips++/data/g1.app
- im.name(strippath=T)
g1.app





next up previous contents index
Next: image.open - Function Up: image - Tool Previous: image.momentsgui - 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