gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 13a7e18: Removed debuging flags in NoiseChisel


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 13a7e18: Removed debuging flags in NoiseChisel's output
Date: Thu, 27 Dec 2018 15:26:44 -0500 (EST)

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

    Removed debuging flags in NoiseChisel's output
    
    The last two calls to the `gal_statistics_outlier_positive' function had
    the `quiet' argument set to `0'! So some un-understandable (for a user) set
    of numbers were printed in the middle of NoiseChisel's processing. This has
    been corrected with this commit.
---
 lib/tile-internal.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lib/tile-internal.c b/lib/tile-internal.c
index 7e51fe2..7a83e6d 100644
--- a/lib/tile-internal.c
+++ b/lib/tile-internal.c
@@ -106,7 +106,7 @@ tileinternal_no_outlier_work(gal_data_t *first, gal_data_t 
*second,
   nbs=gal_statistics_no_blank_sorted(second, 0);
   outlier=gal_statistics_outlier_positive(nbs, nbs->size, outliersigma,
                                           outliersclip[0], outliersclip[1],
-                                          0, 0);
+                                          0, 1);
   gal_data_free(nbs);
   if(outlier)
     {
@@ -124,7 +124,7 @@ tileinternal_no_outlier_work(gal_data_t *first, gal_data_t 
*second,
       outlier=gal_statistics_outlier_positive(nbs, nbs->size/2,
                                               outliersigma,
                                               outliersclip[0],
-                                              outliersclip[1], 0, 0);
+                                              outliersclip[1], 0, 1);
       gal_data_free(nbs);
       if(outlier)
         {
@@ -143,7 +143,6 @@ tileinternal_no_outlier_work(gal_data_t *first, gal_data_t 
*second,
         if(third) arr3[i] = NAN;
       }
 
-
   /* Correct the values, if they were changed. */
   if(start || tottilesinch!=osize)
     {



reply via email to

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