gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master da6eea59 33/69: Scripts: changing 'wcstoimg' t


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master da6eea59 33/69: Scripts: changing 'wcstoimg' to 'wcs-to-img' in several scripts
Date: Wed, 26 Jan 2022 12:39:12 -0500 (EST)

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

    Scripts: changing 'wcstoimg' to 'wcs-to-img' in several scripts
    
    Until this commit, several scripts had the old notation for the operator
    'wcstoimg'. However, this operator has been recently changed and now it is
    'wcs-to-img'. See commit: 4e7edd16.  With this commit, this operator has
    been changed in all the scripts so they follow now the new naming
    convention. This issue was reported by Giulia Golini.
---
 bin/script/psf-create-make-stamp.in     | 2 +-
 bin/script/psf-model-flux-factor.in     | 2 +-
 bin/script/psf-model-scattered-light.in | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/script/psf-create-make-stamp.in 
b/bin/script/psf-create-make-stamp.in
index 54ed85a4..125d8070 100644
--- a/bin/script/psf-create-make-stamp.in
+++ b/bin/script/psf-create-make-stamp.in
@@ -399,7 +399,7 @@ fi
 # coordinates were done in IMG, then just use them.
 if [ $mode = wcs ]; then
   xycenter=$(echo "$xcoord,$ycoord" \
-                  | asttable  --column='arith $1 $2 wcstoimg' \
+                  | asttable  --column='arith $1 $2 wcs-to-img' \
                               --wcsfile=$inputs --wcshdu=$hdu $quiet)
   xcenter=$(echo "$xycenter" | awk '{print $1}')
   ycenter=$(echo "$xycenter" | awk '{print $2}')
diff --git a/bin/script/psf-model-flux-factor.in 
b/bin/script/psf-model-flux-factor.in
index 2db419d8..8e78b614 100644
--- a/bin/script/psf-model-flux-factor.in
+++ b/bin/script/psf-model-flux-factor.in
@@ -437,7 +437,7 @@ fi
 # coordinates were done in IMG, then just use them.
 if [ $mode = wcs ]; then
   xycenter=$(echo "$xcoord,$ycoord" \
-                  | asttable  --column='arith $1 $2 wcstoimg' \
+                  | asttable  --column='arith $1 $2 wcs-to-img' \
                               --wcsfile=$inputs --wcshdu=$hdu $quiet)
   xcenter=$(echo "$xycenter" | awk '{print $1}')
   ycenter=$(echo "$xycenter" | awk '{print $2}')
diff --git a/bin/script/psf-model-scattered-light.in 
b/bin/script/psf-model-scattered-light.in
index d1c74103..b07e1f52 100644
--- a/bin/script/psf-model-scattered-light.in
+++ b/bin/script/psf-model-scattered-light.in
@@ -346,7 +346,7 @@ fi
 # coordinates were done in IMG, then just use them.
 if [ $mode = wcs ]; then
   xycenter=$(echo "$xcoord,$ycoord" \
-                  | asttable  --column='arith $1 $2 wcstoimg' \
+                  | asttable  --column='arith $1 $2 wcs-to-img' \
                               --wcsfile=$inputs --wcshdu=$hdu $quiet)
   xcenter=$(echo "$xycenter" | awk '{print $1}')
   ycenter=$(echo "$xycenter" | awk '{print $2}')



reply via email to

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