gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master f9b7edfa 10/69: PSF stamp: removing the option


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master f9b7edfa 10/69: PSF stamp: removing the option --oversample as it is not enabled
Date: Wed, 26 Jan 2022 12:39:09 -0500 (EST)

branch: master
commit f9b7edfaf8ed530c77629bd64e153788b80ad1d3
Author: Raul Infante-Sainz <infantesainz@gmail.com>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>

    PSF stamp: removing the option --oversample as it is not enabled
    
    Until this commit, the option '--oversample' was not used inside of the
    script.  With this commit, that option has been removed. In addition to
    that, minor corrections in the description of some options have been done.
---
 bin/script/psf-create-make-stamp.in | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/bin/script/psf-create-make-stamp.in 
b/bin/script/psf-create-make-stamp.in
index 1ab43836..32bf0ea3 100644
--- a/bin/script/psf-create-make-stamp.in
+++ b/bin/script/psf-create-make-stamp.in
@@ -51,7 +51,6 @@ mode="img"
 corewidth=""
 normradii=""
 sigmaclip=""
-oversample=""
 stampwidth=""
 normop="median"
 version=@VERSION@
@@ -93,14 +92,14 @@ experienced Gnuastro users and developers. For more 
information, please run:
 $scriptname options:
  Input:
   -h, --hdu=STR           HDU/extension of all input FITS files.
-  -m, --mode=STR          Coordinates mode ('wcs' or 'img').
+  -O, --mode=STR          Coordinates mode ('wcs' or 'img').
   -c, --center=FLT,FLT    Center coordinates of the object.
   -W, --stampwidth=INT    Width of the stamp in pixels.
   -n, --normradii=INT,INT Minimum and maximum radii (in pixels)
                           for computing the normalization value.
   -w, --corewidth=INT     Area width of the central object in pixels for 
unmasking.
-  -S, --mask=STR          Segmentation image (sky = 0).
-  -s, --maskhdu=STR       HDU/extension of the segmentation image.
+  -m, --mask=STR          Segmentation image (sky = 0).
+  -M, --maskhdu=STR       HDU/extension of the segmentation image.
   -R, --rmax=FLT          Maximum radius for the radial profile (in pixels).
   -N, --normop=STR        Operator for computing the normalization value
                           (mean, sigclip-mean, etc.).
@@ -110,7 +109,6 @@ $scriptname options:
   -o, --output            Output table with the radial profile.
   -t, --tmpdir            Directory to keep temporary files.
   -k, --keeptmp           Keep temporal/auxiliar files.
-  -v, --oversample        Oversample for higher resolution radial profile.
 
  Operating mode:
   -?, --help              Print this help list.
@@ -242,9 +240,6 @@ do
         -o|--output)      output="$2";                          check_v "$1" 
"$output"; shift;shift;;
         -o=*|--output=*)  output="${1#*=}";                     check_v "$1" 
"$output"; shift;;
         -o*)              output=$(echo "$1" | sed -e's/-o//'); check_v "$1" 
"$output"; shift;;
-        -v|--oversample)     oversample="$2";                          check_v 
"$1" "$oversample"; shift;shift;;
-        -v=*|--oversample=*) oversample="${1#*=}";                     check_v 
"$1" "$oversample"; shift;;
-        -v*)                 oversample=$(echo "$1" | sed -e's/-v//'); check_v 
"$1" "$oversample"; shift;;
 
         # Non-operating options.
         -q|--quiet)       quiet="--quiet"; shift;;



reply via email to

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