def apply(self, func, *args, **kwargs):
return func(self.raster, *args, **kwargs)<EOL>
geo.apply(func, *args, **kwargs)

Returns the value of applying function func on the raster data

func: Python function
*args: Arguments of function
**kwargs: Additional arguments of function