w-geo 1.0.36 → 1.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -23,5 +23,5 @@ npm i w-geo
23
23
 
24
24
  Add script for w-geo.
25
25
  ```alias
26
- <script src="https://cdn.jsdelivr.net/npm/w-geo@1.0.36/dist/w-geo.umd.js"></script>
26
+ <script src="https://cdn.jsdelivr.net/npm/w-geo@1.0.37/dist/w-geo.umd.js"></script>
27
27
  ```
package/dist/w-geo.umd.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * w-geo v1.0.36
2
+ * w-geo v1.0.37
3
3
  * (c) 2018-2021 yuda-lyu(semisphere)
4
4
  * Released under the MIT License.
5
5
  */
@@ -27,7 +27,7 @@
27
27
 
28
28
  <nav >
29
29
 
30
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByExtent">calcDepthStartEndByExtent</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
30
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByConnect">calcDepthStartEndByConnect</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
31
31
  </nav>
32
32
 
33
33
  <div id="main">
@@ -59,7 +59,7 @@
59
59
  <br class="clear">
60
60
 
61
61
  <footer>
62
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:46:15 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
62
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:59:41 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
63
63
  </footer>
64
64
 
65
65
  <script>prettyPrint();</script>
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
 
5
5
  <meta charset="utf-8">
6
- <title>calcDepthStartEndByExtent.mjs - Documentation</title>
6
+ <title>calcDepthStartEndByConnect.mjs - Documentation</title>
7
7
 
8
8
 
9
9
  <script src="scripts/prettify/prettify.js"></script>
@@ -27,12 +27,12 @@
27
27
 
28
28
  <nav >
29
29
 
30
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByExtent">calcDepthStartEndByExtent</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
30
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByConnect">calcDepthStartEndByConnect</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
31
31
  </nav>
32
32
 
33
33
  <div id="main">
34
34
 
35
- <h1 class="page-title">calcDepthStartEndByExtent.mjs</h1>
35
+ <h1 class="page-title">calcDepthStartEndByConnect.mjs</h1>
36
36
 
37
37
 
38
38
 
@@ -58,7 +58,7 @@ import isnum from 'wsemi/src/isnum.mjs'
58
58
  /**
59
59
  * 調整各樣本起訖深度成為各層互相接續狀態
60
60
  *
61
- * Unit Test: {@link https://github.com/yuda-lyu/w-geo/blob/master/test/calcDepthStartEndByExtent.test.js Github}
61
+ * Unit Test: {@link https://github.com/yuda-lyu/w-geo/blob/master/test/calcDepthStartEndByConnect.test.js Github}
62
62
  * @memberOf w-geo
63
63
  * @param {Array} rows 輸入數據陣列,各數據為物件,至少需包含起始深度(depthStart)與結束深度(depthEnd),深度單位為m
64
64
  * @param {Object} [opt={}] 輸入設定物件,預設{}
@@ -85,7 +85,7 @@ import isnum from 'wsemi/src/isnum.mjs'
85
85
  * depthEnd: 15,
86
86
  * },
87
87
  * ]
88
- * rs = calcDepthStartEndByExtent(rows)
88
+ * rs = calcDepthStartEndByConnect(rows)
89
89
  * console.log(rs)
90
90
  * // => [
91
91
  * // { depthStart: 0, depthEnd: 5 },
@@ -104,7 +104,7 @@ import isnum from 'wsemi/src/isnum.mjs'
104
104
  * },
105
105
  * ]
106
106
  * try {
107
- * rs = calcDepthStartEndByExtent(rows)
107
+ * rs = calcDepthStartEndByConnect(rows)
108
108
  * }
109
109
  * catch (err) {
110
110
  * rs = err.toString()
@@ -122,7 +122,7 @@ import isnum from 'wsemi/src/isnum.mjs'
122
122
  * depthEnd: '10',
123
123
  * },
124
124
  * ]
125
- * rs = calcDepthStartEndByExtent(rows)
125
+ * rs = calcDepthStartEndByConnect(rows)
126
126
  * console.log(rs)
127
127
  * // => [ { depthStart: '0', depthEnd: 5 }, { depthStart: 5, depthEnd: '10' } ]
128
128
  *
@@ -137,7 +137,7 @@ import isnum from 'wsemi/src/isnum.mjs'
137
137
  * },
138
138
  * ]
139
139
  * try {
140
- * rs = calcDepthStartEndByExtent(rows)
140
+ * rs = calcDepthStartEndByConnect(rows)
141
141
  * }
142
142
  * catch (err) {
143
143
  * rs = err.toString()
@@ -155,7 +155,7 @@ import isnum from 'wsemi/src/isnum.mjs'
155
155
  * bottom_depth: 10,
156
156
  * },
157
157
  * ]
158
- * rs = calcDepthStartEndByExtent(rows, { keyDepthStart: 'top_depth', keyDepthEnd: 'bottom_depth' })
158
+ * rs = calcDepthStartEndByConnect(rows, { keyDepthStart: 'top_depth', keyDepthEnd: 'bottom_depth' })
159
159
  * console.log(rs)
160
160
  * // => [
161
161
  * // { top_depth: 0, bottom_depth: 5 },
@@ -176,7 +176,7 @@ import isnum from 'wsemi/src/isnum.mjs'
176
176
  * depthEnd: 15,
177
177
  * },
178
178
  * ]
179
- * rs = calcDepthStartEndByExtent(rows, { depthEndMax: 20 })
179
+ * rs = calcDepthStartEndByConnect(rows, { depthEndMax: 20 })
180
180
  * console.log(rs)
181
181
  * // => [
182
182
  * // { depthStart: 0, depthEnd: 5 },
@@ -185,7 +185,7 @@ import isnum from 'wsemi/src/isnum.mjs'
185
185
  * // ]
186
186
  *
187
187
  */
188
- function calcDepthStartEndByExtent(rows, opt = {}) {
188
+ function calcDepthStartEndByConnect(rows, opt = {}) {
189
189
  let errs = []
190
190
 
191
191
  //check
@@ -303,7 +303,7 @@ function calcDepthStartEndByExtent(rows, opt = {}) {
303
303
  }
304
304
 
305
305
 
306
- export default calcDepthStartEndByExtent
306
+ export default calcDepthStartEndByConnect
307
307
  </code></pre>
308
308
  </article>
309
309
  </section>
@@ -318,7 +318,7 @@ export default calcDepthStartEndByExtent
318
318
  <br class="clear">
319
319
 
320
320
  <footer>
321
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:46:15 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
321
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:59:41 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
322
322
  </footer>
323
323
 
324
324
  <script>prettyPrint();</script>
@@ -27,7 +27,7 @@
27
27
 
28
28
  <nav >
29
29
 
30
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByExtent">calcDepthStartEndByExtent</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
30
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByConnect">calcDepthStartEndByConnect</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
31
31
  </nav>
32
32
 
33
33
  <div id="main">
@@ -562,7 +562,7 @@ export default calcDepthStartEndByGroup
562
562
  <br class="clear">
563
563
 
564
564
  <footer>
565
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:46:15 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
565
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:59:41 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
566
566
  </footer>
567
567
 
568
568
  <script>prettyPrint();</script>
@@ -27,7 +27,7 @@
27
27
 
28
28
  <nav >
29
29
 
30
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByExtent">calcDepthStartEndByExtent</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
30
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByConnect">calcDepthStartEndByConnect</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
31
31
  </nav>
32
32
 
33
33
  <div id="main">
@@ -343,7 +343,7 @@ export default calcDepthStartEndFromCenter
343
343
  <br class="clear">
344
344
 
345
345
  <footer>
346
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:46:15 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
346
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:59:41 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
347
347
  </footer>
348
348
 
349
349
  <script>prettyPrint();</script>
@@ -27,7 +27,7 @@
27
27
 
28
28
  <nav >
29
29
 
30
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByExtent">calcDepthStartEndByExtent</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
30
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByConnect">calcDepthStartEndByConnect</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
31
31
  </nav>
32
32
 
33
33
  <div id="main">
@@ -4507,7 +4507,7 @@ export default calcLiquefaction
4507
4507
  <br class="clear">
4508
4508
 
4509
4509
  <footer>
4510
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:46:15 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
4510
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:59:41 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
4511
4511
  </footer>
4512
4512
 
4513
4513
  <script>prettyPrint();</script>
@@ -27,7 +27,7 @@
27
27
 
28
28
  <nav >
29
29
 
30
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByExtent">calcDepthStartEndByExtent</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
30
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByConnect">calcDepthStartEndByConnect</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
31
31
  </nav>
32
32
 
33
33
  <div id="main">
@@ -593,7 +593,7 @@ export default calcVerticalStress
593
593
  <br class="clear">
594
594
 
595
595
  <footer>
596
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:46:15 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
596
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:59:41 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
597
597
  </footer>
598
598
 
599
599
  <script>prettyPrint();</script>
@@ -27,7 +27,7 @@
27
27
 
28
28
  <nav >
29
29
 
30
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByExtent">calcDepthStartEndByExtent</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
30
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByConnect">calcDepthStartEndByConnect</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
31
31
  </nav>
32
32
 
33
33
  <div id="main">
@@ -209,7 +209,7 @@ export default checkDepth
209
209
  <br class="clear">
210
210
 
211
211
  <footer>
212
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:46:15 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
212
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:59:41 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
213
213
  </footer>
214
214
 
215
215
  <script>prettyPrint();</script>
@@ -27,7 +27,7 @@
27
27
 
28
28
  <nav >
29
29
 
30
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByExtent">calcDepthStartEndByExtent</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
30
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByConnect">calcDepthStartEndByConnect</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
31
31
  </nav>
32
32
 
33
33
  <div id="main">
@@ -239,7 +239,7 @@ export default checkDepthStartEnd
239
239
  <br class="clear">
240
240
 
241
241
  <footer>
242
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:46:15 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
242
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:59:41 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
243
243
  </footer>
244
244
 
245
245
  <script>prettyPrint();</script>
@@ -27,7 +27,7 @@
27
27
 
28
28
  <nav >
29
29
 
30
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByExtent">calcDepthStartEndByExtent</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
30
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByConnect">calcDepthStartEndByConnect</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
31
31
  </nav>
32
32
 
33
33
  <div id="main">
@@ -484,7 +484,7 @@ export default groupByDepthStartEnd
484
484
  <br class="clear">
485
485
 
486
486
  <footer>
487
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:46:15 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
487
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:59:41 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
488
488
  </footer>
489
489
 
490
490
  <script>prettyPrint();</script>
package/docs/index.html CHANGED
@@ -27,7 +27,7 @@
27
27
 
28
28
  <nav >
29
29
 
30
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByExtent">calcDepthStartEndByExtent</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
30
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByConnect">calcDepthStartEndByConnect</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
31
31
  </nav>
32
32
 
33
33
  <div id="main">
@@ -68,7 +68,7 @@
68
68
  <br class="clear">
69
69
 
70
70
  <footer>
71
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:46:15 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
71
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:59:41 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
72
72
  </footer>
73
73
 
74
74
  <script>prettyPrint();</script>
@@ -27,7 +27,7 @@
27
27
 
28
28
  <nav >
29
29
 
30
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByExtent">calcDepthStartEndByExtent</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
30
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByConnect">calcDepthStartEndByConnect</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
31
31
  </nav>
32
32
 
33
33
  <div id="main">
@@ -519,7 +519,7 @@ export default relaPorousParams
519
519
  <br class="clear">
520
520
 
521
521
  <footer>
522
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:46:15 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
522
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:59:41 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
523
523
  </footer>
524
524
 
525
525
  <script>prettyPrint();</script>
@@ -27,7 +27,7 @@
27
27
 
28
28
  <nav >
29
29
 
30
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByExtent">calcDepthStartEndByExtent</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
30
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByConnect">calcDepthStartEndByConnect</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
31
31
  </nav>
32
32
 
33
33
  <div id="main">
@@ -313,7 +313,7 @@ export default sepDepthStartEndByDepth
313
313
  <br class="clear">
314
314
 
315
315
  <footer>
316
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:46:15 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
316
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:59:41 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
317
317
  </footer>
318
318
 
319
319
  <script>prettyPrint();</script>
package/docs/w-geo.html CHANGED
@@ -27,7 +27,7 @@
27
27
 
28
28
  <nav >
29
29
 
30
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByExtent">calcDepthStartEndByExtent</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
30
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="w-geo.html">w-geo</a><ul class='methods'><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByConnect">calcDepthStartEndByConnect</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndByGroup">calcDepthStartEndByGroup</a></li><li data-type='method'><a href="w-geo.html#.calcDepthStartEndFromCenter">calcDepthStartEndFromCenter</a></li><li data-type='method'><a href="w-geo.html#.calcVerticalStress">calcVerticalStress</a></li><li data-type='method'><a href="w-geo.html#.checkDepth">checkDepth</a></li><li data-type='method'><a href="w-geo.html#.checkDepthStartEnd">checkDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.groupByDepthStartEnd">groupByDepthStartEnd</a></li><li data-type='method'><a href="w-geo.html#.relaPorousParams">relaPorousParams</a></li><li data-type='method'><a href="w-geo.html#.sepDepthStartEndByDepth">sepDepthStartEndByDepth</a></li><li data-type='method'><a href="w-geo.html#.sptHBF">sptHBF</a></li><li data-type='method'><a href="w-geo.html#.sptNCEER">sptNCEER</a></li><li data-type='method'><a href="w-geo.html#.sptNJRA">sptNJRA</a></li><li data-type='method'><a href="w-geo.html#.sptSeed">sptSeed</a></li><li data-type='method'><a href="w-geo.html#.sptTY">sptTY</a></li></ul></li></ul>
31
31
  </nav>
32
32
 
33
33
  <div id="main">
@@ -236,7 +236,7 @@
236
236
 
237
237
 
238
238
 
239
- <h4 class="name" id=".calcDepthStartEndByExtent"><span class="type-signature">(static) </span>calcDepthStartEndByExtent<span class="signature">(rows, opt<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Array}</span></h4>
239
+ <h4 class="name" id=".calcDepthStartEndByConnect"><span class="type-signature">(static) </span>calcDepthStartEndByConnect<span class="signature">(rows, opt<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Array}</span></h4>
240
240
 
241
241
 
242
242
 
@@ -248,7 +248,7 @@
248
248
 
249
249
  <dt class="tag-source">Source:</dt>
250
250
  <dd class="tag-source"><ul class="dummy"><li>
251
- <a href="calcDepthStartEndByExtent.mjs.html">calcDepthStartEndByExtent.mjs</a>, <a href="calcDepthStartEndByExtent.mjs.html#line144">line 144</a>
251
+ <a href="calcDepthStartEndByConnect.mjs.html">calcDepthStartEndByConnect.mjs</a>, <a href="calcDepthStartEndByConnect.mjs.html#line144">line 144</a>
252
252
  </li></ul></dd>
253
253
 
254
254
 
@@ -289,7 +289,7 @@
289
289
 
290
290
  <div class="description usertext">
291
291
  <p>調整各樣本起訖深度成為各層互相接續狀態</p>
292
- <p>Unit Test: <a href="https://github.com/yuda-lyu/w-geo/blob/master/test/calcDepthStartEndByExtent.test.js">Github</a></p>
292
+ <p>Unit Test: <a href="https://github.com/yuda-lyu/w-geo/blob/master/test/calcDepthStartEndByConnect.test.js">Github</a></p>
293
293
  </div>
294
294
 
295
295
 
@@ -302,7 +302,7 @@
302
302
 
303
303
  <h5>Example</h5>
304
304
 
305
- <pre class="prettyprint"><code>let rows
306
305
  {
307
306
  depthStart: 0,
308
307
  depthEnd: 4,
309
308
  },
310
309
  {
311
310
  depthStart: 6,
312
311
  depthEnd: 10,
313
312
  },
314
313
  {
315
314
  depthStart: 11,
316
315
  depthEnd: 15,
317
316
  },
318
317
  {
319
318
  depthStart: 0,
320
319
  depthEnd: 5,
321
320
  },
322
321
  {
323
322
  depthStart: 4,
324
323
  depthEnd: 15,
325
324
  },
326
325
  rs = calcDepthStartEndByExtent(rows)
327
326
  rs = err.toString()
328
327
  {
329
328
  depthStart: '0',
330
329
  depthEnd: '4',
331
330
  },
332
331
  {
333
332
  depthStart: '6',
334
333
  depthEnd: '10',
335
334
  },
336
335
  {
337
336
  depthStart: '0',
338
337
  depthEnd: 'abc',
339
338
  },
340
339
  {
341
340
  depthStart: 'abc',
342
341
  depthEnd: '10',
343
342
  },
344
343
  rs = calcDepthStartEndByExtent(rows)
345
344
  rs = err.toString()
346
345
  {
347
346
  top_depth: 0,
348
347
  bottom_depth: 4,
349
348
  },
350
349
  {
351
350
  top_depth: 6,
352
351
  bottom_depth: 10,
353
352
  },
354
353
  {
355
354
  depthStart: 0,
356
355
  depthEnd: 4,
357
356
  },
358
357
  {
359
358
  depthStart: 6,
360
359
  depthEnd: 10,
361
360
  },
362
361
  {
363
362
  depthStart: 11,
364
363
  depthEnd: 15,
365
364
  },
365
+ <pre class="prettyprint"><code>let rows
366
366
  {
367
367
  depthStart: 0,
368
368
  depthEnd: 4,
369
369
  },
370
370
  {
371
371
  depthStart: 6,
372
372
  depthEnd: 10,
373
373
  },
374
374
  {
375
375
  depthStart: 11,
376
376
  depthEnd: 15,
377
377
  },
378
378
  {
379
379
  depthStart: 0,
380
380
  depthEnd: 5,
381
381
  },
382
382
  {
383
383
  depthStart: 4,
384
384
  depthEnd: 15,
385
385
  },
386
386
  rs = calcDepthStartEndByConnect(rows)
387
387
  rs = err.toString()
388
388
  {
389
389
  depthStart: '0',
390
390
  depthEnd: '4',
391
391
  },
392
392
  {
393
393
  depthStart: '6',
394
394
  depthEnd: '10',
395
395
  },
396
396
  {
397
397
  depthStart: '0',
398
398
  depthEnd: 'abc',
399
399
  },
400
400
  {
401
401
  depthStart: 'abc',
402
402
  depthEnd: '10',
403
403
  },
404
404
  rs = calcDepthStartEndByConnect(rows)
405
405
  rs = err.toString()
406
406
  {
407
407
  top_depth: 0,
408
408
  bottom_depth: 4,
409
409
  },
410
410
  {
411
411
  top_depth: 6,
412
412
  bottom_depth: 10,
413
413
  },
414
414
  {
415
415
  depthStart: 0,
416
416
  depthEnd: 4,
417
417
  },
418
418
  {
419
419
  depthStart: 6,
420
420
  depthEnd: 10,
421
421
  },
422
422
  {
423
423
  depthStart: 11,
424
424
  depthEnd: 15,
425
425
  },
426
426
 
427
427
 
428
428
 
@@ -6959,7 +6959,7 @@
6959
6959
  <br class="clear">
6960
6960
 
6961
6961
  <footer>
6962
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:46:15 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
6962
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Sat Nov 27 2021 15:59:41 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
6963
6963
  </footer>
6964
6964
 
6965
6965
  <script>prettyPrint();</script>
package/g8.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import calcDepthStartEndByExtent from './src/calcDepthStartEndByExtent.mjs'
1
+ import calcDepthStartEndByConnect from './src/calcDepthStartEndByConnect.mjs'
2
2
 
3
3
 
4
4
  let rows
@@ -18,7 +18,7 @@ rows = [
18
18
  depthEnd: 15,
19
19
  },
20
20
  ]
21
- rs = calcDepthStartEndByExtent(rows)
21
+ rs = calcDepthStartEndByConnect(rows)
22
22
  console.log(rs)
23
23
  // => [
24
24
  // { depthStart: 0, depthEnd: 5 },
@@ -37,7 +37,7 @@ rows = [
37
37
  },
38
38
  ]
39
39
  try {
40
- rs = calcDepthStartEndByExtent(rows)
40
+ rs = calcDepthStartEndByConnect(rows)
41
41
  }
42
42
  catch (err) {
43
43
  rs = err.toString()
@@ -55,7 +55,7 @@ rows = [
55
55
  depthEnd: '10',
56
56
  },
57
57
  ]
58
- rs = calcDepthStartEndByExtent(rows)
58
+ rs = calcDepthStartEndByConnect(rows)
59
59
  console.log(rs)
60
60
  // => [ { depthStart: '0', depthEnd: 5 }, { depthStart: 5, depthEnd: '10' } ]
61
61
 
@@ -70,7 +70,7 @@ rows = [
70
70
  },
71
71
  ]
72
72
  try {
73
- rs = calcDepthStartEndByExtent(rows)
73
+ rs = calcDepthStartEndByConnect(rows)
74
74
  }
75
75
  catch (err) {
76
76
  rs = err.toString()
@@ -88,7 +88,7 @@ rows = [
88
88
  bottom_depth: 10,
89
89
  },
90
90
  ]
91
- rs = calcDepthStartEndByExtent(rows, { keyDepthStart: 'top_depth', keyDepthEnd: 'bottom_depth' })
91
+ rs = calcDepthStartEndByConnect(rows, { keyDepthStart: 'top_depth', keyDepthEnd: 'bottom_depth' })
92
92
  console.log(rs)
93
93
  // => [
94
94
  // { top_depth: 0, bottom_depth: 5 },
@@ -109,7 +109,7 @@ rows = [
109
109
  depthEnd: 15,
110
110
  },
111
111
  ]
112
- rs = calcDepthStartEndByExtent(rows, { depthEndMax: 20 })
112
+ rs = calcDepthStartEndByConnect(rows, { depthEndMax: 20 })
113
113
  console.log(rs)
114
114
  // => [
115
115
  // { depthStart: 0, depthEnd: 5 },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "w-geo",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "A tool for geotech analysis.",
5
5
  "main": "dist/w-geo.umd.js",
6
6
  "dependencies": {
@@ -14,7 +14,7 @@ import isnum from 'wsemi/src/isnum.mjs'
14
14
  /**
15
15
  * 調整各樣本起訖深度成為各層互相接續狀態
16
16
  *
17
- * Unit Test: {@link https://github.com/yuda-lyu/w-geo/blob/master/test/calcDepthStartEndByExtent.test.js Github}
17
+ * Unit Test: {@link https://github.com/yuda-lyu/w-geo/blob/master/test/calcDepthStartEndByConnect.test.js Github}
18
18
  * @memberOf w-geo
19
19
  * @param {Array} rows 輸入數據陣列,各數據為物件,至少需包含起始深度(depthStart)與結束深度(depthEnd),深度單位為m
20
20
  * @param {Object} [opt={}] 輸入設定物件,預設{}
@@ -41,7 +41,7 @@ import isnum from 'wsemi/src/isnum.mjs'
41
41
  * depthEnd: 15,
42
42
  * },
43
43
  * ]
44
- * rs = calcDepthStartEndByExtent(rows)
44
+ * rs = calcDepthStartEndByConnect(rows)
45
45
  * console.log(rs)
46
46
  * // => [
47
47
  * // { depthStart: 0, depthEnd: 5 },
@@ -60,7 +60,7 @@ import isnum from 'wsemi/src/isnum.mjs'
60
60
  * },
61
61
  * ]
62
62
  * try {
63
- * rs = calcDepthStartEndByExtent(rows)
63
+ * rs = calcDepthStartEndByConnect(rows)
64
64
  * }
65
65
  * catch (err) {
66
66
  * rs = err.toString()
@@ -78,7 +78,7 @@ import isnum from 'wsemi/src/isnum.mjs'
78
78
  * depthEnd: '10',
79
79
  * },
80
80
  * ]
81
- * rs = calcDepthStartEndByExtent(rows)
81
+ * rs = calcDepthStartEndByConnect(rows)
82
82
  * console.log(rs)
83
83
  * // => [ { depthStart: '0', depthEnd: 5 }, { depthStart: 5, depthEnd: '10' } ]
84
84
  *
@@ -93,7 +93,7 @@ import isnum from 'wsemi/src/isnum.mjs'
93
93
  * },
94
94
  * ]
95
95
  * try {
96
- * rs = calcDepthStartEndByExtent(rows)
96
+ * rs = calcDepthStartEndByConnect(rows)
97
97
  * }
98
98
  * catch (err) {
99
99
  * rs = err.toString()
@@ -111,7 +111,7 @@ import isnum from 'wsemi/src/isnum.mjs'
111
111
  * bottom_depth: 10,
112
112
  * },
113
113
  * ]
114
- * rs = calcDepthStartEndByExtent(rows, { keyDepthStart: 'top_depth', keyDepthEnd: 'bottom_depth' })
114
+ * rs = calcDepthStartEndByConnect(rows, { keyDepthStart: 'top_depth', keyDepthEnd: 'bottom_depth' })
115
115
  * console.log(rs)
116
116
  * // => [
117
117
  * // { top_depth: 0, bottom_depth: 5 },
@@ -132,7 +132,7 @@ import isnum from 'wsemi/src/isnum.mjs'
132
132
  * depthEnd: 15,
133
133
  * },
134
134
  * ]
135
- * rs = calcDepthStartEndByExtent(rows, { depthEndMax: 20 })
135
+ * rs = calcDepthStartEndByConnect(rows, { depthEndMax: 20 })
136
136
  * console.log(rs)
137
137
  * // => [
138
138
  * // { depthStart: 0, depthEnd: 5 },
@@ -141,7 +141,7 @@ import isnum from 'wsemi/src/isnum.mjs'
141
141
  * // ]
142
142
  *
143
143
  */
144
- function calcDepthStartEndByExtent(rows, opt = {}) {
144
+ function calcDepthStartEndByConnect(rows, opt = {}) {
145
145
  let errs = []
146
146
 
147
147
  //check
@@ -259,4 +259,4 @@ function calcDepthStartEndByExtent(rows, opt = {}) {
259
259
  }
260
260
 
261
261
 
262
- export default calcDepthStartEndByExtent
262
+ export default calcDepthStartEndByConnect
@@ -1,8 +1,8 @@
1
1
  import assert from 'assert'
2
- import calcDepthStartEndByExtent from '../src/calcDepthStartEndByExtent.mjs'
2
+ import calcDepthStartEndByConnect from '../src/calcDepthStartEndByConnect.mjs'
3
3
 
4
4
 
5
- describe(`calcDepthStartEndByExtent`, function() {
5
+ describe(`calcDepthStartEndByConnect`, function() {
6
6
 
7
7
  let f1 = () => {
8
8
  let rows = [{
@@ -24,8 +24,8 @@ describe(`calcDepthStartEndByExtent`, function() {
24
24
  { depthStart: 10.5, depthEnd: 15 }
25
25
  ]
26
26
 
27
- it(`should return ${JSON.stringify(rowsNew)} when calcDepthStartEndByExtent(${JSON.stringify(rows)})`, function() {
28
- let r = calcDepthStartEndByExtent(rows)
27
+ it(`should return ${JSON.stringify(rowsNew)} when calcDepthStartEndByConnect(${JSON.stringify(rows)})`, function() {
28
+ let r = calcDepthStartEndByConnect(rows)
29
29
  let rr = rowsNew
30
30
  assert.strict.deepStrictEqual(r, rr)
31
31
  })
@@ -46,10 +46,10 @@ describe(`calcDepthStartEndByExtent`, function() {
46
46
  ]
47
47
  let rowsNew = `Error: 第 0 樣本之結束深度depthEnd[5]大於第 1 樣本之起點深度depthStart[4]`
48
48
 
49
- it(`should return ${JSON.stringify(rowsNew)} when calcDepthStartEndByExtent(${JSON.stringify(rows)})`, function() {
49
+ it(`should return ${JSON.stringify(rowsNew)} when calcDepthStartEndByConnect(${JSON.stringify(rows)})`, function() {
50
50
  let r = null
51
51
  try {
52
- calcDepthStartEndByExtent(rows)
52
+ calcDepthStartEndByConnect(rows)
53
53
  }
54
54
  catch (err) {
55
55
  r = err.toString()
@@ -77,8 +77,8 @@ describe(`calcDepthStartEndByExtent`, function() {
77
77
  { depthStart: 5, depthEnd: '10' },
78
78
  ]
79
79
 
80
- it(`should return ${JSON.stringify(rowsNew)} when calcDepthStartEndByExtent(${JSON.stringify(rows)})`, function() {
81
- let r = calcDepthStartEndByExtent(rows)
80
+ it(`should return ${JSON.stringify(rowsNew)} when calcDepthStartEndByConnect(${JSON.stringify(rows)})`, function() {
81
+ let r = calcDepthStartEndByConnect(rows)
82
82
  let rr = rowsNew
83
83
  assert.strict.deepStrictEqual(r, rr)
84
84
  })
@@ -99,10 +99,10 @@ describe(`calcDepthStartEndByExtent`, function() {
99
99
  ]
100
100
  let rowsNew = `Error: 第 0 樣本結束深度depthEnd[abc]非有效數字, 第 1 樣本起始深度depthStart[abc]非有效數字`
101
101
 
102
- it(`should return ${JSON.stringify(rowsNew)} when calcDepthStartEndByExtent(${JSON.stringify(rows)})`, function() {
102
+ it(`should return ${JSON.stringify(rowsNew)} when calcDepthStartEndByConnect(${JSON.stringify(rows)})`, function() {
103
103
  let r = null
104
104
  try {
105
- calcDepthStartEndByExtent(rows)
105
+ calcDepthStartEndByConnect(rows)
106
106
  }
107
107
  catch (err) {
108
108
  r = err.toString()
@@ -130,8 +130,8 @@ describe(`calcDepthStartEndByExtent`, function() {
130
130
  { top_depth: 5, bottom_depth: 10 }
131
131
  ]
132
132
 
133
- it(`should return ${JSON.stringify(rowsNew)} when calcDepthStartEndByExtent(${JSON.stringify(rows)}, { keyDepthStart: 'top_depth', keyDepthEnd: 'bottom_depth' })`, function() {
134
- let r = calcDepthStartEndByExtent(rows, { keyDepthStart: 'top_depth', keyDepthEnd: 'bottom_depth' })
133
+ it(`should return ${JSON.stringify(rowsNew)} when calcDepthStartEndByConnect(${JSON.stringify(rows)}, { keyDepthStart: 'top_depth', keyDepthEnd: 'bottom_depth' })`, function() {
134
+ let r = calcDepthStartEndByConnect(rows, { keyDepthStart: 'top_depth', keyDepthEnd: 'bottom_depth' })
135
135
  let rr = rowsNew
136
136
  assert.strict.deepStrictEqual(r, rr)
137
137
  })
@@ -160,8 +160,8 @@ describe(`calcDepthStartEndByExtent`, function() {
160
160
  { depthStart: 10.5, depthEnd: 20 }
161
161
  ]
162
162
 
163
- it(`should return ${JSON.stringify(rowsNew)} when calcDepthStartEndByExtent(${JSON.stringify(rows)}, { depthEndMax: 20 })`, function() {
164
- let r = calcDepthStartEndByExtent(rows, { depthEndMax: 20 })
163
+ it(`should return ${JSON.stringify(rowsNew)} when calcDepthStartEndByConnect(${JSON.stringify(rows)}, { depthEndMax: 20 })`, function() {
164
+ let r = calcDepthStartEndByConnect(rows, { depthEndMax: 20 })
165
165
  let rr = rowsNew
166
166
  assert.strict.deepStrictEqual(r, rr)
167
167
  })