(self, condition=None)
Reset the samples for a given condition, defaulting to all conditions.
        Args:
            condition: Condition for which to reset samples.
Reset the samples for a given condition, defaulting to all conditions.
        Args:
            condition: Condition for which to reset samples.
Reset the samples for a given condition defaulting to all conditions . Args : condition : Condition for which to reset samples .
def clear_samples(self, condition=None):
        """
        Reset the samples for a given condition, defaulting to all conditions.
        Args:
            condition: Condition for which to reset samples.
        """
        if condition is None:
            self._samples = [[] for _ in range(self._hyperparams['conditions'])]
        else:
            self._samples[condition] = []
def clear_samples ( self , condition = None ) : if condition is None : self . _samples = [ [ ] for _ in range ( self . _hyperparams [ 'conditions' ] ) ] else : self . _samples [ condition ] = [ ]