class_docstr: Trajectory compound by time frames and (x, y) pixels.
  
  It's designed as an interpolator, so you can get the position at a given
  time ``t``. You can instantiate it from a file using the methods
  ``from_file`` and ``load_list``.
  
  
  Parameters
  ----------
  
  tt : list or numpy.ndarray
    Time frames.
  
  xx : list or numpy.ndarray
    X positions in the trajectory.
  
  yy : list or numpy.ndarray
    Y positions in the trajectory.
  
  
  Examples
  --------
  
  >>> trajectory = Trajectory([0, .166, .333], [554, 474, 384], [100, 90, 91])
class_docstr_tok: ["Trajectory","compound","by","time","frames","and","(","x",",","y",")","pixels",".","It","'s","designed","as","an","interpolator",",","so","you","can","get","the","position","at","a","given","time","``","t","``",".","You","can","instantiate","it","from","a","file","using","the","methods","``","from_file","``","and","``","load_list","``",".","Parameters","--","--","--","--","--","tt",":","list","or","numpy.ndarray","Time","frames",".","xx",":","list","or","numpy.ndarray","X","positions","in","the","trajectory",".","yy",":","list","or","numpy.ndarray","Y","positions","in","the","trajectory",".","Examples","--","--","--","--",">",">",">","trajectory","=","Trajectory","(","[","0",",",".166",",",".333","]",",","[","554",",","474",",","384","]",",","[","100",",","90",",","91","]",")"]
docstr: Loads a list of trajectories from a data text file.
  
  Parameters
  ----------
  
  filename : str
    Path of the text file that stores the data of a set of trajectories.
  
  
  Returns
  -------
  
  list : List of trajectories loaded from the file.
docstr_tok: ["Loads","a","list","of","trajectories","from","a","data","text","file",".","Parameters","--","--","--","--","--","filename",":","str","Path","of","the","text","file","that","stores","the","data","of","a","set","of","trajectories",".","Returns","--","--","--","-","list",":","List","of","trajectories","loaded","from","the","file","."]
code: def load_list(filename):
      """Loads a list of trajectories from a data text file.
  
      Parameters
      ----------
  
      filename : str
        Path of the text file that stores the data of a set of trajectories.
  
  
      Returns
      -------
  
      list : List of trajectories loaded from the file.
      """
      arr = np.loadtxt(filename, delimiter="\t").T
      Nlines = arr.shape[0]
      return [
          Trajectory(tt=1.0 * a[0] / 1000, xx=a[1], yy=a[2])
          for a in np.split(arr, Nlines / 3)
      ]
  
file_path: moviepy/moviepy/video/tools/interpolators.py
imports: import numpy
label_desc: Use image node_id 10 for calling the Trajectory obj's underlying member method code with example usage: obj.load_list(filename) and returns: unknown