code: def prep_euclidean_integral_kernel_hyperparams(
      kernel_type, gp_fitter_options, domain_dim
  ):
      """Wrapper to pack the kernel hyper-parameters into a dictionary."""
      hyperparams = {}
      hyperparams["dim"] = domain_dim
      if kernel_type == "matern" and gp_fitter_options.matern_nu > 0:
          hyperparams["nu"] = gp_fitter_options.matern_nu
      elif kernel_type == "poly":
          hyperparams["order"] = gp_fitter_options.poly_order
      elif kernel_type == "esp":
          if gp_fitter_options.esp_order > 0:
              hyperparams["esp_order"] = gp_fitter_options.esp_order
          if gp_fitter_options.esp_matern_nu > 0:
              hyperparams[
                  "esp_matern_nu"
              ] = gp_fitter_options.esp_matern_nu
      return hyperparams
  
imports: from __future__ import division
  from argparse import Namespace
  import numpy
  from .None import gp_core, mf_gp
  from .None import kernel
  from ..utils.ancillary_utils import get_list_of_floats_as_str
  from ..utils.general_utils import get_sublist_from_indices, map_to_bounds
  from ..utils.option_handler import get_option_specs, load_options
  from ..utils.oper_utils import random_sample_from_discrete_domain
  from ..utils.reporters import get_reporter
label_desc: Use image node_id 3 for calling a global function with example usage: prep_euclidean_integral_kernel_hyperparams(kernel_type, gp_fitter_options, domain_dim) and returns: hyperparams