% @(#)rebin_mos.hlq 1.2 (ESO-DMD) 2/14/94 14:21:16 %++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ %.COPYRIGHT (c) 1994 European Southern Observatory %.IDENT rebin_mos.hlq %.AUTHOR SM, LSW %.KEYWORDS MIDAS, help files, REBIN/MOS %.PURPOSE On-line help file for the command: REBIN/MOS %.VERSION 1.0 09-SEP-1993 : Creation, SM %---------------------------------------------------------------- \se SECTION./MOS \es\co REBIN/MOS 09-SEP-1993 SM \oc\su REBIN/MOS in out [start,end,step] [method] [tabcoef] [tabmos] [ordy] rebin MOS frame to constant wavelength steps (2-dim) \us\pu Purpose: Rebins MOS frame to constant wavelength steps (2-dim) \up\sy Syntax: REBIN/MOS in out [start,end,step] [method] [tabcoef] [tabmos] [ordy] \ys\pa in = image to be rebinned out = rebinned image 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 of interpolation between pixels for rebinning (linear/quadratic) Session keyword: REBMTD Default value: linear tabcoef = table with dispersion coefficients Session keyword: LINFIT Default value: coerbr tabmos = table with slitlet positions Session keyword: MOS Default value: mos ordy = order of fit along y-axis between scanned rows Session keyword: WLCORD(2) Default value: 1 \ap\sa See also: SEARCH/MOS, REB1D/MOS, APPLY/MOS, CALIBRATE/MOS \as\no Note: This command rebins a 2-D MOS spectrum to equidistant wavelength steps using the dispersion relation stored in tabcoef.tbl. Only the areas within the slitlets stored in tabmos.tbl are rebinned. The gaps are left blank. The parameters for the result frame (REBSTRT, REBEND) should be chosen large enough (in wavelength space) to fit in the data from all slitlets. \on\exs Examples: \ex REBIN/MOS object rebobj 3000,9000,3 Takes the frame object.bdf and the dispersion coefficients stored in the table defined by keyword LINFIT. Rebins the complete frame within the slitlet limits defined by the table given by keyword MOS two-dimensionally to a constant wavelength step of 3 wavelength units (e.g. Angstroem) within 3000 to 9000 wavelength units (e.g. Angstroem) and stores the result in rebobj.bdf. The interpolation method between pixels is defined by keyword REBMTD and the order of interpolation along the y-axis is defined by keyword WLCORD(2). REBIN/MOS obj reb ? quadratic coef mostab 2 Takes the frame obj.bdf and the dispersion coefficients stored in coef.tbl. Rebins the complete frame within the slitlet limits defined by mostab.tbl two-dimensionally. The start and end value as well as the wavelength step for rebinning are defined by the keywords REBSTRT, REBEND, REBSTP. It takes a quadratic interpolation between the pixels along the dispersion axis as well as along the y-axis. The result is stored in reb.bdf. \xe \sxe