[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master 1dca684 047/125: Minor corrections to Gnuastro
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master 1dca684 047/125: Minor corrections to Gnuastro plain text table format |
Date: |
Sun, 23 Apr 2017 22:36:34 -0400 (EDT) |
branch: master
commit 1dca6848df928c80da50583d4206304306159ba1
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>
Minor corrections to Gnuastro plain text table format
Some minor typos and clarifications were made to this section after a
re-read of the previous commit.
---
doc/gnuastro.texi | 27 ++++++++++++++-------------
1 file changed, 14 insertions(+), 13 deletions(-)
diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index 71bdda5..06da407 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -5268,14 +5268,14 @@ The following type codes are recognized in Gnuastro's
plain text tables:
string (how many characters it has). The start of the string on each row is
the first non-delimiter character of the column that has the string
type. The next @code{N} characters will be interpretted as a string and all
-trailing white space will be removed. If there is a new-line character (the
-string character is the last column, or we have reached the end of the
-line), then reading of the string will stop, even if the @code{N}
-characters are not complete yet. See @file{tests/table/table.txt} for one
-example.
+leading and trailing white space will be removed. If there is a new-line
+character (the string character is the last column, or we have reached the
+end of the line), then reading of the string will stop, even if the
address@hidden characters are not complete yet. See @file{tests/table/table.txt}
+for one example.
So the only time you have to pay attention to the positioning of the
-columns is when you have a string column immediately before another one. If
+columns is when you have a string column immediately before a column. If
the next column's characters, are closer than @code{N} characters, they
will be considered part of the string.
@@ -5298,15 +5298,16 @@ of the address@hidden|}'s.
@end itemize
-Note that the FITS standard does not define the @code{unsigned int} and
address@hidden long} types for its binary tables, so if you want to convert
-your tables to FITS binary tables, use other types. Also, note that in the
-FITS ASCII table, there is only one integer type (@code{long}). So if you
-convert a Gnuastro plain text table a FITS ASCII table with the @ref{Table}
+Note that the FITS binary table standard does not define the @code{unsigned
+int} and @code{unsigned long} types, so if you want to convert your tables
+to FITS binary tables, use other types. Also, note that in the FITS ASCII
+table, there is only one integer type (@code{long}). So if you convert a
+Gnuastro plain text table to a FITS ASCII table with the @ref{Table}
program, the type information for integers will be lost. Conversely if
integer types are important for you, you have to manually set them when
-reading a FITS ASCII table, for example with the Table program into a file,
-or with the @file{gnuastro/table.h} library functions into memory.
+reading a FITS ASCII table (for example with the Table program when
+reading/converting into a file, or with the @file{gnuastro/table.h} library
+functions when reading into memory).
- [gnuastro-commits] master 0ad0906 014/125: Bitwise operators available in arithmetic operations, (continued)
- [gnuastro-commits] master 0ad0906 014/125: Bitwise operators available in arithmetic operations, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 3ad83a4 010/125: data-arithmetic and data-copy separated from data.c, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 6c6382a 013/125: Use of function instead of macros for binary operators, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master ce73959 030/125: Reading FITS keywords into linked list not array, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master e0e8679 017/125: Removed `anyblank' from datastructure, several new operators, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 6d68470 033/125: Column info format for writing ASCII tables, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 0fd75fe 040/125: With no columns, Table program will print all columns, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 8090e6d 038/125: Corrections to FITS table reading, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 1156793 035/125: ASCII table information fully ready for selection, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 3c7773f 037/125: Table library prints ASCII columns with blanks, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 1dca684 047/125: Minor corrections to Gnuastro plain text table format,
Mohammad Akhlaghi <=
- [gnuastro-commits] master 620146e 028/125: Library function for writing columns to txt file, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 9ec7556 039/125: Table's output file type set common sense, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master de80e97 046/125: Further explanations on Gnuastro's plain text tables, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master a5a7c45 048/125: Correction in Gnuastro text table format, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 7b33afa 043/125: FITS ascii and binary table I/O done with tests, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master beeb995 055/125: Corrected options added for make check, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 0a1036f 025/125: Data structure with name, units, comments and status, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master e5373e0 034/125: Column info read from comments in ASCII tables, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master e8ddf69 058/125: Option description correction in mkprof, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 9bb47f3 051/125: New elements for argp_option for new option management, Mohammad Akhlaghi, 2017/04/23