gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 87d68b0 12/32: astscript-radial-profile: remov


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 87d68b0 12/32: astscript-radial-profile: removing --rmin option because it is not used
Date: Wed, 24 Feb 2021 22:36:16 -0500 (EST)

branch: master
commit 87d68b061969f5767321901d7a278d02ee5c185e
Author: Raul Infante-Sainz <infantesainz@gmail.com>
Commit: Raul Infante-Sainz <infantesainz@gmail.com>

    astscript-radial-profile: removing --rmin option because it is not used
    
    Until this commit, there was the option `--rmin' for setting the minimum
    radius for the radial profile. This option comes from the very first
    version of the script, when it used a for-loop over the different radius
    for making the profiles. However, in the current version it is using the
    option `distance' for generating profiles with the radial distance from
    the center (with `astmkprof'). As a consequence, this option is not used
    anymore. With this commit, this option has been removed.
---
 bin/script/radial-profile.in | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/bin/script/radial-profile.in b/bin/script/radial-profile.in
index 1382613..9feb800 100644
--- a/bin/script/radial-profile.in
+++ b/bin/script/radial-profile.in
@@ -32,7 +32,6 @@ set -e
 
 # Default option values (can be changed with options on the command-line).
 hdu=1
-rmin=1
 rmax=10
 mode=img
 x=center
@@ -89,13 +88,12 @@ experienced Gnuastro users and developers. For more 
information, please run:
 $scriptname options:
  Input:
   -h, --hdu=STR           HDU/extension of all input FITS files.
-  -O, --mode=STR          Coordinate mode `img' or `wcs'.
+  -O, --mode=STR          Coordinate mode: img or wcs.
   -x, --xcenter=FLT       Coordinate of the center along the first axis.
   -y, --ycenter=FLT       Coordinate of the center along the second axis.
-  -r, --rmin=FLT          Minimum radius for the radial profiles (in pixels).
-  -R, --rmax=FLT          Maximum radius for the radial profiles (in pixels).
-  -Q, --qratio=FLT        Axis ratio for ellipse apertures (A/B).
-  -p, --pangle=FLT        Position angle for ellipse apertures.
+  -R, --rmax=FLT          Maximum radius for the radial profile (in pixels).
+  -Q, --qratio=FLT        Axis ratio for ellipse profiles (A/B).
+  -p, --pangle=FLT        Position angle for ellipse profiles.
   -m, --measure=STR       Operator for measuring the parameter (mean, median, 
etc.).
   -b, --binning=INT       Size of the bin for averaging group of pixels.
   -a, --cprofiles=STR     Configuration file for astmkprof.
@@ -207,9 +205,6 @@ do
         -y|--ycenter)     y="$2";                           check_v "$1" "$y"; 
 shift;shift;;
         -y=*|--ycenter=*) y="${1#*=}";                      check_v "$1" "$y"; 
 shift;;
         -y*)              y=$(echo "$1"  | sed -e's/-y//'); check_v "$1" "$y"; 
 shift;;
-        -r|--rmin)        rmin="$2";                           check_v "$1" 
"$rmin";  shift;shift;;
-        -r=*|--rmin=*)    rmin="${1#*=}";                      check_v "$1" 
"$rmin";  shift;;
-        -r*)              rmin=$(echo "$1"  | sed -e's/-r//'); check_v "$1" 
"$rmin";  shift;;
         -R|--rmax)        rmax="$2";                           check_v "$1" 
"$rmax";  shift;shift;;
         -R=*|--rmax=*)    rmax="${1#*=}";                      check_v "$1" 
"$rmax";  shift;;
         -R*)              rmax=$(echo "$1"  | sed -e's/-R//'); check_v "$1" 
"$rmax";  shift;;



reply via email to

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