class_docstr: Interpolate between two points.
  
  Parameters
  ----------
  control_points : array, shape (n_changes,)
      The control points (indices) to use.
  values : callable | array, shape (n_changes, ...)
      Callable that takes the control point and returns a list of
      arrays that must be interpolated.
  interp : str
      Can be 'zero', 'linear', 'hann', or 'cos2' (same as hann).
  
  Notes
  -----
  This will process data using overlapping windows of potentially
  different sizes to achieve a constant output value using different
  2-point interpolation schemes. For example, for linear interpolation,
  and window sizes of 6 and 17, this would look like::
  
      1 _     _
        |\   / '-.           .-'
        | \ /     '-.     .-'
        |  x         |-.-|
        | / \     .-'     '-.
        |/   \_.-'           '-.
      0 +----|----|----|----|---
        0    5   10   15   20   25
docstr: Feed data and get interpolated values.
docstr_tok: ["Feed","data","and","get","interpolated","values","."]
code: def feed(self, n_pts):
      """Feed data and get interpolated values."""
      # Convenience function for assembly
      out_arrays = None
      for o in self.feed_generator(n_pts):
          if out_arrays is None:
              out_arrays = [
                  np.empty(v.shape + (n_pts,))
                  if v is not None
                  else None
                  for v in o[1]
              ]
          for ai, arr in enumerate(out_arrays):
              if arr is not None:
                  if o[3] is None:
                      arr[..., o[0]] = o[1][ai][..., np.newaxis]
                  else:
                      arr[..., o[0]] = o[1][ai][..., np.newaxis] * o[
                          3
                      ] + o[2][ai][..., np.newaxis] * (1.0 - o[3])
      assert out_arrays is not None
      return out_arrays
  
file_path: mne-python/mne/_ola.py
imports: import numpy
  from scipy.signal import get_window
  from .utils import _ensure_int, logger, verbose
label_desc: Use image node_id 3 for calling the _Interp2 obj's underlying member method code with example usage: obj.feed(n_pts) and returns: out_arrays