API / geotoolkit / gridding / KrigingInterpolator / KrigingInterpolator
gridding.KrigingInterpolator.KrigingInterpolator
Class implements Kriging algorithm. See https://en.wikipedia.org/wiki/Kriging for more details. (based on implementation by Omar Olmedo, released under The MIT License)
↳
KrigingInterpolator
Constructors
Constructors
• new KrigingInterpolator(options?)
| Name | Type |
|---|---|
Optional options | Options |
AbstractInterpolator.constructor
Methods
▸ getClassName(): string
string
AbstractInterpolator.getClassName
▸ getValues(xSeries, ySeries): Promise<number[]>
Get interpolate z series by (x,y) pairs. Returns Promise, which resolves with array of z-series
| Name | Type | Description |
|---|---|---|
xSeries | number[] | x series |
ySeries | number[] | y series |
Promise<number[]>
AbstractInterpolator.getValues
▸ isWasmEnabled(): boolean
Returns true if browser supports WebAssembly, this interpolator has such realisation and option enabled in this interpolator
boolean
AbstractInterpolator.isWasmEnabled
▸ Protected isWasmSupported(): boolean
If this interpolator supports WebAssembly
boolean
AbstractInterpolator.isWasmSupported
▸ prepare(xSeries, ySeries, zSeries): Promise<void>
Prepare data and run training
| Name | Type | Description |
|---|---|---|
xSeries | number[] | x series |
ySeries | number[] | y series |
zSeries | number[] | z series |
Promise<void>
▸ Protected train(xSeries, ySeries, zSeries): Promise<void>
Teach algorithm with existing points. Internal use.
| Name | Type | Description |
|---|---|---|
xSeries | number[] | x series |
ySeries | number[] | y series |
zSeries | number[] | z series |
Promise<void>
▸ Static getClassName(): string
string