simpeg.utils.model_builder.create_2_layer_model#
- simpeg.utils.model_builder.create_2_layer_model(cell_centers, depth, top_value=1.0, bottom_value=0.0)[source]#
Create a basic two layered model
This function creates a physical property model consisting of 2 layers.
- Parameters:
- cell_centers(
n_cells
,dim
)numpy.ndarray
ordiscretize.base.BaseMesh
A mesh or its gridded cell center locations
- depth
float
Depth defining the interface between layer 1 and layer 2
- top_value
float
,optional
Physical property value for the top layer
- bottom_value
float
,optional
Physical property value for the bottom layer
- cell_centers(
- Returns:
- (
n_cells
)numpy.ndarray
Cell-centered physical property model
- (