RectGrid.max

RectGrid.max(self, \*\*kwargs)[source]

Return max_pt.

Parameters
kwargs

For duck-typing with numpy.amax

Examples

>>> g = RectGrid([1, 2, 5], [-2, 1.5, 2])
>>> g.max()
array([ 5.,  2.])

Also works with Numpy:

>>> np.max(g)
array([ 5.,  2.])