pointpats.as_window

pointpats.as_window(pysal_polygon)[source]

Convert a libpysal polygon to a Window.

Parameters:
pysal_polygon: libpysal.cg.shapes.Polygon

libpysal Polygon instance.

Returns:
Window

A Window instance.