[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master bf8792c2 52/69: Book: For selecting stars some
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master bf8792c2 52/69: Book: For selecting stars some mandatory options did not mention |
Date: |
Wed, 26 Jan 2022 12:39:14 -0500 (EST) |
branch: master
commit bf8792c28a47610b21ff5b0db017fe01f0b5ab50
Author: Sepideh Eskandarlou <sepideh.eskandarlou@gmail.com>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Book: For selecting stars some mandatory options did not mention
Until now, in book for selecting stars in different range of magnitude,
from '--min' and '--max' option was used. And some options such as
'--minaxisratio', '--mindistdeg' and '--matchaperturedeg' was defined as
optional options.
Now, from '--magnituderange' have been used for selecting stars in
different range of magnitude instead of '--min' and '--max' options. The
'--minaxisratio', '--mindistdeg' and '--matchaperturedeg' options are
mandatory now and in examples of part of selecting stars, these options
have been used.
---
doc/gnuastro.texi | 38 ++++++++++++++++++++++++--------------
1 file changed, 24 insertions(+), 14 deletions(-)
diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index 2b6b5507..cc1dd086 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -23462,6 +23462,9 @@ $ NORMRADII_OUTER=30
$ IMAGE=image.fits.fz
$ MINIMUM_MAGNITUDE=0
$ MAXIMUM_MAGNITUDE=10
+$ MINIMUM_AXISRATIO=0.9
+$ MINIMUM_DISTANCE=0.1
+$ MATCH_APERTURE=0.25
$ IMAGEID="jplus-dr2/get_fits?id=67510"
$ URL="http://archive.cefca.es/catalogues/vo/siap/"
@end example
@@ -23473,8 +23476,10 @@ After that, use the script
@file{astscript-psf-create-select-stars} to select on
$ wget $URL$IMAGEID -O $IMAGE
$ astscript-psf-create-select-stars $IMAGE --hdu=1 \
- --min=$MINIMUM_MAGNITUDE \
- --max=$MAXIMUM_MAGNITUDE \
+ --magnituderange=$MINIMUM_MAGNITUDE,$MAXIMUM_MAGNITUDE \
+ --minaxisratio=$MINIMUM_AXISRATIO \
+ --mindistdeg=$MINIMUM_DISTANCE \
+ --matchaperturedeg=$MATCH_APERTURE \
--output=catalog.fits
@end example
@@ -23597,24 +23602,29 @@ Examples:
@example
## From input, image select the stars in the range of
-## magnitude between '--min' and '--max'.
+## magnitude between '7' and '9'.
$ astscript-psf-create-select-stars image.fits --hdu=1 \
- --segmented=segment.fits --min=5 --max=7 \
- --output=selected-gaiastars.fits
+ --magnituderange=7,9 \
+ --minaxisratio=0.9 \
+ --mindistdeg=0.1 \
+ --matchaperturedeg=0.25 \
+ --output=catalog.fits
## Select the stars in the range of magnitude between
-## 5 and 7 magnitudes from starscatalog.fits
-$ astscript-psf-creat-select-stars image.fits --hdu=1 \
- --catalog=starscatalog.fits --segmented=segment.fits \
- --min=5 --max=7 --output=selected-simulatestars.fits
+## 7 and 9 magnitudes from starscatalog.fits
+$ astscript-psf-create-select-stars image.fits --hdu=1 \
+ --catalog=starscatalog.fits \
+ --magnituderange=7,9 \
+ --minaxisratio=0.9 \
+ --mindistdeg=0.1 \
+ --matchaperturedeg=0.25 \
+ --output=catalog.fits
@end example
-The input of this script is an image that gives us a table of stars in range
of magnitudes between @option{--min} to @option{--max} as output.
-It is possible to provide a segmented image with the option
@option{--segmented}.
-This image should be the output of @option{astsegment} and it is used to match
the catalog of stars from gaia with clumps catalog.
-You can also optionally specify the magnitude range with the the options
@option{--min} and @option{--max}.
-If the @option{--min} and @option{--max} options are not specified, by default
19 and 20 are selected for @option{--min} and @option{--max}, respectively.
+The input of this script is an image that gives us a table of stars in range
of magnitudes between 7 to 9 as output.
+It is possible to provide the range of magnitude with the option
@option{--magnituderange}.
+The @option{--magnituderange}, @option{--minaxisratio}, @option{--mindistdeg}
and @option{--matchaperturedeg} are mandatory and if these are not specified
the code will be aborted. In the below, explains more about these options.
The output of this script is a file whose name can be specified with the
@option{--output} option.
More options are available with the goal of obtaining good selected stars.
- [gnuastro-commits] master ccae240f 29/69: PSF stamp: bug in --rmax option introduced in previous commit fixed, (continued)
- [gnuastro-commits] master ccae240f 29/69: PSF stamp: bug in --rmax option introduced in previous commit fixed, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master de1b645b 20/69: PSF stamp: computing radial profile up to the minimum possible value, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 194b49d1 59/69: PSF select-stars: change the name of the two varibales., Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 781f0f33 39/69: PSF scripts: checking that the input file actually exists, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 0a6625ab 61/69: Book: explain about two new option in the psf-create-select-stars, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 6901ec82 49/69: PSF select-stars: check the image and catalog have a overlap area or not, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master f9b7edfa 10/69: PSF stamp: removing the option --oversample as it is not enabled, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 81720014 15/69: Book: adding documentation of 'psf-model-flux-factor' script, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 9ca784e4 27/69: PSF select stars: if the image has not stars in `--min` and `--max` range, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master f1cfd384 25/69: PSF select stars: remove --input add --output and --catalog, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master bf8792c2 52/69: Book: For selecting stars some mandatory options did not mention,
Mohammad Akhlaghi <=
- [gnuastro-commits] master f3619dd5 57/69: Book: edits in the PSF scripts, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master ce020710 41/69: Book: new section for the tutorial on how to construct and extended PSF, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 9ab3dd28 51/69: PSF stamp: new option to set a mask sky pixel value: maskskyval, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 31f0373a 05/69: PSF model: new script for putting a PSF image into a sky position, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 0ea23b70 69/69: Book: PSF tutorial now with instruction to build first inner region, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 00f2ab56 63/69: PSF select-stars: simplifying some parts and language corrections, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 6638c671 53/69: Book: correct the definition of option --minaxisratio, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master e9f4d343 09/69: PSF model: fixed bug in defining the radial profiles for flux factor, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 30e33ec6 06/69: PSF model: new script for computing the PSF flux factor, Mohammad Akhlaghi, 2022/01/26
- [gnuastro-commits] master 65fb6894 02/69: PSF stamp: wrong script location, fixing it, Mohammad Akhlaghi, 2022/01/26