[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master c7160d6: Book: corrected typos in some file na
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master c7160d6: Book: corrected typos in some file names of the first tutorial |
Date: |
Wed, 17 Nov 2021 20:46:30 -0500 (EST) |
branch: master
commit c7160d6344b7768ef6def8c664c7a1a65cc817bb
Author: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Book: corrected typos in some file names of the first tutorial
Until now, in the first tutorial on simulating a mock galaxy, in a few
cases, the file names mentioned, didn't match the file names that the user
got after running the command. This was because of a recent feature added
to MakeProfiles (to add '_profiles.fits' suffix to its output when none was
given).
With this commit, the file names have been corrected in the text of the
tutorial.
These typos were reported by Zahra Hosseini.
---
doc/gnuastro.texi | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index 2d3dae2..32770de 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -1792,19 +1792,20 @@ MakeProfiles started on Sat Oct 6 16:26:56 953
---- row 3 complete, 4 left to go
---- row 4 complete, 3 left to go
---- row 5 complete, 2 left to go
- ---- ./0_cat.fits created.
+ ---- ./0_cat_profiles.fits created.
---- row 0 complete, 1 left to go
---- row 1 complete, 0 left to go
- ./cat_profiles.fits created. 0.041651 seconds
+ -- Output: ./cat_profiles.fits
MakeProfiles finished in 0.267234 seconds
$ls
-0_cat.fits cat_profiles.fits cat.txt
+0_cat_profiles.fits cat_profiles.fits cat.txt
@end example
@cindex Oversample
@noindent
-The file @file{0_cat.fits} is the PSF Sufi had asked for, and
@file{cat_profiles.fits} is the image containing the main objects in the
catalog.
+The file @file{0_cat_profiles.fits} is the PSF Sufi had asked for, and
@file{cat_profiles.fits} is the image containing the main objects in the
catalog.
The size of @file{cat_profiles.fits} was surprising for the student, instead
of 499 by 499 (as we had requested), it was 2615 by 2615 pixels (from the
command below):
@example
@@ -1879,8 +1880,8 @@ However, the image is still larger than what we had
wanted, it is 523 (@mymath{4
The student is slightly confused, so Sufi also re-samples the PSF with the
same scale by running
@example
-$ astwarp --scale=1/5 --centeroncorner 0_cat.fits
-$ astfits -p 0_cat_scaled.fits | grep NAXIS
+$ astwarp --scale=1/5 --centeroncorner 0_cat_profiles.fits
+$ astfits -p 0_cat_profiles_scaled.fits | grep NAXIS
NAXIS = 2 / number of data axes
NAXIS1 = 25 / length of data axis 1
NAXIS2 = 25 / length of data axis 2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnuastro-commits] master c7160d6: Book: corrected typos in some file names of the first tutorial,
Mohammad Akhlaghi <=