Get the tool parameters as a simple dictionary

        :return: The tool parameters

def parameters_dict(self):
        """
        Get the tool parameters as a simple dictionary

        :return: The tool parameters
        """
        d = {}
        for k, v in self.__dict__.items():
            if not k.startswith("_"):
                d[k] = v
        return d