def to_abivars(self):
        """Returns a dictionary with the abinit variables"""
        abivars = {
            "ecuteps"   : self.ecuteps,
            "ecutwfn"   : self.ecutwfn,
            "inclvkb"   : self.inclvkb,
            "gwpara"    : self.gwpara,
            "awtr"      : self.awtr,
            "symchi"    : self.symchi,
            "nband"     : self.nband,
            #"gwcalctyp": self.gwcalctyp,
            #"fftgw"    : self.fftgw,
            "optdriver" : self.optdriver,
        }

        # Variables for the Hilber transform.
        if self.use_hilbert:
            abivars.update(self.hilbert.to_abivars())

        return abivars