def qphi2xy(self, q, phi): """calls the C-code in RQconv """ # print q,phi ret = RQconv.qphi2xy(self.data.astype(np.int32), self.exp, q, phi) return ret.x, ret.y