class_docstr: A fitter for GPs in multi-fidelity optimisation. 
class_docstr_tok: ["A","fitter","for","GPs","in","multi-fidelity","optimisation","."]
docstr: Wrapper to pack the kernel hyper-parameters into a dictionary. 
code: def _prep_init_fidel_domain_kernel_hyperparams(
      cls,
      kernel_type,
      dim,
      matern_nu,
      poly_order,
      esp_order,
      esp_matern_nu,
  ):
      """Wrapper to pack the kernel hyper-parameters into a dictionary."""
      hyperparams = {}
      hyperparams["dim"] = dim
      if kernel_type == "matern" and matern_nu > 0:
          hyperparams["nu"] = matern_nu
      elif kernel_type == "poly":
          hyperparams["order"] = poly_order
      elif kernel_type == "esp":
          if esp_order > 0:
              hyperparams["esp_order"] = esp_order
          if esp_matern_nu > 0:
              hyperparams["esp_matern_nu"] = 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 18 for calling the EuclideanMFGPFitter obj's underlying member method code with example usage: obj._prep_init_fidel_domain_kernel_hyperparams(cls, kernel_type, dim, matern_nu, poly_order, esp_order, esp_matern_nu) and returns: hyperparams