gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 4605416: NEWS file: added item for new Arithme


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 4605416: NEWS file: added item for new Arithmetic examples
Date: Thu, 12 Nov 2020 14:01:54 -0500 (EST)

branch: master
commit 460541640431fde61a343c57a520fdd07f257adb
Author: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>

    NEWS file: added item for new Arithmetic examples
    
    In the previous commit, many examples were added to the description
    arithmetic operators which can be useful for new users.
    
    With this commit, an entry was added in the NEWS file to highlight this
    point there (which also goes into the announcements).
    
    I also done a simple spell-check in the NEWS file and corrected a few
    typos. Furthermore, after a run of Debian's Lintian, a few other typos were
    found in the printed messages of some of the programs that has been
    corrected.
---
 NEWS                 | 10 ++++++----
 bin/mkcatalog/args.h |  2 +-
 bin/mknoise/ui.c     |  2 +-
 bin/mkprof/ui.c      |  2 +-
 bin/query/query.c    |  2 +-
 5 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/NEWS b/NEWS
index b4d14e9..fd21a72 100644
--- a/NEWS
+++ b/NEWS
@@ -13,10 +13,12 @@ See the end of the file for license conditions.
    - New sub-section on "Memory management" in the "Common program
      behavior" chapter. It fully describes how to optimally deal with large
      datasets that may exceed your system's RAM.
+   - Examples and better description added to many operators in the
+     "Arithmetic operators" subsection of the Arithmetic program's section.
 
   New program:
    - Query ('astquery') is a new program to allow easy submission of
-     queries to extenral datasets and retrieve the result as a FITS file,
+     queries to external datasets and retrieve the result as a FITS file,
      directly on the command-line. You can either directly write the
      database's query statement yourself, or use Query's high-level
      interface to avoid having to learn it.
@@ -80,7 +82,7 @@ See the end of the file for license conditions.
 
   MakeNoise:
    --bgisbrightness: new option to say that the value of '--background'
-     (used to simulate Poisson noise) should be interpretted as brightness,
+     (used to simulate Poisson noise) should be interpreted as brightness,
      not magnitude.
 
   MakeProfiles:
@@ -92,7 +94,7 @@ See the end of the file for license conditions.
 
   Table:
    - New '--noblank' option will remove all rows in output table that have
-     atleast one blank value in the specified columns. For example if
+     at least one blank value in the specified columns. For example if
      'table.fits' has blank values (NaN in floating point types) in the
      'magnitude' and 'sn' columns, with '--noblank=magnitude,sn', you can
      be sure that all rows with blank values in these columns have been
@@ -101,7 +103,7 @@ See the end of the file for license conditions.
   Library:
    - GAL_ARITHMETIC_OP_MAKENEW: new 'makenew' operator.
    - gal_blank_flag_remove: Remove all flagged elements in a dataset.
-   - gal_blank_remove_rows: remove all rows that have atleast one blank.
+   - gal_blank_remove_rows: remove all rows that have at least one blank.
    - gal_wcs_coverage: Return the sky coverage of given image HDU.
    - gal_wcs_dimension_name: return the name of the requested WCS dim.
 
diff --git a/bin/mkcatalog/args.h b/bin/mkcatalog/args.h
index f1dbadc..24f0090 100644
--- a/bin/mkcatalog/args.h
+++ b/bin/mkcatalog/args.h
@@ -1733,7 +1733,7 @@ struct argp_option program_options[] =
       UI_KEY_HALFMAXSUM,
       0,
       0,
-      "Sum of pixels above half the maxium.",
+      "Sum of pixels above half the maximum.",
       UI_GROUP_COLUMNS_MORPHOLOGY,
       0,
       GAL_TYPE_INVALID,
diff --git a/bin/mknoise/ui.c b/bin/mknoise/ui.c
index 428d5d9..4819e4a 100644
--- a/bin/mknoise/ui.c
+++ b/bin/mknoise/ui.c
@@ -252,7 +252,7 @@ ui_read_check_only_options(struct mknoiseparams *p)
       /* Make sure that the background is larger than 1 (where Poisson
          noise is actually defined). */
       if( p->background < 1 )
-        error(EXIT_FAILURE, 0, "backgroud value is smaller than 1. "
+        error(EXIT_FAILURE, 0, "background value is smaller than 1. "
               "Poisson noise is only defined on a positive distribution "
               "with values larger than 1. You can use the '--sigma' "
               "option to add a fixed noise level (with any positive value) "
diff --git a/bin/mkprof/ui.c b/bin/mkprof/ui.c
index 5cf63f0..9e321c0 100644
--- a/bin/mkprof/ui.c
+++ b/bin/mkprof/ui.c
@@ -1206,7 +1206,7 @@ ui_prepare_columns(struct mkprofparams *p)
       {
         if(p->customname==NULL)
           error(EXIT_FAILURE, 0, "at least one custom profile requested "
-                "(first occurance in row %zu), but no file/table was given "
+                "(first occurrence in row %zu), but no file/table was given "
                 "to the '--customtable' option. See the description of "
                 "this '--customtable' for more information on the "
                 "desired format", i+1);
diff --git a/bin/query/query.c b/bin/query/query.c
index 260e702..c4ecc10 100644
--- a/bin/query/query.c
+++ b/bin/query/query.c
@@ -62,7 +62,7 @@ query_check_download(struct queryparams *p)
       /* Rename the output file to the logname file and let the user
          know. */
       rename(p->cp.output, logname);
-      error(EXIT_FAILURE, 0, "the requested dataset could not be retreived! "
+      error(EXIT_FAILURE, 0, "the requested dataset could not be retrieved! "
             "For more, please see '%s'", logname);
     }
 }



reply via email to

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