~ubuntu-branches/debian/jessie/eso-midas/jessie

« back to all changes in this revision

Viewing changes to stdred/echelle/help/merge_eche.hlq

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
% @(#)merge_eche.hlq    19.1 (ESO-IPG) 02/25/03 14:18:36 
 
2
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
3
%.COPYRIGHT  (c)  1990 European Southern Observatory
 
4
%.IDENT      merge_eche.hlq
 
5
%.AUTHOR     JDP, IPG/ESO
 
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
%----------------------------------------------------------------
 
11
\se
 
12
SECTION./ECHE
 
13
\es\co
 
14
MERGE/ECHELLE                                           05-OCT-1999 SW
 
15
\oc\su
 
16
MERGE/ECHELLE inframe outframe [params] [method]
 
17
        merge echelle orders
 
18
\us\pu
 
19
Purpose:    
 
20
            Produces a 1-D spectrum, from the order by order file generated
 
21
            by REBIN/ECHELLE.
 
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
 
32
                     input frame.
 
33
 
 
34
\up\sy
 
35
Syntax:     MERGE/ECHELLE inframe outframe [params] [method] [weights]
 
36
\ys\pa
 
37
            inframe  = input image, sampled in the space wavelength-order
 
38
                       Corresponds to a extracted and rebinned spectrum.
 
39
\ap\pa
 
40
            outframe = one dimensional spectrum, sampled in wavelengths.
 
41
                       Values in the overlapped region are computed
 
42
                       according to the method
 
43
\ap\pa
 
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).
 
50
\ap\pa
 
51
            method   = optional parameter to define the overlapping region
 
52
                       of the orders as:
 
53
                       NOAPPEND : get individual orders as 1D files.
 
54
                       AVERAGE  : merge all the orders into a 1D file.
 
55
                                  Default method.
 
56
                       OPTIMAL  : merge all the orders into a 1D file
 
57
                                  using weights specified by P5
 
58
                       Echelle keyword is MRGMTD. Default is AVERAGE
 
59
\ap\pa
 
60
            weight   = parameter to define the weights for the optimal
 
61
                       merging (only used with MRGMTD=OPTIMAL).
 
62
\ap\no
 
63
Note:       none
 
64
 
 
65
\on\exs
 
66
Examples:
 
67
\ex
 
68
            MERGE/ECHELLE extr1 spec1 3. AVERAGE
 
69
\xe\ex
 
70
            MERGE/ECHELLE extr1 spec_opt 5. OPTIMAL weights
 
71
\xe \sxe