gnuastro-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master a516aae: Arithmetic: short version of new opti


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master a516aae: Arithmetic: short version of new options in book and comments
Date: Tue, 22 Jan 2019 11:14:01 -0500 (EST)

branch: master
commit a516aae7c1e1dc2c0ea42bf007d4654d0601e3b6
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    Arithmetic: short version of new options in book and comments
    
    In the previous commit, we added the two new `--wcshdu' and `--wcsfile'
    options to Arithmetic, but in the manual, I forgot to add their short
    formats. I had also forgot to remove their letters from the list of
    available short option letter list. Both are corrected with this commit.
---
 bin/arithmetic/ui.h |  6 +++---
 doc/gnuastro.texi   | 12 +++++++-----
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/bin/arithmetic/ui.h b/bin/arithmetic/ui.h
index 7263411..ebd20f8 100644
--- a/bin/arithmetic/ui.h
+++ b/bin/arithmetic/ui.h
@@ -32,8 +32,8 @@ along with Gnuastro. If not, see 
<http://www.gnu.org/licenses/>.
 
 /* Available letters for short options:
 
-   a b c d e f i j k l m n p r s t u v w x y z
-   A B C E G H J L Q R W X Y
+   a b c d e f i j k l m n p r s t u v x y z
+   A B C E G H J L Q R X Y
 */
 enum option_keys_enum
 {
@@ -41,7 +41,7 @@ enum option_keys_enum
   UI_KEY_GLOBALHDU       = 'g',
   UI_KEY_ONEDASIMAGE     = 'O',
   UI_KEY_WCSFILE         = 'w',
-  UI_KEY_WCSHDU          = 'W'
+  UI_KEY_WCSHDU          = 'W',
 
   /* Only with long version (start with a value 1000, the rest will be set
      automatically). */
diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index 7dc3584..3c8e35c 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -12884,25 +12884,27 @@ interest is in the same HDU of all the files. When 
this option is called,
 any values given to the @option{--hdu} option (explained above) are ignored
 and will not be used.
 
address@hidden --wcsfile STR
address@hidden -w STR
address@hidden --wcsfile STR
 FITS Filename containing the WCS structure that must be written to the
 output. The HDU/extension should be specified with @option{--wcshdu}.
 
 When this option is used, the respective WCS will be read before any
 processing is done on the command-line and directly used in the final
 output. If the given file doesn't have any WCS, then the default WCS (first
-file on the command-line) will be used in the output.
+file on the command-line with WCS) will be used in the output.
 
 This option will mostly be used when the default file (first of the set of
 inputs) is not the one containing your desired WCS. But with this option,
-you can use Arithmetic to rewrite/chage the WCS of an existing FITS file
-from another file a command like this:
+you can also use Arithmetic to rewrite/chage the WCS of an existing FITS
+dataset from another file:
 
 @example
 $ astarithmetic data.fits --wcsfile=other.fits -ofinal.fits
 @end example
 
address@hidden --wcshdu STR
address@hidden -W STR
address@hidden --wcshdu STR
 HDU/extension to read the WCS within the file given to
 @option{--wcsfile}. For more, see the description of @option{--wcsfile}.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]