! @(#)neczebpar.prg 14.1.1.1 (ES0-DMD) 09/16/99 09:45:30 !! @(#)neczebpar.prg 14.1.1.1 (ESO) 09/16/99 09:45:30 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++ !.COPYRIGHT (C) 1992 European Southern Observatory !.IDENT zebpar.prg !.AUTHOR A.Yu.Kniazev SAO USSR !.KEYWORDS Spectroscopy, Echelle, Order detection !.PURPOSE - Pre analysis of the order reference frame ! execute the command : ! ANALYZE/ZEBRA FRAME COLUMN HALF PLOT ! where: ! FRAME - input image name ! COLUMN - the number of center column in input region ! HALF - the half of width in input region ! PLOT - plot or no the results of work !.VERSION 1.0 Creation 20.05.1992 !------------------------------------------------------- ! DEFINE/PARAM P1 {ORDREF} CHAR "Order Reference frame:" SET/ECHELLE ORDREF={P1} VERIFY/ECHELLE {P1} ! SET/FORMAT I1 ! check for plot IF P4(1:1) .EQ. "Y" THEN @ creifnot 1 ENDIF ! INPUTI(1) = IMSIZE(1)*ZEBCOL INPUTI(2) = IMSIZE(1)*ZEBWIND WRITE/KEYW IN_A {ORDREF} WRITE/KEYW INPUTC/C/1/1 {ZEBVISU} RUN STD_EXE:NECZEBPAR ZEBSLOPE = OUTPUTR(1) ZEBWIDTH = OUTPUTR(2) RETURN