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

« back to all changes in this revision

Viewing changes to prim/help/copy_ti.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-2008 European Southern Observatory
 
3
%.IDENT      copy_ti.hlq
 
4
%.AUTHOR     JDP, IPG/ESO
 
5
%.KEYWORDS   MIDAS, help files, COPY/TI
 
6
%.PURPOSE    On-line help file for the command: COPY/TI
 
7
%.VERSION    1.0  02-JUNE-1986 : Creation, JDP
 
8
%----------------------------------------------------------------
 
9
\se
 
10
SECTION./TI
 
11
\es\co
 
12
COPY/TI                                                 7-APRIL-2008  JDP
 
13
\oc\su
 
14
COPY/TI intable outimage [column_name]
 
15
        copy table into image
 
16
\us\pu
 
17
Purpose:   
 
18
           Create a new image file from the input table. If no single
 
19
           column name is given, a 2dim image with NPIX(1) equal to
 
20
           the number of selected rows and NPIX(2) equal to the number of
 
21
           columns in the table.
 
22
           All columns in the table have to be of the same type,
 
23
           REAL*4 in the current version.
 
24
           If the table contains just a single column or a specific 
 
25
           column name is given, just that column is copied into a 1-dim image
 
26
           The null elements in the table will be set in the image to 
 
27
           the "null value" defined by the keyword NULL.
 
28
\up\sy
 
29
Syntax:    
 
30
           COPY/TI intable outimage [column_name]
 
31
\ys\pa
 
32
           intable  = the input table
 
33
\ap\pa
 
34
           outimage = the output image
 
35
\ap\pa
 
36
           column_name = optional column spec. (label or #);
 
37
                only that column is then copied
 
38
\ap\no
 
39
Note:      
 
40
           If SELECT/TABLE was used before to select a subtable from the input
 
41
           table, the new output image will have NPIX(1) equal to the number
 
42
           of selected rows. 
 
43
\on\sa
 
44
See also:
 
45
           COPY/IT
 
46
\as\exs
 
47
Examples:
 
48
\ex
 
49
           COPY/TI  intab outim
 
50
             Create from table `intab.tbl' an image `outim.bdf' with NPIX(1) 
 
51
             equal to the number of selected rows and NPIX(2) equal to the 
 
52
             number of columns of `intab.tbl'.
 
53
\xe \ex
 
54
           COPY/TI  carro troca :tanque
 
55
             Create from column :tanque (real data) of table `carro.tbl' a 
 
56
             1-dim image `troca.bdf' with NPIX(1) equal to the number of 
 
57
             selected rows of `caro.tbl'. 
 
58
             The table may have other (also char. data) columns.
 
59
\xe \sxe
 
60