@classmethod
def from_array(cls, array, threshold, **kwargs):
    """
        Construct a DistanceBand weights from an array. Supports all the same options
        as :class:`libpysal.weights.DistanceBand`

        """
    return cls(array, threshold, **kwargs)
