simpeg.utils.model_builder.create_layers_model#
- simpeg.utils.model_builder.create_layers_model(cell_centers, layer_tops, layer_values)[source]#
Create physical property model consisting of a set of infinite horizontal layers.
- Parameters:
- cell_centers(
n_cells
,dim
)numpy.ndarray
ordiscretize.base.BaseMesh
A mesh or its gridded cell center locations
- layer_tops(
n_layer
)numpy.ndarray
Elevation values (z +ve up) for the top of each layer. Layers are defined from top to bottom. The first value can be very large if the top layer (e.g. air) extends to infinity.
- layer_values(
n_layer
)numpy.ndarray
Physical property value for each layer from top to bottom.
- cell_centers(
- Returns:
- (
n_cells
)numpy.ndarray
Cell-centered physical property model for the mesh.
- (