code: def _call_make_dig_points(nasion, lpa, rpa, hpi, extra, convert=True):
      from ..transforms import (
          Transform,
          apply_trans,
          get_ras_to_neuromag_trans,
      )
  
      if convert:
          neuromag_trans = get_ras_to_neuromag_trans(nasion, lpa, rpa)
          nasion = apply_trans(neuromag_trans, nasion)
          lpa = apply_trans(neuromag_trans, lpa)
          rpa = apply_trans(neuromag_trans, rpa)
  
          if hpi is not None:
              hpi = apply_trans(neuromag_trans, hpi)
  
          extra = apply_trans(neuromag_trans, extra).astype(np.float32)
      else:
          neuromag_trans = None
  
      ctf_head_t = Transform(
          fro="ctf_head", to="head", trans=neuromag_trans
      )
  
      info_dig = _make_dig_points(
          nasion=nasion, lpa=lpa, rpa=rpa, hpi=hpi, extra_points=extra
      )
  
      return info_dig, ctf_head_t
  
imports: import heapq
  from collections import Counter
  import numpy
  from ..utils import Bunch, _check_fname, _validate_type, logger, verbose, warn
  from .constants import FIFF, _coord_frame_named
  from .tag import read_tag
  from .tree import dir_tree_find
  from .write import start_and_end_file, write_dig_points
label_desc: Use image node_id 11 for calling a global function with example usage: _call_make_dig_points(nasion, lpa, rpa, hpi, extra, convert) and returns: info_dig,  ctf_head_t