prtools.mesh#
- mesh(shape, shift=(0, 0), angle=0, indexing='ij')[source]#
Generate a standard mesh.
- Parameters:
shape (array_like) – Size of output in pixels (nrows, ncols)
shift ((2,) array_like, optional) – Coordinate translation from center of containing array. Default is (0, 0)
indexing ({'ij', 'xy'}, optional) – Matrix (‘ij’, default) or cartesian (‘xy’) indexing of mesh.
- Return type:
list of ndarrays