spatialdm.weight\_matrix ======================== .. currentmodule:: spatialdm .. autofunction:: weight_matrix