There appears to be a bug in the pysal User API for Kernel weights.
Pysal Offers, adaptive_kernelW_from_shapefile(shapefile, bandwidths=None,
function='triangular', idVariable=None)
which calls: adaptive_kernelW(points,bandwidths=bandwidths,function=function)
which calls: Kernel(points, bandwidth=bandwidths,fixed=False, function=function)
If bandwidths is None, K is set to the default value of 2.
So we need to make K an option for the user functions. The documentation for
the 2 user functions even mentions K as an option.
Original issue reported on code.google.com by schmi...@gmail.com on 13 May 2011 at 7:24
Original issue reported on code.google.com by
schmi...@gmail.com
on 13 May 2011 at 7:24