1
% @(#)merge_eche.hlq 19.1 (ESO-IPG) 02/25/03 14:18:36
2
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3
%.COPYRIGHT (c) 1990 European Southern Observatory
6
%.KEYWORDS MIDAS, help files, MERGE/ECHELLE
7
%.PURPOSE On-line help file for the command: MERGE/ECHELLE
8
%.VERSION 1.0 17-DEC-1986 : Creation, JDP
9
% 1.1 05-OCT-1999 : optimal merging (SW)
10
%----------------------------------------------------------------
14
MERGE/ECHELLE 05-OCT-1999 SW
16
MERGE/ECHELLE inframe outframe [params] [method]
20
Produces a 1-D spectrum, from the order by order file generated
22
Two methods are available:
23
NOAPPEND individual orders are separated in 1D files
24
AVERAGE the orders are merged into a 1D file, the algorithm
25
computes a weighted average in the overlapping region
26
of adjacent orders. The normalized weight is a linear
27
ramp between 0 and 1 in the overlapping region.
28
OPTIMAL the orders are merged into a 1D file, the algorithm
29
computes a weighted average in the overlapping region
30
of adjacent orders. Specify the weights to be used by
31
P5 which have to have the same START and STEP as the
35
Syntax: MERGE/ECHELLE inframe outframe [params] [method] [weights]
37
inframe = input image, sampled in the space wavelength-order
38
Corresponds to a extracted and rebinned spectrum.
40
outframe = one dimensional spectrum, sampled in wavelengths.
41
Values in the overlapped region are computed
42
according to the method
44
params = method NOAPPEND : order numbers (ord1,ord2).
45
method AVERAGE : wavelength interval to be skipped
46
at both edges of the overlapping
47
region. Default is 3 Angstroem.
48
Echelle keywords are DELTA (if MRGMTD=AVERAGE) or
49
MRGORD (if MRGMTD=NOAPPEND).
51
method = optional parameter to define the overlapping region
53
NOAPPEND : get individual orders as 1D files.
54
AVERAGE : merge all the orders into a 1D file.
56
OPTIMAL : merge all the orders into a 1D file
57
using weights specified by P5
58
Echelle keyword is MRGMTD. Default is AVERAGE
60
weight = parameter to define the weights for the optimal
61
merging (only used with MRGMTD=OPTIMAL).
68
MERGE/ECHELLE extr1 spec1 3. AVERAGE
70
MERGE/ECHELLE extr1 spec_opt 5. OPTIMAL weights