mtuq.grid.Grid.get¶
- Grid.get(i, **kwargs)[source]¶
Returns i-th grid point
callback functions
If a
callback
function was given when creating a grid, thenget
returns the result of applying the callback to the i-th grid point. This behavior can be overridden by supplying a callback function as a keyword argument toget
itself. Ifcallback
isNone
, then no function is applied.