[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master 5d9a6d9b 50/69: PSF select-stars: make check s
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master 5d9a6d9b 50/69: PSF select-stars: make check steps done again because some new option are added |
Date: |
Wed, 26 Jan 2022 12:39:14 -0500 (EST) |
branch: master
commit 5d9a6d9b1cbba70202aff6a475815abe90c9652d
Author: Sepideh Eskandarlou <sepideh.eskandarlou@gmail.com>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>
PSF select-stars: make check steps done again because some new option are
added
Until now, the '--magnituderange', '--mindistdeg', '--minaxisratio',
'--matchaperturedeg' options did not exist and 'make check' steps was set
for the selecting of the stars without these options. Without considering
these options in 'make check' steps the fail ocuured.
With this commit, the '--magnituderange', '--mindistdeg', '--minaxisratio',
'--matchaperturedeg' have been considered in the 'make check' steps and now
in the 'make check' steps the user do not faced with a fail. And during the
installation of the Gnuastro this script will be checked to make sure
everything is fine.
---
tests/Makefile.am | 2 +-
tests/script/psf-create-select-stars.sh | 8 ++++++--
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index cd339ae5..ef7392ce 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -220,7 +220,7 @@ script/radial-profile.sh: mkprof/mosaic2.sh.log
script/psf-create-junction.sh: mkprof/mosaic2.sh.log
script/psf-create-make-stamp.sh: mkprof/mosaic2.sh.log
script/psf-model-flux-factor.sh: mkprof/mosaic2.sh.log
-script/psf-model-select-stars.sh: mkprof/mosaic2.sh.log
+script/psf-create-select-stars.sh: segment/segment.sh.log
script/psf-model-scattered-light.sh: mkprof/mosaic2.sh.log
diff --git a/tests/script/psf-create-select-stars.sh
b/tests/script/psf-create-select-stars.sh
index a5886dbb..f362f248 100755
--- a/tests/script/psf-create-select-stars.sh
+++ b/tests/script/psf-create-select-stars.sh
@@ -49,6 +49,7 @@ if [ ! -f $execname ]; then echo "$execname doesn't exist.";
exit 77; fi
if [ ! -f $dep1name ]; then echo "$dep1name doesn't exist."; exit 77; fi
if [ ! -f $dep2name ]; then echo "$dep2name doesn't exist."; exit 77; fi
if [ ! -f $fits1name ]; then echo "$fits1name doesn't exist."; exit 77; fi
+if [ ! -f $fits2name ]; then echo "$fits2name doesn't exist."; exit 77; fi
@@ -83,5 +84,8 @@ $check_with_program astmkcatalog $fits2name \
$check_with_program $execname $fits1name --hdu=1 \
--segmented=$fits2name \
--catalog=$fits3name \
- --field=magnitude
-
+ --field=magnitude \
+ --magnituderange=-17,-10 \
+ --minaxisratio=0.85 \
+ --mindistdeg=0.05 \
+ --matchaperturedeg=0.5
- [gnuastro-commits] master 6638c671 53/69: Book: correct the definition of option --minaxisratio, (continued)
- [gnuastro-commits] master 6638c671 53/69: Book: correct the definition of option --minaxisratio, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master e9f4d343 09/69: PSF model: fixed bug in defining the radial profiles for flux factor, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 30e33ec6 06/69: PSF model: new script for computing the PSF flux factor, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 65fb6894 02/69: PSF stamp: wrong script location, fixing it, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 8d4e7f3d 14/69: Book: adding documentation of 'psf-create-junction' script, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 5a236622 21/69: PSF model: computing radial profile up to the minimum possible value, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master b5262f34 26/69: PSF stamp: rmax option was redundant, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 03bc1e69 22/69: PSF model: using PSF radial profile as input for flux factor computation, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master df256000 35/69: PSF select-stars: Add 'astscript-psf-create-select-stars' section to the, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 117fd766 24/69: PSF select stars: new script for selecting stars, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 5d9a6d9b 50/69: PSF select-stars: make check steps done again because some new option are added,
Mohammad Akhlaghi <=
- [gnuastro-commits] master 1e0cc1a0 43/69: PSF select-stars: changing default values to not crash in make check, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master ca8fc03a 55/69: PSF scripts: getting proper NAXIS values when data is compressed as .fz, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 5eac0cea 40/69: Book: polishing the description of the PSF select-stars script, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master d99fc9df 60/69: PSF select-stars: add new option for selecting more bright stars, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 69a2e6ee 54/69: Book: correct some comments in the psf-create-select-stars, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master f42832f8 23/69: PSF stamp: allowingto use a position angle and axis ratio, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 2894b35a 32/69: PSF model: including the make check step for two PSF scripts, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master aae0d156 64/69: PSF tutorial: running of Segment on saturated images added, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 5fdd3a4a 31/69: PSF create: including the make check step for two PSF scripts, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master d6e6f9da 47/69: PSF flux-factor: correct the indentation, Mohammad Akhlaghi, 2022/01/26