[GRASS-SVN] r65927 - grass/branches/releasebranch_7_0/vector/v.kernel

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 13 09:32:08 PDT 2015


Author: mlennert
Date: 2015-08-13 09:32:08 -0700 (Thu, 13 Aug 2015)
New Revision: 65927

Modified:
   grass/branches/releasebranch_7_0/vector/v.kernel/main.c
   grass/branches/releasebranch_7_0/vector/v.kernel/v.kernel.html
Log:
make documentation conform to std to radius change in parameter names  (merge from trunk, r65926)

Modified: grass/branches/releasebranch_7_0/vector/v.kernel/main.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.kernel/main.c	2015-08-13 16:28:06 UTC (rev 65926)
+++ grass/branches/releasebranch_7_0/vector/v.kernel/main.c	2015-08-13 16:32:08 UTC (rev 65927)
@@ -195,12 +195,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';
@@ -369,8 +369,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/branches/releasebranch_7_0/vector/v.kernel/v.kernel.html
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.kernel/v.kernel.html	2015-08-13 16:28:06 UTC (rev 65926)
+++ grass/branches/releasebranch_7_0/vector/v.kernel/v.kernel.html	2015-08-13 16:32:08 UTC (rev 65927)
@@ -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