code: def squelch(self, threshold):
          
          func = lambda x: zeros(x.shape) if max(x) < threshold else x
          return self.map(func)
docs: Set all records that do not exceed the given threhsold to 0.
  
          Parameters
          ----------
          threshold : scalar
              Level below which to set records to zero