浏览代码

make documentation conform to std to radius change in parameter names (merge from trunk, https://trac.osgeo.org/grass/changeset/65926)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@65927 15284696-431f-4ddb-bdfa-cd5b030d7da7
Moritz Lennert 9 年之前
父节点
当前提交
1c1b06d4ee
共有 2 个文件被更改,包括 7 次插入7 次删除
  1. 4 4
      vector/v.kernel/main.c
  2. 3 3
      vector/v.kernel/v.kernel.html

+ 4 - 4
vector/v.kernel/main.c

@@ -195,12 +195,12 @@ int main(int argc, char **argv)
     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 @@ int main(int argc, char **argv)
     /* 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 */

+ 3 - 3
vector/v.kernel/v.kernel.html

@@ -24,9 +24,9 @@ For the <em>gaussian</em> kernel, standard deviation for the
 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