def setdict ( self , D ) : self . D = np . asarray ( D , dtype = self . dtype )
python numpy array from dict
Set dictionary array .
def setdict(self, D):
        """Set dictionary array."""

        self.D = np.asarray(D, dtype=self.dtype)