def set( self, params ):
        """Set the parameters for the experiment, returning the
        now-configured experiment.  Be sure to call this base method when overriding.

        :param params: the parameters
        :returns: The experiment"""
        if self._parameters is not None:
            self.deconfigure()
        self.configure(params)
        return self
def set ( self , params ) : if self . _parameters is not None : self . deconfigure ( ) self . configure ( params ) return self
Set the parameters for the experiment, returning the
        now-configured experiment.  Be sure to call this base method when overriding.

        :param params: the parameters
        :returns: The experiment