### Problem dump function only supports xtype=tth and q ### Proposed solution add xtype=d as a third option, i.e., `elif xtype == "d":` ` data_to_save = np.column_stack((self.on_d[0], self.on_d[1]))`