1
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2
%.COPYRIGHT (c) 1990-2007 European Southern Observatory
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
10
%----------------------------------------------------------------
14
CENTER/1DGAUSS 19-OCT-2007 KB
16
CENTER/1DGAUSS [in_specs] [out_specs] [out_opt] [append_flag]
17
find intensity weighted center of 1dim frame
20
Compute the central position of the specified object of a
21
1-dim frame by fitting a 1-dim Gaussian function.
24
Position, fitting, centering.
27
CENTER/1DGAUSS [in_specs] [out_specs] [out_opt] [append_flag]
29
in_specs = input specifications, either
30
(a) GCURSOR - if the subimages are interactively chosen via the
32
(b) image,table - if the intervals are defined in a table in the
33
columns labeled :XSTART, :XEND, or :START and :END
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
45
out_opt = EMISSION, assumes emission lines, or
46
ABSORPTION, assumes absorption lines;
49
append_flag = A, append data to a table else create a new table;
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.
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.
69
CENTER/1DGAUSS spectr001,sources sources
70
As above, but store results also in table `sources.tbl'.
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
77
CENTER/1DGAUSS GCURSOR cnt-table EMISSION App
78
As above but append data to the already existing table