class_docstr: Poorman's linear interpolator.
  
  Parameters
  ----------
  
  tt : list, optional
    List of time frames for the interpolator.
  
  ss : list, optional
    List of values for the interpolator.
  
  ttss : list, optional
    Lists of time frames and their correspondients values for the
    interpolator. This argument can be used instead of ``tt`` and ``ss``
    to instantiate the interpolator using an unique argument.
  
  left : float, optional
    Value to return when ``t < tt[0]``.
  
  right : float, optional
    Value to return when ``t > tt[-1]``.
  
  
  Examples
  --------
  
  >>> # instantiate using `tt` and `ss`
  >>> interpolator = Interpolator(tt=[0, 1, 2], ss=[3, 4, 5])
  >>>
  >>> # instantiate using `ttss`
  >>> interpolator = Interpolator(ttss=[[0, 3], [1, 4], [2, 5]])  # [t, value]
class_docstr_tok: ["Poorman","'s","linear","interpolator",".","Parameters","--","--","--","--","--","tt",":","list",",","optional","List","of","time","frames","for","the","interpolator",".","ss",":","list",",","optional","List","of","values","for","the","interpolator",".","ttss",":","list",",","optional","Lists","of","time","frames","and","their","correspondients","values","for","the","interpolator",".","This","argument","can","be","used","instead","of","``","tt","``","and","``","ss","``","to","instantiate","the","interpolator","using","an","unique","argument",".","left",":","float",",","optional","Value","to","return","when","``","t","<","tt","[","0","]","``",".","right",":","float",",","optional","Value","to","return","when","``","t",">","tt","[","-1","]","``",".","Examples","--","--","--","--",">",">",">","#","instantiate","using","`","tt","`","and","`","ss","`",">",">",">","interpolator","=","Interpolator","(","tt=","[","0",",","1",",","2","]",",","ss=","[","3",",","4",",","5","]",")",">",">",">",">",">",">","#","instantiate","using","`","ttss","`",">",">",">","interpolator","=","Interpolator","(","ttss=","[","[","0",",","3","]",",","[","1",",","4","]",",","[","2",",","5","]","]",")","#","[","t",",","value","]"]
docstr: Interpolates ``t``.
  
  Parameters
  ----------
  
  t : float
    Time frame for which the correspondent value will be returned.
docstr_tok: ["Interpolates","``","t","``",".","Parameters","--","--","--","--","--","t",":","float","Time","frame","for","which","the","correspondent","value","will","be","returned","."]
code: def __call__(self, t):
      """Interpolates ``t``.
  
      Parameters
      ----------
  
      t : float
        Time frame for which the correspondent value will be returned.
      """
      return np.interp(t, self.tt, self.ss, self.left, self.right)
  
file_path: moviepy/moviepy/video/tools/interpolators.py
imports: import numpy
label_desc: Use image node_id 2 for calling the Interpolator obj's underlying member method code with example usage: obj.__call__(t) and returns: np