Skip to content

Commit

Permalink
Issue 106: SVM improve sample-spacing computation
Browse files Browse the repository at this point in the history
  • Loading branch information
gwlucastrig committed Jan 14, 2024
1 parent 998a9b5 commit 569de00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion svm/src/main/java/org/tinfour/svm/SvmComputation.java
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ public void processVolume(
}
ps.format(" Sounding spacing%n");
ps.format(" mean %12.3f %s%n", meanLen / lengthFactor, lengthUnits);
ps.format(" std/dev %12.3f %s%n", sigma/lengthFactor, lengthUnits);
ps.format(" std dev %12.3f %s%n", sigma/lengthFactor, lengthUnits);
ps.format(" median %12.3f %s%n", medianLen / lengthFactor, lengthUnits);
ps.format("%n");
}
Expand Down
11 changes: 5 additions & 6 deletions svm/src/main/resources/org/tinfour/svm/SvmTemplate.properties
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,11 @@ capacityGraphTitle = SVM Analysis for Alan Henry Reservoir
#
# Compute Sounding Spacing --------------------------------------------
# If configured to do so, the SVM utility will compute the sounding spacing
# for input data. The mean and median spacing between soundings in the
# "samples" files will be computed. For this calculation to produce meaningful
# results, it is required that the samples be given in the order in which
# they were collected.
# Note that only the "samples" specifications are analyzed. The
# "supplemental" specifications are not considered.
# for input data. The mean, standard deviation, and median spacing between soundings in the
# "samples" files will be computed. This calculation is based on the lengths
# of interior edges in the Delaunay triangulation construced from the
# sources and constraints. Constraint-edges (i.e. shoreline edges) are
# not considered.
# By default, computeSoundingSpacing is assigned a value of false.
#
#
Expand Down

0 comments on commit 569de00

Please sign in to comment.