def doc_topic_matrix(self, doc_or_docs):
        if (isstr(doc_or_docs) or isint(doc_or_docs) 
            or isinstance(doc_or_docs, dict)):
            doc, label = self._res_doc_type(doc_or_docs)
            k_arr = self.theta[:, doc].T
        else:
            docs, labels = zip(*[self._res_doc_type(d) for d in doc_or_docs])
            k_arr = self.theta[:, docs].T

        return k_arr
Returns the distribution over topics for the given documents.
dataset/ETHPy150Open inpho/vsm/vsm/viewer/ldacgsviewer.py/LdaCgsViewer.doc_topic_matrix