"Fossies" - the Fresh Open Source Software Archive

Member "gnuastro-0.9/tests/table/table.txt" (11 Apr 2019, 2921 Bytes) of package /linux/privat/gnuastro-0.9.tar.lz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "table.txt": 0.8_vs_0.9.

    1 # A single table to test the reading and writing functions.
    2 #
    3 #  - It contains all the types.
    4 #  - String columns, names, and units have space characters.
    5 #  - Blank values in all the columns.
    6 #  - Empty lines (not comment or data.
    7 #  - Column information comments are not in the same order as data.
    8 #  - A column with no information.
    9 #  - Columns with missing information
   10 #  - Some blank values different from the internal blank values.
   11 
   12 # Column 10: DOUBLE      [no units, f64, 255]  Column with double values
   13 
   14 # Column 1:  UINT8_DATA  [no units, u8, 5]  Column with unsigned char values
   15 # Column 2:  INT8        [no-units, i8] Column with char values
   16 # Column 3:  STRING data [, str21, no data]          Column with string values
   17 # Column 4:  UINT16 data [,u16] Column with unsigned short values
   18 # Column 5:  INT16       [no units, i16]  Column with short values
   19 # Column 7:  INT32        [no units, i32]  Column with long values
   20 # Column 8: INT64  [no units, i64]  Another column of long values
   21 # Column 9: FLOAT32       [no units, f32,-99]  Column with float values
   22 
   23 # Column 6:  UINT32 [,u32]
   24 
   25 
   26 # IMPORTANT NOTE FOR FITS ASCII tables: CFITSIO will give its error
   27 # 412 (data type conversion overflow) when the number cannot be
   28 # printed in the provided space (with full precision). So make sure
   29 # that the full-integer part of the number has less characters than
   30 # the `width - precision - 1' (when everything is default, you can get
   31 # these values from `lib/gnuastro/table.h').
   32 
   33 # Copyright (C) 2015-2019 Free Software Foundation, Inc.
   34 #
   35 # Copying and distribution of this file, with or without modification, are
   36 # permitted in any medium without royalty provided the copyright notice and
   37 # this notice are preserved.  This file is offered as-is, without any
   38 # warranty.
   39 
   40 1    -1    The vertical lines     3455  -3455  1  -1   9     1874.103872  8.391334343995    1
   41 2    -2    are only for easy      3466      -3466  2  -2   10    123.93373    893.3497e5        2
   42 3    -3    visual identification  3467 -3467  3  -3   12    -0.737648    nan               3
   43 4    -4    of the limits of this  3468  -3468  4  -4   800   78.983       8.2328438e8       4
   44 5    -5    |string column.     |  3469       -3469  5  -5   8923  -99       -7.32384e4        5
   45 6    -6    |characters beyond  |  20821  -20821  6  -6   9823  -99     nan               6
   46 7    -7    the last one will be   20822  -20822  7  -7   7232  9999   8.3343e-5         7
   47 8    -8    read as a number.     20823  -20823  8  -8   921   2.3     934892734.82      8
   48 9    -9    With@Some#!STRANGE@    60983  -25722  9  -9   8127  -99          3474924.489252    9
   49 10  -10    Characters%^&*()~           62182  -30100 10  -10  8287  7.3e-4       -3467.3432e5      10
   50 11  -12 no data                65500  -32700 11  -11  999    8.73E2       nan               11
   51 255 -12             -- Last Line :-) --    65501  -32701 12  -12  8282  892.23       8975.3653      12