Unfold ¶
Coordinates in the frame of a layer between two surfaces.
Folded or undulating layers flatten: w places a point between the
footwall and the hanging wall, vertically, and (u, v) run along the
layer. Variograms and estimates computed on unfolded coordinates follow
the layer; results stay in the input's row order, so they go back to the
real points or blocks as they are.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
footwall
|
Mesh
|
Bounding surfaces, such as |
required |
hangingwall
|
Mesh
|
Bounding surfaces, such as |
required |
mode
|
(proportional, footwall, hangingwall)
|
|
"proportional"
|
reference
|
(footwall, hangingwall)
|
Surface along which |
"footwall"
|
extrapolate
|
bool
|
Unfold points above or below the layer too, instead of giving NaN. |
False
|
fit
method descriptor
¶
fit(coords)
Nothing to learn from the data; checks the coordinates and returns the unfolding, for pipelines.
from_json
staticmethod
¶
from_json(text)
Reads to_json output; raises InvalidInput on another class's JSON
or a newer format.
inverse
method descriptor
¶
inverse(coords)
Real coordinates of unfolded points.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
coords
|
array_like
|
|
required |
Returns:
| Type | Description |
|---|---|
ndarray
|
|
transform
method descriptor
¶
transform(coords)
Unfold points.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
coords
|
(array_like, PointSet or BlockModel)
|
|
required |
Returns:
| Type | Description |
|---|---|
ndarray
|
|
used in