def dt_avg(self, print_output=True, output_file="dt_query.csv"):

        """
        Compute average document-topic matrix,
        and print to file if print_output=True.
        """

        avg = self.dt.mean(axis=2)
        if print_output:
            np.savetxt(output_file, avg, delimiter=",")
        return avg
Compute average document-topic matrix,
        and print to file if print_output=True.