[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master 01dcbeed 15/39: Book: tutorial of zero point;
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master 01dcbeed 15/39: Book: tutorial of zero point; magnitude range and aperture size |
Date: |
Wed, 19 Apr 2023 12:18:24 -0400 (EDT) |
branch: master
commit 01dcbeedc769cc20a23078fc4f1107d478d5d8d9
Author: Elham Saremi <saremi_elham@yahoo.com>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Book: tutorial of zero point; magnitude range and aperture size
Until now, I wrote how users can prepare the data and subtract the
sky.
With this commit, I explained how users should use two options
--aperarcsec and --magnituderange for having more accurate results.
---
doc/gnuastro.texi | 37 ++++++++++++++++++++++++++++++++++---
1 file changed, 34 insertions(+), 3 deletions(-)
diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index bd00ea21..ae6a80f3 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -629,7 +629,7 @@ MakeCatalog
* Detection and catalog production:: Discussing why/how to treat these
separately
* Brightness flux magnitude:: More on Magnitudes, surface brightness, etc.
-* Photometric calibration zero point:: Calculating zeropoint of images
+* Photometric calibraion zero point:: Calculating zeropoint of images
* Quantifying measurement limits:: For comparing different catalogs.
* Measuring elliptical parameters:: Estimating elliptical parameters.
* Adding new columns to MakeCatalog:: How to add new columns.
@@ -24691,9 +24691,40 @@ Keep only two options @option{--keeptmp} and
@option{--tmpdir} besides the essen
@example
$ astscript-zeropoint --help
$ astscript-zeropoint zp/jplus-no-sky.fits --hdu=1 \
- --reference=sdss1.fits,sdss2.fits \
+ --reference=zp/sdss1.fits,zp/sdss2.fits \
--referencehdu=0,0 --referencezp=22.5,22.5 \
- --keeptmp --tmpdir=checking-zp
+ --keeptmp --tmpdir=zp/checking
+@end example
+
+One of the most important parameters of this script is the aperture size,
@option{--aperarcsec}, for the aperture photometry of images and creating the
catalogs.
+On the one hand, if the selected aperture size is very small, part of the
light of the star will be ignored in the magnitude estimation.
+On the other hand, with large aperture size, the light of neighboring stars
affects the magnitude calculation.
+Logically we should select aperture sizes around 2 to 3 times the FWHM of the
image.
+Practically, we compare the result for several aperture sizes and choose the
best one.
+For now, let's assume the values 2, 3, 4, 5, and 6 arcsec for this option and
identify the most accurate result in continuing.
+
+In parallel, the next important point is whether all of the bright or faint
stars in the input image are comparable with reference stars.
+To better clarify, let’s see a plot that shows the difference of magnitudes of
JPLUS and SDSS stars versus SDSS magnitudes for a specific aperture size, for
example, 3 arcsec.
+Note that two catalogs created by aperture photometry from SDSS image are
merged so that there are more stars to compare.
+You can draw similar plots for each of the selected apertures using the
temporal files which are saved in the checking directory.
+
+Figure ...
+
+Ideally, it is expected that differences in magnitudes be around a straight
line with very small fluctuations.
+But in practice, this behaviour is seen only for stars with magnitudes about
19 to 21 mag in reference SDSS catalog.
+The brighter stars are probabely saturated in J-PLUS image and thus they do
have not the correct magnitude in the J-PLUS catalog (for more details about
saturated pixels and recognition of the saturated level of the image, please
see @ref{Saturated pixels and Segment's clumps}).
+You can check some of these stars visually by opening the J-PLUS image.
+
+On the other hand, it is natural can not see accurate magnitudes for the faint
stars in SDSS catalog, because the completness limit of each image is limited
and since the J-PLUS image is deeper than SDSS image, such faint stars in SDSS
image are not good references for estimating of zero point of J-PLUS.
+So, let's limit the range of magnitudes used from the SDSS catalog to
calculate more accurate zero point for J-PLUS image.
+For that, there is the option @option{--magnituderange} in the
@command{astscript-zeropoint}.
+
+@example
+$ astscript-zeropoint zp/jplus-no-sky.fits --hdu=1 \
+ --reference=zp/sdss1.fits,zp/sdss2.fits \
+ --referencehdu=0,0 --referencezp=22.5,22.5 \
+ --aperarcsec=2,3,4,5,6 --magnituderange=19,21 \
+ --keeptmp --tmpdir=zp/checking
@end example
- [gnuastro-commits] master updated (dd7ccfb7 -> 21cd71bf), Mohammad Akhlaghi, 2023/04/19
- [gnuastro-commits] master 1ddcf29a 06/39: zeropoint: options of zeropoint estimation is written in book, Mohammad Akhlaghi, 2023/04/19
- [gnuastro-commits] master c3fc5214 04/39: Zeropoint: add options with variable, Mohammad Akhlaghi, 2023/04/19
- [gnuastro-commits] master d44ce8c0 10/39: zeropoint: use --magrage provided by user, Mohammad Akhlaghi, 2023/04/19
- [gnuastro-commits] master 8be4edd7 18/39: Zeropoint: a bug about the magnitude range, Mohammad Akhlaghi, 2023/04/19
- [gnuastro-commits] master 10030cfc 11/39: Zeropoint: add magnitude range into the header of output, Mohammad Akhlaghi, 2023/04/19
- [gnuastro-commits] master e39330ab 17/39: Zeropoint: adding sanity check for aperture option, Mohammad Akhlaghi, 2023/04/19
- [gnuastro-commits] master 46d328cd 12/39: Book: writing a tutorial for the zero-point script; preface, Mohammad Akhlaghi, 2023/04/19
- [gnuastro-commits] master 01dcbeed 15/39: Book: tutorial of zero point; magnitude range and aperture size,
Mohammad Akhlaghi <=
- [gnuastro-commits] master b3077f0d 27/39: Book: revision of the first part of the zeropoint tutorial, Mohammad Akhlaghi, 2023/04/19
- [gnuastro-commits] master 17b5fa81 36/39: Book: simplifying and polishing the zero point script tutorial, Mohammad Akhlaghi, 2023/04/19
- [gnuastro-commits] master 7769e279 07/39: zeropoint: new options for magnitude and keeping the results are added, Mohammad Akhlaghi, 2023/04/19
- [gnuastro-commits] master a1c7a277 16/39: Book: tutorial of zero point; select the best aperture, Mohammad Akhlaghi, 2023/04/19
- [gnuastro-commits] master 1a987e04 19/39: Book: tutorial of zero point; using keepzpap and completion of results, Mohammad Akhlaghi, 2023/04/19
- [gnuastro-commits] master a3c0f0e2 31/39: Zeropoint: optimize the script for overlaping check, Mohammad Akhlaghi, 2023/04/19
- [gnuastro-commits] master 156da6c7 28/39: Book: Increase readability and correction, Mohammad Akhlaghi, 2023/04/19
- [gnuastro-commits] master d8402f1a 32/39: Book: some command and some tips is added to better recognition, Mohammad Akhlaghi, 2023/04/19
- [gnuastro-commits] master 6ff43d00 05/39: Zeropoint: script for estimating the zeropoint of an image, Mohammad Akhlaghi, 2023/04/19
- [gnuastro-commits] master 76c8a482 03/39: Zeropoint: add a script for bing it on Gnuastro, Mohammad Akhlaghi, 2023/04/19