%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ %.COPYRIGHT (c) 1990 European Southern Observatory %.IDENT reb1dmos.hlq %.AUTHOR SM, LSW %.KEYWORDS MIDAS, help files, REB1D/MOS %.PURPOSE On-line help file for the command: REB1D/MOS %.VERSION 1.0 09-SEP-1993 : Creation, SM %---------------------------------------------------------------- \se SECTION./MOS \es\co REB1D/MOS 17-JAN-1994 OS \oc\su REB1D/MOS in out [start,end,step] [method] [tabcoef] rebin extracted MOS data to constant wavelength steps \us\pu Purpose: Rebins extracted MOS frame to constant wavelength steps \up\sy Syntax: REB1D/MOS in out [start,end,step] [method] [tabcoef] \ys\pa in = image to be rebinned out = rebinned image (root name) start = start value for rebinning Session keyword: REBSTRT Default value: 0 end = end value for rebinning Session keyword: REBEND Default value: 0 step = step value for rebinning Session keyword: REBSTP Default value: 0 method = method for rebinning (linear/quadratic) Session keyword: REBMTD Default value: linear tabcoef = table with dispersion coefficients Session keyword: LINFIT Default value: coerbr \ap\sa See also: REBIN/MOS, EXTRACT/MOS, APPLY/MOS \as\no Note: This command rebins the spectra extracted with EXTRACT/MOS to equidistant wavelength steps. For each line in the input image one output frame is created. The output frames are numbered sequentially. \on\exs Examples: \ex REB1D/MOS extobj ext 4000,7000,5 lin coerbr Takes the extracted spectra stored in extobj.bdf and the dispersion coefficients stored in coerbr.tbl. Rebins each spectrum to a constant wavelength step of 5 wavelength units (e.g. Angstroem) within 4000 to 7000 wavelength units (e.g. Angstroem) and stores it in a frame ext####.bdf, where #### is the sequential number of the spectrum (e.g. 0001, 0002, etc.). The interpolation between pixels along the dispersion axis is linear. REB1D/MOS exobj reb ? quadratic Takes the extracted spectra stored in exobj.bdf and the dispersion coefficients stored in the table defined by keyword LINFIT. Rebins each spectrum to a constant wavelength step defined by keyword REBSTP within the range defined by keywords REBSTRT and REBEND. The result is stored in a frame reb####.bdf, where #### is the sequential number of the spectrum (e.g. 0001, 0002, etc.). The interpolation between pixels along the dispersion axis is quadratic. \xe \sxe