def __init__(self, **args):
for k, v in self.PARAMETERS.items():<EOL><INDENT>setattr(self, k, v)<EOL><DEDENT>self.set_parameters(**args)<EOL>self._prehooks = []  <EOL>self._poshooks = []<EOL>
sets default parameters