gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 4d86ea0: Typo corrections in box.h and gnuastr


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 4d86ea0: Typo corrections in box.h and gnuastro.texi
Date: Fri, 28 Jul 2017 12:00:20 -0400 (EDT)

branch: master
commit 4d86ea08bfc4e639bd3e2b4ee6f2e2523bd213c1
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    Typo corrections in box.h and gnuastro.texi
    
    Recently, the angular units of `gal_box_bound_ellipse' were changed from
    radian to degrees. This was corrected in the C source code but not in the
    header! It is corrected now. A few typos in the book were also corrected.
---
 doc/gnuastro.texi  | 14 +++++++-------
 lib/gnuastro/box.h |  2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index e30d7a0..3f856c0 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -14748,7 +14748,7 @@ that image are used as the background value for every 
pixel. The flux value
 of each profile pixel will be added to the pixel in that background
 value. In this case, the values to all options relating to the output size
 and WCS will be ignored if specified (for example @option{--oversample},
address@hidden and @option{--prepforconv}) on the command-line or in the
address@hidden, and @option{--prepforconv}) on the command-line or in the
 configuration files.
 
 The sections below discuss the options specific to MakeProfiles based on
@@ -15135,12 +15135,12 @@ Only build one kernel profile with the parameters 
given as the values to
 this option. The different values must be separated by a comma
 (@key{,}). The first value identifies the radial function of the profile,
 either through a string or through a number (see description of
address@hidden below). Each radial profile needs a different total number
-of parameters: S@'ersic and Moffat functions need 3 parameters: radial,
-S@'ersic index or Moffat @mymath{\beta}, and truncation radius. The
-Gaussian function needs two parameters: radial and truncation radius. The
-point function doesn't need any parameters and flat and circumference
-profiles just need one parameter (truncation radius).
address@hidden in @ref{MakeProfiles catalog}). Each radial profile needs a
+different total number of parameters: S@'ersic and Moffat functions need 3
+parameters: radial, S@'ersic index or Moffat @mymath{\beta}, and truncation
+radius. The Gaussian function needs two parameters: radial and truncation
+radius. The point function doesn't need any parameters and flat and
+circumference profiles just need one parameter (truncation radius).
 
 The PSF or kernel is a unique (and highly constrained) type of profile: the
 sum of its pixels must be one, its center must be the center of the central
diff --git a/lib/gnuastro/box.h b/lib/gnuastro/box.h
index 7d4add5..31bffd4 100644
--- a/lib/gnuastro/box.h
+++ b/lib/gnuastro/box.h
@@ -52,7 +52,7 @@ __BEGIN_C_DECLS  /* From C++ preparations */
 */
 
 void
-gal_box_bound_ellipse(double a, double b, double theta_rad, long *width);
+gal_box_bound_ellipse(double a, double b, double theta_deg, long *width);
 
 void
 gal_box_border_from_center(double *center, size_t ndim, long *width,



reply via email to

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