@classmethod
def from_toml(cls, fname):
    """
        Read information from toml file

        Parameters
        ----------
        f: str
            The name of input toml File

        Returns
        -------
        DFTParams: DFTParams object
            self
        """
    import toml
    return cls.from_dict(toml.load(fname))
