original_docstring: 
      Enhanced version of _run_1d_filters that uses correlate1d as the filter
      function. The params are a list of values to pass to the get_weights
      callable given. If duplicate param values are found, the weights are
      reused from the first invocation of get_weights. The get_weights callable
      must return a 1D array of weights to give to correlate1d.
      
docstring: Enhanced version of _run_1d_filters that uses correlate1d as the filter
  function. The params are a list of values to pass to the get_weights
  callable given. If duplicate param values are found, the weights are
  reused from the first invocation of get_weights. The get_weights callable
  must return a 1D array of weights to give to correlate1d.
docstring_tokens: Enhanced version of _run_1d_filters that uses correlate1d as the filter function . The params are a list of values to pass to the get_weights callable given . If duplicate param values are found the weights are reused from the first invocation of get_weights . The get_weights callable must return a 1D array of weights to give to correlate1d .
code: def _run_1d_correlates(input, params, get_weights, output, mode, cval,
                         origin=0):
      """
      Enhanced version of _run_1d_filters that uses correlate1d as the filter
      function. The params are a list of values to pass to the get_weights
      callable given. If duplicate param values are found, the weights are
      reused from the first invocation of get_weights. The get_weights callable
      must return a 1D array of weights to give to correlate1d.
      """
      wghts = {}
      for param in params:
          if param not in wghts:
              wghts[param] = get_weights(param)
      wghts = [wghts[param] for param in params]
      return _filters_core._run_1d_filters(
          [None if w is None else correlate1d for w in wghts],
          input, wghts, output, mode, cval, origin)
code_tokens: def _run_1d_correlates ( input , params , get_weights , output , mode , cval , origin = 0 ) : wghts = { } for param in params : if param not in wghts : wghts [ param ] = get_weights ( param ) wghts = [ wghts [ param ] for param in params ] return _filters_core . _run_1d_filters ( [ None if w is None else correlate1d for w in wghts ] , input , wghts , output , mode , cval , origin )
short_docstring: Enhanced version of _run_1d_filters that uses correlate1d as the filter
  function.
short_docstring_tokens: Enhanced version of _run_1d_filters that uses correlate1d as the filter function .
comment: """
      Enhanced version of _run_1d_filters that uses correlate1d as the filter
      function. The params are a list of values to pass to the get_weights
      callable given. If duplicate param values are found, the weights are
      reused from the first invocation of get_weights. The get_weights callable
      must return a 1D array of weights to give to correlate1d.
      """