gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master f9deed3a 2/2: Book: unified method of calculat


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master f9deed3a 2/2: Book: unified method of calculating area in arcmin2
Date: Tue, 12 Apr 2022 20:23:56 -0400 (EDT)

branch: master
commit f9deed3a8d69c195d0782df6bc890dea3b431593
Author: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>

    Book: unified method of calculating area in arcmin2
    
    Until now, throughout the "coverage" parts of the second tutorial ("Angular
    coverage on the sky" and "Cosmological coverage" sections), we had used the
    format of '(X*60)^2' to calculate the area from arcsec-united edges to
    arcmin^2. However, in the last example of the "Cosmological coverage"
    section, we had used '(X^2 * 3600)'. While this is mathematically
    identical, the different ways of doing the calculation could be confusing.
    
    With this commit, the last usage has been edited to be similar to the rest
    and help in the clarity of the text.
    
    This was reported by Sílvia Farras.
---
 THANKS                       | 1 +
 doc/announce-acknowledge.txt | 2 ++
 doc/gnuastro.texi            | 2 +-
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/THANKS b/THANKS
index ab6f32cd..9c209059 100644
--- a/THANKS
+++ b/THANKS
@@ -46,6 +46,7 @@ support in Gnuastro. The list is ordered alphabetically (by 
family name).
     Elham Eftekhari                      elhamea@iac.es
     Paul Eggert                          eggert@cs.ucla.edu
     Sepideh Eskandarlou                  sepideh.eskandarlou@gmail.com
+    Sílvia Farras                        silvia.farras1@gmail.com
     Juan Antonio Fernández Ontiveros     jafernandez@cefca.es
     Gaspar Galaz                         ggalaz@astro.puc.cl
     Andrés García-Serra Romero           alu0101451923@ull.edu.es
diff --git a/doc/announce-acknowledge.txt b/doc/announce-acknowledge.txt
index db08752f..6fcad7bb 100644
--- a/doc/announce-acknowledge.txt
+++ b/doc/announce-acknowledge.txt
@@ -1,6 +1,8 @@
 Alphabetically ordered list to acknowledge in the next release.
 
 Sepideh Eskandarlou
+Sílvia Farras
+Juan Miro
 Ignacio Ruiz Cejudo
 Irene Pintos Castro
 
diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index df2f9904..a30383af 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -2582,7 +2582,7 @@ $ k=$(astcosmiccal -sz2 | awk '@{print ($1*60)^2@}')
 $ n=$(aststatistics flat-ir/xdf-f160w.fits --number)
 $ r=$(astfits flat-ir/xdf-f160w.fits -h1 | grep CDELT1   \
               | awk '@{print $3@}')
-$ a=$(echo $n $r | awk '@{print $1 * ($2^2) * 3600@}')
+$ a=$(echo $n $r | awk '@{print $1 * ($2*60)^2 @}')
 
 ## Multiply `k' and `a' and divide by 10^6 for value in Mpc^2.
 $ echo $k $a | awk '@{print $1 * $2 / 1e6@}'



reply via email to

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