<put algortithm description here>
Layer
min X
max X
min Y
max Y
Extent
processing.runalg('modelertools:rasterlayerbounds', layer)