% @(#)modifycolu.hlq 17.1.1.1 (ESO-IPG) 01/25/02 17:43:44 %++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ %.COPYRIGHT (c) 1990 European Southern Observatory %.IDENT modifycolu.hlq %.AUTHOR KB, IPG/ESO %.KEYWORDS MIDAS, help files, MODIFY/COLUMN %.PURPOSE On-line help file for the command: MODIFY/COLUMN %.VERSION 1.0 17-OCT-1983 : Creation, KB %---------------------------------------------------------------- \se SECTION./COLU \es\co MODIFY/COLUMN 09-APR-1998 KB \oc\su MODIFY/COLUMN source_def res_frame [col_type] [column_coords] approximate values in a column \us\pu Purpose: Modify the pixels of one or two adjacent columns of an image by using the two columns to the left + the two columns to the right as "good" pixels. \up\sy Syntax: MODIFY/COLUMN source_def res_frame [col_type] [column_coords] \ys\pa source_def = defines how the columns will be defined: \\ (a) = inframe - use image inframe and param. `column_coords' to define columns which are to be modified; \\ (b) = inframe,intab,collab - use image inframe and the column labeled collab of table intab to define the column_coords \\ if only inframe,intab is given a column labeled :X is used; \\ defaulted to currently displayed image \ap\pa res_frame = output file; defaulted to: result.bdf \ap\pa col_type = type (1 char.) of column defect; \\ C (constant) if column values just have additional constant offset and are otherwise correct, e.g. low-sensitivity columns of CCDs, the adjacent columns are used to determine the correct offset; \\ V (variable) if column values are corrupted, e.g. saturated columns, the new column values are obtained by approximation with a least-squares, second order polynomial using the adjacent columns; \\ defaulted to C \ap\pa column_coords = x-coordinates of columns, if two adjacent columns are to be worked on, coordinates of both have to be entered (only used when no table involved) \ap\sa See also: MODIFY/ROW, MODIFY/PIXEL, MODIFY/AREA \as\no Note: The column_coords (x-coordinates) on the command line may either be given as world-coordinates or as pixel nos. preceded by the character "@". \\ The column_coords (x-coordinates) taken from a table must be stored as world-coordinates. \\ For parameter `col_type' any character other than 'C' is interpreted as 'V'. \on\exs Examples: \ex MODIFY/COLUMN gordo flaco V 53.,@100 Approximate the column with x=53 and column no. 100 of frame `gordo.bdf' and store result into frame `flaco.bdf'. The given columns hold no useful data. \\ If xworld-coord 53.0 indicates the 99th column, both adjacent columns are replaced in one go, otherwise each of the two columns is corrected individually. \xe\ex MODIFY/COLUMN gordo,feo flaco C Approximate the columns of frame `gordo.bdf' with x-coordinates of the columns to be modified stored in the column labelled :X in table `feo.tbl'. Store result in frame `flaco.bdf'. The given columns hold useful data with an unknown constant offset. \xe\ex MODIFY/COLUMN gordo,feo,:x_coord flaco As above but use column labeled :X_COORD of table `feo.tbl'. \xe\sxe