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

« back to all changes in this revision

Viewing changes to prim/help/center1dga.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
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
2
%.COPYRIGHT  (c)  1990-2007 European Southern Observatory
 
3
%.IDENT      centergaus.hlq
 
4
%.AUTHOR     KB, IPG/ESO
 
5
%.KEYWORDS   MIDAS, help files, CENTER/GAUSS
 
6
%.PURPOSE    On-line help file for the command: CENTER/GAUSS
 
7
%.VERSION    1.0  07-FEB-1990 : Creation, KB
 
8
%.VERSION    1.1  02-MAR-1992 : Update, KB
 
9
% 071019        last modif
 
10
%----------------------------------------------------------------
 
11
\se
 
12
SECTION./1DGA
 
13
\es\co
 
14
CENTER/1DGAUSS                                          19-OCT-2007  KB
 
15
\oc\su
 
16
CENTER/1DGAUSS [in_specs] [out_specs] [out_opt] [append_flag] 
 
17
        find intensity weighted center of 1dim frame
 
18
\us\pu
 
19
Purpose:  
 
20
          Compute the central position of the specified object of a
 
21
          1-dim frame by fitting a 1-dim Gaussian function.
 
22
\up\sub
 
23
Subject: 
 
24
          Position, fitting, centering.
 
25
\bus\sy
 
26
Syntax:  
 
27
          CENTER/1DGAUSS [in_specs] [out_specs] [out_opt] [append_flag]
 
28
\ys\pa
 
29
          in_specs = input specifications, either
 
30
             (a) GCURSOR - if the subimages are interactively chosen via the
 
31
                 graphic cursor, or
 
32
             (b) image,table - if the intervals are defined in a table in the
 
33
                 columns labeled :XSTART, :XEND, or :START and :END
 
34
\ap\pa
 
35
          out_specs = output specifications:
 
36
             (x) table name, may be same as given in in_specs
 
37
             (y) if same table, only the xcenter, xsigma, xfwhm, icent
 
38
                 will be stored in columns :XCEN, :XSIG, :XFWHM, :ICENT
 
39
                 if new table, then in addition to the columns explained
 
40
                 above, also the columns labeled :XSTART, :XEND,
 
41
             By default the values are displayed only on the terminal and
 
42
             stored in the keyword OUTPUTR which is filled as follows:
 
43
             xstart, xend, xcenter, xsigma, xfwhm, icent
 
44
\ap\pa
 
45
          out_opt = EMISSION, assumes emission lines, or
 
46
                    ABSORPTION, assumes absorption lines;
 
47
                    defaulted to EMISSION
 
48
\ap\pa
 
49
          append_flag = A, append data to a table  else create a new table;
 
50
                defaulted to NoAp
 
51
\ap\sa
 
52
See also:
 
53
          CENTER/GAUSS
 
54
\as\no
 
55
Note:  
 
56
          When using the graphic cursor option (a), the command needs
 
57
          two cursor positions defining the 1-dim interval to be used. 
 
58
          Any key can be used to input the cursor. Use  SPACE-BAR to exit.
 
59
             Also be aware the fitted will be done on the LAST plotted data.
 
60
          I.e. when addtional data is plotted using an overplot command
 
61
          the CENTER command will work on this overplotted data set.
 
62
\on\exs
 
63
Examples:
 
64
\ex
 
65
          CENTER/1DGAUSS spectr001,sources
 
66
             Use columns :XSTART, :XEND of `sources.tbl' to define the 
 
67
             intervals of 1-dim image spectr001.bdf; just display results.
 
68
\xe\ex
 
69
          CENTER/1DGAUSS spectr001,sources sources
 
70
             As above, but store results also in table `sources.tbl'.
 
71
\xe\ex
 
72
          CENTER/1DGAUSS GCURSOR cnt-table EMISSION
 
73
             Create table `cnt-table.tbl' with central positions of emission 
 
74
             lines of the plotted 1-dim frame; with intervals defined via
 
75
             the graphic cursor.
 
76
\xe\ex
 
77
          CENTER/1DGAUSS GCURSOR cnt-table EMISSION App
 
78
             As above but append data to the already existing table
 
79
             `cnt-table.tbl'.
 
80
\xe \sxe