gustaf.create.vertices.raster#

gustaf.create.vertices.raster(bounds, resolutions)[source]#

Simple wrapper of np.mgrid to extract raster points of desired bounds and resolutions.

Parameters:
  • bounds ((2, d) array-like) – float

  • resolutions ((d,) array-like or int) – int. It will be casted to int. In case int is given, it will be repeated to match the length of each bounds

Returns:

raster_vertices

Return type:

Vertices