ODW_example
import sys
sys.path.append('/Users/toshan/dev/pysal/pysal/weights')
from spintW import ODW
import pysal as ps
origins = ps.weights.lat2W(4,4)
dests = ps.weights.lat2W(4,4)
origins.n
dests.n
ODw = ODW(origins, dests)
print ODw.n, 16*16
ODw.full()[0].shape
origins = ps.weights.lat2W(3,3)
dests = ps.weights.lat2W(5,5)
origins.n
dests.n
ODw = ODW(origins, dests)
print ODw.n, 9*25
ODw.full()[0].shape