• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

bin/H10-Oct-2021-110,11880,793

bootstrapped/H10-Oct-2021-199,426152,058

doc/H03-May-2022-79,18865,623

lib/H03-May-2022-50,13228,134

tests/H10-Oct-2021-8,1704,098

.autom4te.cfgH A D29-May-20211.3 KiB3027

.dir-locals.elH A D29-May-20211.1 KiB289

.tarball-versionH A D10-Oct-20215 21

.versionH A D10-Oct-20215 21

AUTHORSH A D10-Oct-20211.4 KiB3330

COPYINGH A D29-May-202134.3 KiB675553

COPYING.FDLH A D29-May-202122.5 KiB420354

ChangeLogH A D29-May-202140.9 KiB1,137790

INSTALLH A D10-Oct-202115.4 KiB369287

Makefile.amH A D26-Sep-202121.4 KiB535270

Makefile.inH A D10-Oct-2021111.6 KiB2,9292,779

NEWSH A D10-Oct-2021136.1 KiB2,8212,306

READMEH A D29-May-202111.8 KiB271199

THANKSH A D03-Oct-20217.5 KiB149130

aclocal.m4H A D10-Oct-202170.4 KiB1,8741,741

config.h.inH A D10-Oct-202180.3 KiB2,5471,916

configureH A D03-May-20221.9 MiB72,01256,718

configure.acH A D26-Sep-202152.3 KiB1,2451,019

developer-buildH A D29-May-202111.7 KiB491282

genauthorsH A D29-May-20213.2 KiB10523

README

1GNU Astronomy Utilities
2=======================
3
4Copyright (C) 2015-2021, Free Software Foundation, Inc.
5See the end of the file for license conditions.
6
7GNU Astronomy Utilities (Gnuastro) is an official GNU package of programs
8and a library functions for astronomical data manipulation and
9analysis. The programs are run directory on the operating system's
10command-line enabling easy and efficient operation combined with other
11installed programs in shell scripts or Makefiles. The libraries are also
12usable in C and C++ programs. The full package comes with a comprehensive
13book or documentation in various formats (plain text, info, PDF and HTML):
14
15    http://www.gnu.org/software/gnuastro/manual/
16
17The Gnuastro book explains all the mathematical, physical and even
18historical concepts (when necessary) for effective usage of all the
19programs and libraries along with short examples for each program and full
20descriptions of all their options (in the "Invoking ProgramName'
21sections). There is also a separate chapter devoted to tutorials for
22effectively use Gnuastro combined with other software already available on
23your Unix-like operating system (see Chapter 2).
24
25To install Gnuastro, follow the instructions in the "Install Gnuastro"
26section below. If you have already installed gnuastro, you can read the
27full book by running the following command. You can go through the whole
28book by pressing the 'SPACE' key, and leave the Info environment at any
29time by pressing 'q' key. See the "Getting help" section below (in this
30file) or in the book for more.
31
32    info gnuastro
33
34Gnuastro's programs are listed below followed by their executable name in
35parenthesis and a short description. This list is ordered
36alphabetically. In the book, they are grouped and ordered by context under
37categories/chapters.
38
39  - Arithmetic (astarithmetic): For arithmetic operations on multiple
40    (theoretically unlimited) number of datasets (images). It has a large
41    and growing set of arithmetic, mathematical, and even statistical
42    operators (for example +, -, *, /, sqrt, log, min, average, median).
43
44  - BuildProgram (astbuildprog): Compile, link and run programs that depend
45    on the Gnuastro library. BuildProgram will automatically link with the
46    libraries that Gnuastro depends on, so there is no need to explicily
47    mention them every time you are compiling a Gnuastro library dependent
48    program.
49
50  - ConvertType (astconvertt): Convert astronomical data files (FITS or
51    IMH) to and from several other standard image and data formats, for
52    example TXT, JPEG, EPS or PDF.
53
54  - Convolve (astconvolve): Convolve (blur or smooth) data with a given
55    kernel in spatial and frequency domain on multiple threads. Convolve
56    can also do de-convolution to find the appropriate kernel to PSF-match
57    two images.
58
59  - CosmicCalculator (astconvolve): Do cosmological calculations, for
60    example the luminosity distance, distance modulus, comoving volume and
61    many more.
62
63  - Crop (astcrop): Crop region(s) from an image and stitch several images
64    if necessary.  Inputs can be in pixel coordinates or world coordinates.
65
66  - Header (astheader): Print and manipulate the header data of a FITS file.
67
68  - Match (astmatch): Given two input catalogs, find the rows that match
69    with each other within a given aperture (may be an ellipse).
70
71  - MakeCatalog (astmkcatalog): Make catalog of labeled image (output of
72    NoiseChisel). The catalogs are highly customizable and adding new
73    calculations/columns is very streightforward.
74
75  - MakeNoise (astmknoise): Make (add) noise to an image, with a large set
76    of random number generators and any seed.
77
78  - MakeProfiles (astmkprof): Make mock 2D profiles in an image. The
79    central regions of radial profiles are made with a configurable 2D
80    Monte Carlo integration. It can also build the profiles on an
81    over-sampled image.
82
83  - NoiseChisel (astnoisechisel): Detect and signal in noise. It uses a
84    technique to detect very faint and diffuse, irregularly shaped signal
85    in noise (galaxies in the sky), using thresholds that are below the Sky
86    value (see arXiv:1505.01664).
87
88  - Query (astquery): High-level interface to query pre-defined remote, or
89    external, databases and directly download the required sub-tables on the
90    command-line.
91
92  - Segment (astsegment): Segment a detection based on the structure of
93    signal within it.
94
95  - Statistics (aststatistics): Get pixel statistics and save histogram and
96    cumulative frequency plots.
97
98  - Table (asttable): convert FITS binary and ASCII tables into other such
99    tables, or print them on the command-line, or save them in a plain text
100    file.  Output columns can also be determined by number or regular
101    expression matching of column names.
102
103  - Warp (astwarp): Warp image to new pixel grid. Any projective
104    transformation or Homography can be applied to the input images.
105
106The programs listed above are designed to be highly modular and
107generic. For higher-level operations (combining multiple programs, or
108running a program in a special way), Gnuastro also installs Bash scripts
109(all prefixed with 'astscript-'). They can be run like a program and behave
110very similarly (with minor differences, as explained in the book).
111
112  - astscript-ds9-region: Given a table (either as a file or from
113    standard input), create an SAO DS9 region file from the requested
114    positional columns (WCS or image coordinates).
115
116  - astscript-radial-profile: Calculate the radial profile of an object
117    within an image. The object can be at any location in the image, using
118    various measures (median, sigma-clipped mean and etc), and the radial
119    distance can also be measured on any general ellipse.
120
121  - astscript-sort-by-night: Given a list of FITS files, and a HDU and
122    keyword name for a date, this script separates the files in the same
123    night (possibly over two calendar days).
124
125All the programs share the same basic command-line user interface and a set
126of common options for the comfort of both the users and
127developers. Gnuastro is written to comply fully with the GNU coding
128standards so it integrates finely with the GNU/Linux operating system and
129Unix-like operating systems in general. This also enables astronomers to
130expect a fully familiar experience in the source code, building, installing
131and command line user interaction that they have seen in all the other GNU
132software that they use.
133
134Behind the scenes, Gnuastro comes with a very robust infra-structure
135enabling easy addition of new programs and new features to existing
136programs and a full chapter devoted to explaining how to develop most
137effectively (see the "Developing" chapter). Please join us in developing
138this comprehensive and low level set of tools for astronomical data
139manipulation and analysis. The copyright owner of Gnuastro is the Free
140Software Foundation to guarantee its freedom in the future, and not any
141particular astronomer or astronomical project, or astronomical institution,
142so please join us and feel free to use it in your research.
143
144
145
146Installing Gnuastro
147-------------------
148
149The mandatory dependencies which are required to install Gnuastro from the
150tarball are listed below.
151
152  - GNU Scientific Library (GSL): https://www.gnu.org/software/gsl/
153  - CFITSIO: http://heasarc.gsfc.nasa.gov/fitsio/
154  - WCSLIB: http://www.atnf.csiro.au/people/mcalabre/WCS/
155
156The optional dependencies are:
157
158  - GNU Libtool: https://www.gnu.org/software/libtool/
159  - Git library (libgit2): https://libgit2.github.com/
160  - JPEG library (libjpeg): http://ijg.org/
161  - TIFF library (libtiff): http://simplesystems.org/libtiff/
162  - Ghostscript: https://www.ghostscript.com/
163
164See the "Dependencies" section of the book for their detailed installation
165guides and optional dependencies to enable extra features. Prior to
166installation, you can find it in the 'doc/gnuastro.texi' file (source of
167the book), or on the web:
168
169  https://www.gnu.org/software/gnuastro/manual/html_node/Dependencies.html
170
171If you have just cloned Gnuastro and want to install from the version
172controlled source, please read the 'README-hacking' file (not available in
173the tarball) or the "Bootstrapping dependencies" subsection of the manual
174before continuing.
175
176The most recent stable Gnuastro release can be downloaded from the
177following link. Please see the "Downloading the source" section of the
178Gnuastro book for a more complete discussion of your download options.
179
180    http://ftp.gnu.org/gnu/gnuastro/gnuastro-latest.tar.gz
181
182Unpacking, configuring, building, checking and installing Gnuastro follows
183the standard GNU Build system as shown below. After the './configure'
184command, Gnuastro will print messages upon the successful completion of
185each step, giving further information and suggestions for the next steps.
186
187    tar xf gnuastro-latest.tar.lz        # Also works for 'tar.gz' files
188    cd gnuastro-X.X
189    ./configure
190    make
191    make check
192    sudo make install
193
194See the "Build and install" section of the book for more information. Also,
195see the 'INSTALL' file which is distributed with this file for a standard
196(very comprehensive and general) review of the GNU build and install
197methods. The 'INSTALL' file is shared in many software packages, so reading
198it once in any package is enough to help you greatly customize your build
199of a very large collection of Free and Open Source (FOSS) software.
200
201
202
203Getting help
204------------
205
206To access the appropriate section of the Gnuastro book/documentation from
207your command-line (in the middle of your work, without distracting your
208self by having to move your hand off the keyboard), please run any of the
209following two commands. Note that you can leave the Info environment by
210pressing the key 'q'.
211
212    info ProgramName               # For example 'info NoiseChisel'
213    info astprogname               # For example 'info astnoisechisel'
214
215The Info environment is great for easily reading of the complete
216documentation of many software packages, not just Gnuastro. It can greatly
217enhance your life/work in the Unix-like operating systems. If you are not
218familiar with it, please run the following command and read through it (it
219is short and only takes about an hour, so we strongly recommend it):
220
221    info info
222
223To immediately get a short list of each programs's options and a short
224explanation of each, please run:
225
226    astprogname --help             # For example 'astnoisechisel --help'
227
228Ultimately you can send a mail to 'help-gnuastro@gnu.org' to get help in
229installing or using Gnuastro. Some Gnuastro developers and active users are
230subscribed to this list and are ready to help you in using these programs.
231
232
233
234Reporting bugs
235--------------
236
237The most effective way to report bugs is explained in the "Report a bug"
238section of the documentation, after installation, you can read it by
239running (leave the Info environment by pressing the 'q' key afterwards):
240
241    info bug-gnuastro
242
243In short, you can send a mail to 'bug-gnuastro@gnu.org', or submit a report
244in the link below (the latter is recommended):
245
246    https://savannah.gnu.org/support/?func=additem&group=gnuastro
247
248In any case, please be very descriptive and give the exact command that
249produced the bug, we will be able to solve it faster and more effectively
250if we can reproduce it after your first report. The list of previous bugs
251along with their status can be seen here
252
253    https://savannah.gnu.org/bugs/?group=gnuastro
254
255Have a look in the link above to see if your problem has already been
256addressed. Click on "Display Criteria" and choose the "Category" of your
257bug for a shorter and more relevant list to look into.
258
259
260
261
262
263Copyright information
264---------------------
265Copyright (C) 2015-2021, Free Software Foundation, Inc.
266
267Permission is granted to copy, distribute and/or modify this document under
268the terms of the GNU Free Documentation License, Version 1.3 or any later
269version published by the Free Software Foundation; with no Invariant
270Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
271