[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master 29f0cfd8: Book: corrected example of sigclip-*
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master 29f0cfd8: Book: corrected example of sigclip-* operators |
Date: |
Tue, 6 Aug 2024 13:04:20 -0400 (EDT) |
branch: master
commit 29f0cfd8f518d10e9fb42e30e14b0fe99ffab631
Author: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Book: corrected example of sigclip-* operators
Until now, the last example command of the 'sigclip-*' operators (under the
"Stacking operators" section of the book) contained the old
'madclip-fill-median' operator which was changed to the more
generic/powerful 'madclip-maskfilled' operator. This would cause a crash
when a reader tried the command with Gnuastro 0.23.
With this commit, the command has been corrected to use the operators that
are available at the moment.
This problem as reported by Alejandro Lumbreras-Calle.
---
doc/announce-acknowledge.txt | 1 +
doc/gnuastro.texi | 5 +++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/doc/announce-acknowledge.txt b/doc/announce-acknowledge.txt
index 3423ea44..23664046 100644
--- a/doc/announce-acknowledge.txt
+++ b/doc/announce-acknowledge.txt
@@ -1,5 +1,6 @@
Alphabetically ordered list to acknowledge in the next release.
+Alejandro Lumbreras-Calle
Antonio Diaz Diaz
Hok Kan (Ronald) Tsang
Phil Wyett
diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index 48aa914b..ae304e74 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -22250,8 +22250,9 @@ $ astarithmetic a.fits b.fits c.fits -g1 \
In case you just want the numbers image, you can use @option{sigclip-median}
(which is always calculated as part of the clipping process: no extra
overhead), and @code{free} the top operand (without the @code{swap}: the
median-stack image), leaving only the numbers image:
@example
-$ astarithmetic a.fits b.fits c.fits 3 5 0.01 \
- madclip-fill-median -g1 free \
+$ astarithmetic a.fits b.fits c.fits -g1 \
+ 3 5 0.01 madclip-maskfilled \
+ 3 4 0.1 sigclip-median free \
--output=single-hdu-only-numbers.fits
@end example
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnuastro-commits] master 29f0cfd8: Book: corrected example of sigclip-* operators,
Mohammad Akhlaghi <=