code: def _op_method(self, data, extra_factor=1.0):
          
  
          threshold = self.weights * extra_factor
  
          return thresh(data, threshold, self._thresh_type)
docs: Operator Method
  
          This method returns the input data thresholded by the weights
  
          Parameters
          ----------
          data : np.ndarray
              Input data array
          extra_factor : float
              Additional multiplication factor
  
          Returns
          -------
          np.ndarray thresholded data