[GRASS-SVN] r65926 - grass/trunk/vector/v.kernel
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Aug 13 09:28:06 PDT 2015
Author: mlennert
Date: 2015-08-13 09:28:06 -0700 (Thu, 13 Aug 2015)
New Revision: 65926
Modified:
grass/trunk/vector/v.kernel/main.c
grass/trunk/vector/v.kernel/v.kernel.html
Log:
make documentation conform to std to radius change in parameter names
Modified: grass/trunk/vector/v.kernel/main.c
===================================================================
--- grass/trunk/vector/v.kernel/main.c 2015-08-13 09:47:56 UTC (rev 65925)
+++ grass/trunk/vector/v.kernel/main.c 2015-08-13 16:28:06 UTC (rev 65926)
@@ -198,12 +198,12 @@
flag_o = G_define_flag();
flag_o->key = 'o';
flag_o->description =
- _("Try to calculate an optimal standard deviation with 'stddeviation' taken as maximum (experimental)");
+ _("Try to calculate an optimal radius with given 'radius' taken as maximum (experimental)");
flag_q = G_define_flag();
flag_q->key = 'q';
flag_q->description =
- _("Only calculate optimal standard deviation and exit (no map is written)");
+ _("Only calculate optimal radius and exit (no map is written)");
flag_normalize = G_define_flag();
flag_normalize->key = 'n';
@@ -372,8 +372,8 @@
/* valutazione distanza ottimale */
if (flag_o->answer) {
/* Note: sigmaOptimal calculates using ALL points (also those outside the region) */
- G_message(_("Automatic choice of smoothing parameter (standard deviation), maximum possible "
- "value of standard deviation is set to %f"), sigma);
+ G_message(_("Automatic choice of smoothing parameter (radius), maximum possible "
+ "value of radius is set to %f"), sigma);
/* maximum distance 4*sigma (3.9*sigma ~ 1.0000), keep it small, otherwise it takes
* too much points and calculation on network becomes slow */
Modified: grass/trunk/vector/v.kernel/v.kernel.html
===================================================================
--- grass/trunk/vector/v.kernel/v.kernel.html 2015-08-13 09:47:56 UTC (rev 65925)
+++ grass/trunk/vector/v.kernel/v.kernel.html 2015-08-13 16:28:06 UTC (rev 65926)
@@ -24,9 +24,9 @@
is set to 1/4 of the radius.
<p>
With the <b>-o</b> flag (experimental) the command tries to calculate an
-optimal standard deviation. The value of <em>stddeviation</em> is taken
-as maximum value. Standard deviation is calculated using ALL points,
-not just those in the current region.
+optimal radius. The value of <em>radius</em> is taken
+as maximum value. The radius is calculated based on the gaussian function,
+using ALL points, not just those in the current region.
<h2>LIMITATIONS</h2>
The module only considers the presence of points, but not
More information about the grass-commit
mailing list