geolime.geostats.patterns.grid_pattern_generator

Classes:

Grid(metadata, convention)

GridPatternGenerator(grid, discr)

PatternGenerator()

product

product(*iterables, repeat=1) –> product object

Data:

List

The central part of internal API.

class geolime.geostats.patterns.grid_pattern_generator.GridPatternGenerator(grid: geolime.objects.grid.Grid, discr: List[float])

Bases: geolime.geostats.patterns.pattern_generator.PatternGenerator

Methods:

apply(x)

Translates the pattern by the orgin corner of the cell

apply(x: numpy.ndarray)

Translates the pattern by the orgin corner of the cell

Parameters

x (np.ndarray) – Single point representing the center of a grid cell

Returns

Returns the refined pattern centered around the given point x

Return type

np.ndarray