def METHOD_NAME(self, **parameters):
    for key, value in parameters.items():
        if key not in self.__parameters.keys():
            # throw an exception
            raise SpynnakerException(f"{key} is not a parameter of {self}")
        if key == 'frequency':
            self.__parameters[key] = self._get_frequency(value)
        elif key == 'phase':
            self.__parameters[key] = self._get_phase(value)
        else:
            self.__parameters[key] = value
    # Parameters have been set, so if multi-run then it will have been
    # injected already; if not then it can just be ignored
    if self.app_vertex is not None:
        for m_vertex in self.app_vertex.machine_vertices:
            m_vertex.set_reload_required(True)