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

« back to all changes in this revision

Viewing changes to stdred/long/help/rebin_long.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
% @(#)rebin_long.hlq    19.1 (ESO-IPG) 02/25/03 14:24:06
 
2
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
3
%.COPYRIGHT  (c)  1993 European Southern Observatory
 
4
%.IDENT      rebin_long.hlq
 
5
%.AUTHOR     01-APR-93, IPG/ESO
 
6
%.KEYWORDS   MIDAS, help files, 
 
7
%.PURPOSE    On-line help file for the command: REBIN/LONG
 
8
%.VERSION    1.0  PB : Creation, 01-APR-93
 
9
%----------------------------------------------------------------
 
10
\se
 
11
SECTION./LONG
 
12
\es\co
 
13
REBIN/LONG                                         PB   30-OCT-95
 
14
\oc\su
 
15
REBIN/LONG  in  out   [start,end,step]  [mtd]  [table]
 
16
        Rebin a long-slit spectrum using the row-by-row method
 
17
\us\pu
 
18
Purpose:    
 
19
            Non linear rebinning of 2D long-slit spectra using the
 
20
            row-by-row method.
 
21
\up\sy
 
22
Syntax:     
 
23
            REBIN/LONG  in  out  [start,end,step]  [mtd]  [table]
 
24
\ys\pa
 
25
            in             = Input image.
 
26
\ap\pa
 
27
            out            = Output spectrum.
 
28
\ap\pa
 
29
            start,end,step = Starting, final and bin wavelength, in 
 
30
                             wavelength units. \\
 
31
                             Session keywords: REBSTRT, REBEND, REBSTP \\
 
32
                             Values initialised by CALIBRATE/LONG.
 
33
\ap\pa      
 
34
            mtd            = Rebinning method. (LINEAR, QUADRATIC, SPLINE). \\
 
35
                             Session keyword: REBMTD; default: LINEAR
 
36
\ap\pa      
 
37
            table          = coefficients table. \\
 
38
                             Session keyword: COERBR; default: coerbr.tbl
 
39
\ap\sa
 
40
See also: 
 
41
            CALIBRATE/LONG, RECTIFY/LONG
 
42
\as\no
 
43
Note:       
 
44
            1) Very strong variations of flux, like in bright emission lines
 
45
            or cosmics can yield to negative interpolated values with 
 
46
            methods QUADRATIC or SPLINE.
 
47
 
 
48
            2) The command CALIBRATE/LONG initializes the values of
 
49
            start, end and step wavelength. The step wavelength is set
 
50
            by default to the average dispersion per pixel. It must be
 
51
            noted that in order to respect the Nyquist criterion, step value
 
52
            should be half of the average dispersion per pixel, the rebinned
 
53
            spectra becoming about twice as large as the original
 
54
            spectrum.
 
55
 
 
56
\on\exs
 
57
Examples:
 
58
\ex
 
59
            REBIN/LONG  ccd0023  reb23
 
60
\xe \sxe
 
61
 
 
62