; TABPUT ;--------------------------------------------------------------- ;! replaces table entry for specified row, column and subscript. ;# Verb Analysis Ext-appl ;----------------------------------------------------------------------- ;; Copyright (C) 1995, 2006, 2009 ;; Associated Universities, Inc. Washington DC, USA. ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as ;; published by the Free Software Foundation; either version 2 of ;; the License, or (at your option) any later version. ;; ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public ;; License along with this program; if not, write to the Free ;; Software Foundation, Inc., 675 Massachusetts Ave, Cambridge, ;; MA 02139, USA. ;; ;; Correspondence concerning AIPS should be addressed as follows: ;; Internet email: aipsmail@nrao.edu. ;; Postal address: AIPS Project Office ;; National Radio Astronomy Observatory ;; 520 Edgemont Road ;; Charlottesville, VA 22903-2475 USA ;----------------------------------------------------------------------- TABPUT LLLLLLLLLLLLUUUUUUUUUUUU CCCCCCCCCCCCCCCCCCCCCCCCCCCCC TABPUT: Verb to replace specified table entry INNAME Image name(name). INCLASS Image name(class). INSEQ 0.0 9999.0 Image name(seq. #). 0=>high INDISK 0.0 9.0 Disk drive #. 0=>any INEXT Table type. SPECIFY INVERS -1.0 46655.0 Table version #. 0 => highest. PIXXY 0.0 4096.0 (row, col, subscript) KEYVALUE Value of a numeric parm. = KEYVALUE(1) + KEYVALUE(2). KEYSTRNG Value of a character-valued parameter. DOHIST -10.0 6.0 < -1.5 => no history record ---------------------------------------------------------------- TABPUT Type: Verb Use: TABPUT inserts specified values into a table. Only a single numeric or logical (including bit arrays) can be entered at a time. The desired entry is specified by row number (PIXXY(1)), logical column number (PIXXY(2)) obtained from GETTHEAD or PRTAB and the subscript (PIXXY(3)) for values that are elements of arrays. Logical values are specified in KEYSTRNG as 'T' or 'F'. A value of KEYSTRNG='BLANKED' will cause the inserted value of a real or double precision value to be magic value blanked. If many table entries are to be modified then task TABED will be signifigantly faster. Adverbs (input): INNAME......Image name(name). Standard defaults. INCLASS.....Image name(class). Standard defaults. INSEQ.......Image name(seq. #). 0 => highest. INDISK......Disk drive # of image. 0 => any. INEXT.......Table type. No defaults. INVERS......Table version #. 0 => highest. PIXXY.......Row, column and subscript number of the desired entry. Adverbs (output): KEYVALUE....The value of a numeric parameter is specified as KEYVALUE(1) + KEYVALUE(2). THE second term will only be used for double precision values. KEYSTRNG....Character data or logical data are specified in KEYSTRNG. Logical values are 'T' or 'F'. a value of 'BLANKED' will cause a double precision or real value to be magic value blanked. DOHIST......If < -1.5, the transaction will not be recorded in the history file. Otherwise the previous and new pixel values and the pixel coordinates are put in the history file since this is a potentially important operation. ---------------------------------------------------------------- ----------------------------------------------------------------