code: def _get_legen(x, n_coeff=100):
      """Get Legendre polynomials expanded about x."""
      return legendre.legvander(x, n_coeff - 1)
  
file_path: mne-python/mne/forward/_lead_dots.py
imports: import os
  import os.path
  import numpy
  from numpy.polynomial import legendre
  from ..parallel import parallel_func
  from ..utils import _get_extra_data_path, fill_doc, logger, verbose
label_desc: Use image node_id 2 for calling a global function with example usage: _get_legen(x, n_coeff) and returns: legendre