SimPEG.utils.model_builder.create_random_model#
- SimPEG.utils.model_builder.create_random_model(shape, seed=1000, anisotropy=None, its=100, bounds=None)[source]#
Create random model by convolving a kernel with a uniformly distributed random model.
- Parameters
- shape
intortupleofint Shape of the model. Can define a vector of size (n_cells) or define the dimensions of a tensor
- seed
int,optional If not None, sets the seed for the random uniform model that is convolved with the kernel.
- anisotropy
numpy.ndarray this is the (3, n) blurring kernel that is used.
- its
int Number of smoothing iterations after convolutions
- bounds
listoffloat Lower and upper bound for the model values
- shape
- Returns
numpy.ndarrayPhysical property model
Examples