code: def _update_ch_info_named(d):
      d["coord_frame"] = _ch_coord_dict.get(
          d["kind"], FIFF.FIFFV_COORD_UNKNOWN
      )
      d["kind"] = _ch_kind_named.get(d["kind"], d["kind"])
      d["coil_type"] = _ch_coil_type_named.get(
          d["coil_type"], d["coil_type"]
      )
      d["unit"] = _ch_unit_named.get(d["unit"], d["unit"])
      d["unit_mul"] = _ch_unit_mul_named.get(
          d["unit_mul"], d["unit_mul"]
      )
  
imports: import html
  import re
  import struct
  from dataclasses import dataclass
  from functools import partial
  from typing import Any
  import numpy
  from scipy.sparse import csc_matrix, csr_matrix
  from ..utils import _check_option, warn
  from ..utils.numerics import _julian_to_cal
  from .constants import FIFF, _ch_coil_type_named, _ch_kind_named, _ch_unit_mul_named, _ch_unit_named, _dig_cardinal_named, _dig_kind_named
label_desc: Use image node_id 15 for calling a global function with example usage: _update_ch_info_named(d) without return types