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


next up previous contents index
Next: sditerator.getother - Function Up: sditerator - Tool Previous: sditerator.getheader - Function


sditerator.getheadervector - Function



Package dish
Module dish
Tool sditerator


Get a vector of values from the header record.


Synopsis
getheadervector(fieldNames)


Description
This allows you to get all of the values for any scalar fields in the header portion of an sdrecord in the sditerator with a single function call. This uses the getvectors function but is simpler to use if all of fields are from the header record. Here, you only give a vector of field names to extract from the sditerator. The returned value is a record where the field names are the requested fields.



Example
   vec := sdit.getheadervectors("scan_number source_name");
   scans := vec.scan_number;
   sources := vec.source_name;



Arguments

fieldNames in A vector of header fields to fetch.
    Allowed: string vector


Returns
record




next up previous contents index
Next: sditerator.getother - Function Up: sditerator - Tool Previous: sditerator.getheader - 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