serendipyty.seismic.utils.util

Created on Fri Oct 28 13:35:44 2016

@author: Filippo Broggini (ETH Zürich) - filippo.broggini@erdw.ethz.ch

Functions

oneface(faces, origin, number_of_cells, …) Create a single horizontal or vertical surface
rectangle(**kwargs) Create a rectangular surface
serendipyty.seismic.utils.util.rectangle(**kwargs)[source]

Create a rectangular surface

serendipyty.seismic.utils.util.oneface(faces, origin, number_of_cells, cell_size, **kwargs)[source]

Create a single horizontal or vertical surface

Parameters:

faces: list

Orientation of the face: 0 (left), 1 (right), 2 (top), 3 (bottom), 4, 5

origin: list

Coordinates of the origin of the surface.

number_of_cells: list

Number of cells in three dimensions.

cells_size: list

Cell size in three dimensions.

Returns:

locations: array

Locations