code: def read_freesurfer_lut(fname=None):
      """Read a Freesurfer-formatted LUT.
  
      Parameters
      ----------
      fname : path-like | None
          The filename. Can be None to read the standard Freesurfer LUT.
  
      Returns
      -------
      atlas_ids : dict
          Mapping from label names to IDs.
      colors : dict
          Mapping from label names to colors.
      """
      lut = _get_lut(fname)
      names, ids = lut["name"], lut["id"]
      colors = np.array(
          [lut["R"], lut["G"], lut["B"], lut["A"]], float
      ).T
      atlas_ids = dict(zip(names, ids))
      colors = dict(zip(names, colors))
      return atlas_ids, colors
  
imports: import os.path
  from gzip import GzipFile
  from pathlib import Path
  import numpy
  from ._fiff.constants import FIFF
  from ._fiff.meas_info import read_fiducials
  from .surface import _read_mri_surface, read_surface
  from .transforms import Transform, _ensure_trans, apply_trans, combine_transforms, invert_transform, read_ras_mni_t
  from .utils import _check_fname, _check_option, _import_nibabel, _validate_type, get_subjects_dir, logger, verbose
label_desc: Use image node_id 20 for calling a global function with example usage: read_freesurfer_lut(fname) and returns: atlas_ids,  colors