code: def as_pyemu_matrix(self,typ=Matrix):
          
          x = self.values.copy().astype(np.float)
          return typ(x=x,row_names=list(self.index),
                        col_names=list(self.columns))
docs: Create a pyemu.Matrix from the Ensemble.
  
          Parameters
          ----------
              typ : pyemu.Matrix or derived type
                  the type of matrix to return
  
          Returns
          -------
          pyemu.Matrix : pyemu.Matrix