[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master 5f8c89a0 1/2: psf-stamp: fill river between ex
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master 5f8c89a0 1/2: psf-stamp: fill river between extra clumps and mask them completely |
Date: |
Fri, 12 Aug 2022 14:25:22 -0400 (EDT) |
branch: master
commit 5f8c89a0aa4a55fb7497504f1792ff632b525047
Author: Sepideh Eskandarlou <sepideh.eskandarlou@gmail.com>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>
psf-stamp: fill river between extra clumps and mask them completely
Until now, in mask of clumps steps we just masked clumps and river between
near clumps remained. Furthermore, the river between them had resonable
signal.
With this commit, the river between close clumps masked too. Finally, stamp
is cleaner than before.
---
bin/script/psf-stamp.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/script/psf-stamp.in b/bin/script/psf-stamp.in
index cafbdb00..ecf40a3a 100644
--- a/bin/script/psf-stamp.in
+++ b/bin/script/psf-stamp.in
@@ -647,7 +647,7 @@ EOF
$cropobj --hdu=1 set-o \
$cropclp --hdu=1 set-c \
\
- c o $olab ne 0 where c $clab eq -1 where 0 gt set-cmask \
+ c o $olab ne 0 where c $clab eq -1 where 0 gt 1 dilate
set-cmask \
o o $olab eq 0 where set-omask \
i omask cmask or nan where
fi