def pysal_Moran_Local(self, **kwargs):
if self.weights is None:<EOL><INDENT>self.raster_weights(**kwargs)<EOL><DEDENT>rasterf = self.raster.flatten()<EOL>rasterf = rasterf[rasterf.mask==False]<EOL>self.Moran_Local = pysal.Moran_Local(rasterf, self.weights, **kwargs)<EOL>for i in self.Moran_Local.__dict__.keys():<EOL><INDENT>if (isinstance(getattr(self.Moran_Local, i), np.ma.masked_array) or<EOL>(isinstance(getattr(self.Moran_Local, i), np.ndarray)) and<EOL>len(getattr(self.Moran_Local, i).shape) == <NUM_LIT:1>):<EOL><INDENT>setattr(self.Moran_Local, i, self.map_vector(getattr(self.Moran_Local, i)))<EOL><DEDENT><DEDENT>
Compute Local Moran's I measure of local spatial autocorrelation for GeoRaster

Usage:
geo.pysal_Moran_Local(permutations = 1000, rook=True)

arguments passed to raster_weights() and pysal.Moran_Local
See help(gr.raster_weights), help(pysal.Moran_Local) for options