<put algortithm description here>
Grid
Minima
Maxima
processing.runalg('saga:localminimaandmaxima', grid, minima, maxima)