gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 7e9ab704 1/2: Radial-Profile: ICF1PIX key word


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 7e9ab704 1/2: Radial-Profile: ICF1PIX key word is in zero extension
Date: Wed, 10 Jan 2024 13:12:52 -0500 (EST)

branch: master
commit 7e9ab7041f4837a00a65d9e5f546b105469a139e
Author: Sepideh Eskandarlou <sepideh.eskandarlou@gmail.com>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>

    Radial-Profile: ICF1PIX key word is in zero extension
    
    Until now, in the script we were looking for the ICF1PIX in the first
    extension, while it has recently moved to the zero extension.
    
    With this commit, the extension number has been corrected.
---
 bin/script/radial-profile.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/script/radial-profile.sh b/bin/script/radial-profile.sh
index 89a123d9..9b01ed0c 100644
--- a/bin/script/radial-profile.sh
+++ b/bin/script/radial-profile.sh
@@ -503,7 +503,7 @@ fi
 
 # Correct the central position (to cropped image)
 # -----------------------------------------------
-dxy=$(astfits $crop -h1 \
+dxy=$(astfits $crop -h0 \
           | grep ICF1PIX \
           | sed -e"s/'/ /g" -e's/\:/ /g' -e's/,/ /' \
           | awk '{print $3-1, $5-1}')



reply via email to

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