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


next up previous contents index
Next: regionmanager.getselectcallback - Function Up: regionmanager - Tool Previous: regionmanager.fromtabletorecord - Function


regionmanager.fromtabletonakedrecord - Function



Package general
Module images
Tool regionmanager


Restore all regions from a Table to a naked record


Synopsis
fromtabletonakedrecord(tablename)


Arguments

tablename in The table
    Allowed: Image tool, table tool or String


Returns
Record or fail



Description

This function restores all the regions from an AIPS++ Table to a naked record. By that we mean that the regions themselves are exposed by conversion to a record (which you can always do with function torecord) and then all the region records are placed into a record themselves. The field names of the record are the names of the regions as stored in the Table.

For the tablename argument, you can specify an image tool, a table tool, or a string. If you give a string, it should be the name of an existing AIPS++ table on disk (any kind of table).

This function is not intended for general user use since you should not generally need to break the encapsulation of a region.



Example
- im := image('hcn')
- rec := drm.fromtabletonakedrecord(im)
- field_names(rec)
r1 r2 r3





next up previous contents index
Next: regionmanager.getselectcallback - Function Up: regionmanager - Tool Previous: regionmanager.fromtabletorecord - 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