.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.49.2.
.TH TABLE "1" "October 2022" "GNU Astronomy Utilities 0.19" "User Commands"
.SH NAME
Table \- read and write ASCII and FITS tables
.SH SYNOPSIS
.B asttable
[\fI\,OPTION\/\fR...] \fI\,ASTRdata\/\fR
.SH DESCRIPTION
Table is part of GNU Astronomy Utilities 0.19.
Table can be used to view the information, select columns, or convert tables.
The inputs and outputs can be plain text (with white\-space or comma as
delimiters), FITS ascii, or FITS binary tables. The output columns can either
be selected by number (counting from 1), name or using regular expressions. For
regular expressions, enclose the value to the '\-\-column' ('\-c') option in
slashes ('\e', as in '\-c\e^mag\e'). To print the selected columns on the
command\-line, don't specify an output file.
.PP
For more information, please run any of the following commands. In particular
the second contains a very comprehensive explanation of Table's invocation:
expected input(s), output(s), and a full description of all the options.
.TP
All options and their values:
$ asttable \fB\-P\fR
.TP
Inputs/Outputs and options:
$ info asttable
.TP
Full section in manual/book:
$ info Table
.TP
Full Gnuastro manual/book:
$ info gnuastro
.PP
If you couldn't find your answer in the manual, you can get direct help from
experienced Gnuastro users and developers. For more information, please run:
.IP
\f(CW$ info help-gnuastro\fR
.PP
Table options:
.IP
Input:
.TP
\fB\-b\fR, \fB\-\-noblank\fR=\fI\,STR[\/\fR,STR]
Remove rows with blank in given columns.
.TP
\fB\-c\fR, \fB\-\-column\fR=\fI\,STR\/\fR
Column number (counting from 1) or search string.
.TP
\fB\-C\fR, \fB\-\-catcolumns\fR=\fI\,STR\/\fR
Columns to use in \fB\-\-catcolumnfile\fR.
.HP
\fB\-E\fR, \fB\-\-noblankend\fR=\fI\,STR[\/\fR,STR] Sim. to \fB\-\-noblank\fR, at end (e.g., after arith.).
.TP
\fB\-h\fR, \fB\-\-hdu\fR=\fI\,STR\/\fR/INT
Extension name or number of input data.
.TP
\fB\-\-inpolygon\fR=\fI\,STR\/\fR,STR
Coord. columns that are inside '\-\-polygon'.
.TP
\fB\-I\fR, \fB\-\-ignorecase\fR
Ignore case in matching/searching columns.
.TP
\fB\-L\fR, \fB\-\-catcolumnfile\fR=\fI\,FITS\/\fR/TXT
File(s) to be concatenated by column.
.TP
\fB\-\-outpolygon\fR=\fI\,STR\/\fR,STR
Coord. columns that are outside '\-\-polygon'.
.TP
\fB\-R\fR, \fB\-\-catrowfile\fR=\fI\,FITS\/\fR/TXT
File(s) to be concatenated by row.
.TP
\fB\-\-searchin\fR=\fI\,STR\/\fR
Select column(s): 'name', 'unit', 'comment'.
.TP
\fB\-\-stdintimeout\fR=\fI\,INT\/\fR
Micro\-seconds to wait for standard input.
.HP
\fB\-u\fR, \fB\-\-catcolumnhdu\fR=\fI\,STR\/\fR/INT HDU/Extension(s) in catcolumnfile.
.TP
\fB\-w\fR, \fB\-\-wcsfile\fR=\fI\,FITS\/\fR
File with WCS if conversion is requested.
.TP
\fB\-W\fR, \fB\-\-wcshdu\fR=\fI\,STR\/\fR
HDU in file with WCS for conversion.
.TP
\fB\-X\fR, \fB\-\-catrowhdu\fR=\fI\,STR\/\fR/INT
HDU/Extension(s) in \fB\-\-catrowfile\fR.
.IP
Output:
.TP
\fB\-B\fR, \fB\-\-txtf64precision\fR=\fI\,INT\/\fR
Text output float32 precision.
.TP
\fB\-\-catcolumnrawname\fR
Don't touch column names of \fB\-\-catcolumnfile\fR.
.TP
\fB\-d\fR, \fB\-\-txtf64format\fR=\fI\,STR\/\fR
Text output float64 format: 'fixed' or 'exp'.
.TP
\fB\-D\fR, \fB\-\-dontdelete\fR
Don't delete output if it exists.
.TP
\fB\-f\fR, \fB\-\-txtf32format\fR=\fI\,STR\/\fR
Text output float32 format: 'fixed' or 'exp'.
.TP
\fB\-i\fR, \fB\-\-information\fR
Only print table and column information.
.TP
\fB\-K\fR, \fB\-\-keepinputdir\fR
Keep input directory for automatic output.
.TP
\fB\-m\fR, \fB\-\-colmetadata\fR=\fI\,STR\/\fR,STR[,STR,STR]
Update output metadata (name, unit, comments).
.TP
\fB\-o\fR, \fB\-\-output\fR=\fI\,STR\/\fR
Output file name.
.TP
\fB\-O\fR, \fB\-\-colinfoinstdout\fR
Column info/metadata when printing to stdout.
.TP
\fB\-p\fR, \fB\-\-txtf32precision\fR=\fI\,INT\/\fR
Text output float32 precision.
.TP
\fB\-\-tableformat\fR=\fI\,STR\/\fR
Table fmt: 'fits\-ascii', 'fits\-binary', 'txt'.
.TP
\fB\-\-wcslinearmatrix\fR=\fI\,STR\/\fR
WCS linear matrix of output ('pc' or 'cd').
.IP
Rows in output:
.TP
\fB\-\-descending\fR
Sort in descending order: largets first.
.TP
\fB\-\-envseed\fR
Use GSL_RNG_SEED env. for '\-\-rowrandom'.
.TP
\fB\-e\fR, \fB\-\-equal\fR=\fI\,STR\/\fR,FLT[,...]
Column, values to keep in output.
.TP
\fB\-H\fR, \fB\-\-head\fR=\fI\,INT\/\fR
Only return given number of top rows.
.TP
\fB\-n\fR, \fB\-\-notequal\fR=\fI\,STR\/\fR,FLT[,...]
Column, values to remove from output.
.TP
\fB\-\-polygon\fR=\fI\,FLT\/\fR,FLT[:...]
Polygon vertices, also a DS9 region file.
.TP
\fB\-\-rowrandom\fR=\fI\,INT\/\fR
Number of rows to select randomly.
.TP
\fB\-\-rowrange\fR=\fI\,INT\/\fR,INT
Only rows in this row\-counter range.
.TP
\fB\-r\fR, \fB\-\-range\fR=\fI\,STR\/\fR,FLT:FLT
Column, and range to limit output.
.TP
\fB\-s\fR, \fB\-\-sort\fR=\fI\,STR\/\fR/INT
Column name or number for sorting.
.TP
\fB\-t\fR, \fB\-\-tail\fR=\fI\,INT\/\fR
Only return given number of bottom rows.
.IP
Operating modes:
.TP
\-?, \fB\-\-help\fR
give this help list
.TP
\fB\-\-checkconfig\fR
List all config files and variables read.
.TP
\fB\-\-cite\fR
BibTeX citation for this program.
.TP
\fB\-\-config\fR=\fI\,STR\/\fR
Read configuration file STR immediately.
.TP
\fB\-\-lastconfig\fR
Do not parse any more configuration files.
.TP
\fB\-\-log\fR
Information about output(s) in a log file.
.TP
\fB\-\-minmapsize\fR=\fI\,INT\/\fR
Min. bytes to avoid RAM automatically.
.TP
\fB\-N\fR, \fB\-\-numthreads\fR=\fI\,INT\/\fR
Number of CPU threads to use.
.TP
\fB\-\-onlyversion\fR=\fI\,STR\/\fR
Only run if the program version is STR.
.TP
\fB\-P\fR, \fB\-\-printparams\fR
Print parameter values to be used and abort.
.TP
\fB\-\-quietmmap\fR
Don't print mmap'd file's name and size.
.TP
\fB\-q\fR, \fB\-\-quiet\fR
Only report errors, remain quiet about steps.
.TP
\fB\-S\fR, \fB\-\-setdirconf\fR
Set default values for this directory and abort.
.TP
\fB\-\-usage\fR
give a short usage message
.TP
\fB\-U\fR, \fB\-\-setusrconf\fR
Set default values for this user and abort.
.TP
\fB\-V\fR, \fB\-\-version\fR
print program version
.PP
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
.PP
GNU Astronomy Utilities home page: http://www.gnu.org/software/gnuastro/
.SH "REPORTING BUGS"
Report bugs to bug\-gnuastro@gnu.org.
.SH COPYRIGHT
Copyright \(co 2015\-2022 Free Software Foundation, Inc.
License GPLv3+: GNU General public license version 3 or later.
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.PP
Written/developed by Mohammad Akhlaghi
.SH "SEE ALSO"
The full documentation for
.B Table
is maintained as a Texinfo manual.  If the
.B info
and
.B Table
programs are properly installed at your site, the command
.IP
.B info Table
.PP
should give you access to the complete manual.