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

« back to all changes in this revision

Viewing changes to prim/help/copy_dkey.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 European Southern Observatory
 
3
%.IDENT      copy_dkey.hlq
 
4
%.AUTHOR     KB, IPG/ESO
 
5
%.KEYWORDS   MIDAS, help files, COPY/DK
 
6
%.PURPOSE    On-line help file for the command: COPY/DK
 
7
%.VERSION    1.0  14-MAR-1987 : Creation, KB
 
8
%----------------------------------------------------------------
 
9
\se
 
10
SECTION./DKEY
 
11
\es\co
 
12
COPY/DKEY                                       12-FEB-1998   KB
 
13
\oc\su
 
14
COPY/DKEY source_frame source_desc dest_key
 
15
        copy descriptor of source frame to keyword
 
16
\us\pu
 
17
Purpose:   
 
18
           copy descriptor of source frame (image or table) to keyword
 
19
\up\sy
 
20
Syntax:    
 
21
           COPY/DKEY source_frame source_desc dest_key
 
22
\ys\pa
 
23
           source_frame = name of source frame (image or table) 
 
24
\ap\pa
 
25
           source_desc = source descriptor
 
26
\ap\pa
 
27
           dest_key = name of destination keyword
 
28
\ap\no
 
29
Note:      
 
30
           If the destination keyword does not exist already, it is created
 
31
           with same type and (full) size as the source descriptor.
 
32
\\
 
33
           Default type of frames is an image, i.e. source_frame = lola
 
34
           will be interpreted as `lola.bdf', for tables you need always the
 
35
           file type as well in the name.
 
36
\\
 
37
           If only a few data values are copied, e.g. < 5 values, then it is
 
38
           more efficient to use the M$VALUE function to set the keyword to 
 
39
           the values of the descriptor.
 
40
\on\sa
 
41
See also:
 
42
           COPY/KD, COPY/DD, COPY/KEYWORD
 
43
\as\exs
 
44
Examples:
 
45
\ex
 
46
           COPY/DKEY tiburon ident/c/10/10 INPUTC
 
47
             Will copy the string in descriptor IDENT of frame `tiburon.bdf'
 
48
             (starting at the 10th element) to keyword INPUTC
 
49
             (starting in the beginning by default).
 
50
\xe \ex
 
51
           COPY/DKEY tiburon.tbl ident/c/10/10 INPUTC
 
52
             As above but table file `tiburon.tbl' is used.
 
53
\xe \sxe