! @(#)qc.ctx 11.1.1.1 (ESO-IPG) 05/06/97 13:03:44 !=========================================================================== ! Copyright (C) 1995 European Southern Observatory (ESO) ! ! 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 Massachusetss Ave, Cambridge, ! MA 02139, USA. ! ! Corresponding concerning ESO-MIDAS should be addressed as follows: ! Internet e-mail: midas@eso.org ! Postal address: European Southern Observatory ! Data Management Division ! Karl-Schwarzschild-Strasse 2 ! D 85748 Garching bei Muenchen ! GERMANY !=========================================================================== ! ! +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ! ! Procedure qc.ctx P. Ballester 910111 ! ! Purpose : ! SET/CONTEXT qc ! Define standard quality control commands ! ! -------------------------------------------------------------- ! ! indicate origin of context !HELP = stdred ! DEFINE/LOCAL LERR/I/1/1 'ERROR(2)' !save current user level SET/MIDAS USER=EXPERT ! ! Commands for the wavelength calibration ! CREATE/COMMAND INITIALIZE/QC @s qcinit CREATE/COMMAND CREATE/QCTABLE @s qcreatab CREATE/COMMAND ADD/QCTABLE @s qcaddtab CREATE/COMMAND DELETE/QCTAB @s qcdeltab CREATE/COMMAND STATUS/QC @s qcstatus ! ! Flux Calibration Commands ! CREATE/COMMAND BIAS/QC @s qcbias CREATE/COMMAND DARK/QC @s qcdark CREATE/COMMAND FLAT/QC @s qcflatima !KB: flatima/ -> flat/ CREATE/COMMAND PHOTOM/QC @s qcphot CREATE/COMMAND PLOT/QC @s qcplot CREATE/COMMAND TRACK/QC @s qcplot,track ! CREATE/COMMAND SET/QC @a keyset CREATE/COMMAND HELP/QC @a keyhelp CREATE/COMMAND ERROR/QC @a keyerror CREATE/COMMAND SAVINIT/QC @a keyrdwr CREATE/COMMAND KEYDEL/QC @a keydel ! AUX_MODE(4) = 1 ! Copy all descriptors ERROR(2) = LERR ! ! Define a set of keywords for extended polynomial regression ! (Commands REGRESS/POLY and SAVE/REGR) ! WRITE/OUT *********** Context Quality Control enabled ***************** INITIAL/QC ! ! entry clear ! @a keydel ? qc return