Index
subsurfaceio.interpolate
Interpolation API.
Interpolate a 1-D series onto new abscissas:
Classes:
| Name | Description |
|---|---|
Data |
Interpolation sample data. |
DataNew |
Target x coordinate for interpolation. |
Interpolate |
1D interpolation from known samples to new x coordinates. |
InterpolateMetadata |
Interpolation method selection. |
InterpolateResults |
Interpolated (x, y) samples. |
Data
pydantic-model
DataNew
pydantic-model
Bases: BaseModel
Target x coordinate for interpolation.
Fields:
Interpolate
pydantic-model
Bases: Model
1D interpolation from known samples to new x coordinates.
References
- 2020SciPy-NMeth
Fields:
-
metadata(InterpolateMetadata) -
data(list[Data]) -
new(list[DataNew]) -
results(InterpolateResults | None)
calculate
Run the calculation and store results.
Returns:
| Type | Description |
|---|---|
Self
|
|
InterpolateMetadata
pydantic-model
Bases: BaseModel
Interpolation method selection.
Fields:
-
kind(Literal['linear', 'nearest', 'nearest-up', 'zero', 'slinear', 'quadratic', 'cubic', 'previous', 'next'])