| keytab | tables | keytab |
keytab -- Copy a header keyword to a table element.
keytab input keyword table column row
This task reads a header keyword from either an image or a table file and writes it to a table element (row and column position). If the data type of the header keyword differs from that of the table element, then the value is converted to the appropriate data type. If the keyword is not found in the header, the element will be set to the null value appropriate for the column type.
1. Copy the component name (i.e., the COMPNAME header keyword) from the table thruput.tab to the first row of the table graph.tab.
tt> keytab thruput.tab COMPNAME graph.tab COMPNAME 1
2. Copy the zero point of the second group (i.e., the CRVAL1 keyword) in the image file image.hhh to the first wavelength in the table spectrum.tab.
tt> keytab image.hhh[2] CRVAL1 spectrum.tab WAVELENGTH 1
This task was written by Bernie Simon.
keypar, parkey, partab, tabkey, tabpar