gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master b367f79 2/2: Corrections in NoiseChisel check


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master b367f79 2/2: Corrections in NoiseChisel check extension names
Date: Tue, 22 Aug 2017 07:56:45 -0400 (EDT)

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

    Corrections in NoiseChisel check extension names
    
    NoiseChisel's check image extension names have a `-' between words when a
    multi-word name is necessary. However, `DETECTION_FINAL' used an `_'. This
    has been corrected. Two other extension names were changed.
    `INPUT-CONVOLVED' was changed to `CONVOLVED' because the `INPUT-' part was
    irrelevant. `TRUE-PSEUDO-DETECTIONS' was changed to `TRUE-PSEUDOS' to be
    shorter (easier to type) and fit better with the other occurrences of
    `PSEUDOS' in the extension names of the `--checkdetection' output
    (`PSEUDOS-FOR-SN' which occurs two times).
    
    Also, the problem that the previous commit solves (reading CRLF line
    terminated ASCII text files) was raised by Marjan Akbari. But I forgot to
    add her name to the `THANKS' file, it is now done with this commit.
---
 THANKS                        | 3 ++-
 bin/noisechisel/detection.c   | 6 +++---
 bin/noisechisel/noisechisel.c | 2 +-
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/THANKS b/THANKS
index bed7f05..f29f56b 100644
--- a/THANKS
+++ b/THANKS
@@ -13,8 +13,9 @@ People
 
 The following people provided valuable feedback (suggestions, ideas) to the
 authors of Gnuastro. We hereby gratefully acknowledge their help and
-support in Gnuastro. The list is ordered alphabetically.
+support in Gnuastro. The list is ordered alphabetically (by family name).
 
+    Marjan Akbari                        address@hidden
     Karl Berry                           address@hidden
     Roland Bacon                         address@hidden
     Nicolas Bouché                       address@hidden
diff --git a/bin/noisechisel/detection.c b/bin/noisechisel/detection.c
index a8df736..930a328 100644
--- a/bin/noisechisel/detection.c
+++ b/bin/noisechisel/detection.c
@@ -659,7 +659,7 @@ detection_pseudo_remove_low_sn(struct noisechiselparams *p,
   /* If the user wanted to see the steps. */
   if(p->detectionname)
     {
-      workbin->name="TRUE-PSEUDO-DETECTIONS";
+      workbin->name="TRUE-PSEUDOS";
       gal_fits_img_write(workbin, p->detectionname, NULL,
                          PROGRAM_STRING);
       workbin->name=NULL;
@@ -810,7 +810,7 @@ detection_final_remove_small_sn(struct noisechiselparams 
*p, size_t num)
   /* For a check image. */
   if(p->detectionname)
     {
-      p->olabel->name="DETECTION_FINAL";
+      p->olabel->name="DETECTION-FINAL";
       gal_fits_img_write(p->olabel, p->detectionname, NULL,
                          PROGRAM_STRING);
       p->olabel->name=NULL;
@@ -1000,7 +1000,7 @@ detection(struct noisechiselparams *p)
       p->numdetections = num_true_initial;
       if(p->detectionname)
         {
-          p->olabel->name="DETECTION_FINAL";
+          p->olabel->name="DETECTION-FINAL";
           gal_fits_img_write(p->olabel, p->detectionname, NULL,
                              PROGRAM_STRING);
           p->olabel->name=NULL;
diff --git a/bin/noisechisel/noisechisel.c b/bin/noisechisel/noisechisel.c
index 4a71130..e17d25c 100644
--- a/bin/noisechisel/noisechisel.c
+++ b/bin/noisechisel/noisechisel.c
@@ -62,7 +62,7 @@ noisechisel_convolve(struct noisechiselparams *p)
   if(!p->cp.quiet) gettimeofday(&t1, NULL);
   p->conv=gal_convolve_spatial(tl->tiles, p->kernel, p->cp.numthreads,
                                1, tl->workoverch);
-  gal_checkset_allocate_copy("INPUT_CONVOLVED", &p->conv->name);
+  gal_checkset_allocate_copy("CONVOLVED", &p->conv->name);
 
 
   if(!p->cp.quiet) gal_timing_report(&t1, "Convolved with kernel.", 1);



reply via email to

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