gempy.set_topography_from_random

gempy.set_topography_from_random(grid: Grid, fractal_dimension: float = 2.0, d_z: Sequence | None = None, topography_resolution: Sequence | None = None)[source]

Sets the topography of the grid using a randomly generated topography.

Parameters:
  • grid (Grid) – The grid object on which to set the topography.

  • fractal_dimension (float, optional) – The fractal dimension of the random topography. Defaults to 2.0.

  • d_z (Union[Sequence, None], optional) – The sequence of elevation increments for the random topography. If None, a default sequence will be used. Defaults to None.

  • topography_resolution (Union[Sequence, None], optional) – The resolution of the random topography. If None, the resolution of the grid’s regular grid will be used. Defaults to None.

Returns:

The topography object that was set on the grid.

Example

>>> grid = Grid()
>>> set_topography_from_random(grid, fractal_dimension=1.5, d_z=[0.1, 0.2, 0.3], topography_resolution=[10, 10])

Note

If topography_resolution is None, the resolution of the grid’s regular grid will be used. If d_z is None, a default sequence of elevation increments will be used.

Examples using gempy.set_topography_from_random

1.1 -Basics of geological modeling with GemPy

1.1 -Basics of geological modeling with GemPy