code: def _get_euc_int_options(dom_type, dom_prefix, options):
      """Returns fieds from options depending on dom_type."""
      dom_type_code_dic = {
          "euclidean": "euc",
          "integral": "int",
          "prod_discrete_numeric": "disc_num",
          "discrete_euclidean": "euc",
      }
  
      def _extract_from_options(dom_type_str, property_str):
          """Extracts the property from the dom_type."""
          attr_name_in_options = (
              dom_prefix
              + "_"
              + dom_type_code_dic[dom_type_str]
              + "_"
              + property_str
          )
          if hasattr(options, attr_name_in_options):
              return getattr(options, attr_name_in_options)
          else:
              return None
  
      # Now extract each property that we need
      use_same_bw = _extract_from_options(
          dom_type, "use_same_bandwidth"
      )
      matern_nu = _extract_from_options(dom_type, "matern_nu")
      esp_kernel_type = _extract_from_options(
          dom_type, "esp_kernel_type"
      )
      esp_matern_nu = _extract_from_options(dom_type, "esp_matern_nu")
      return use_same_bw, matern_nu, esp_kernel_type, esp_matern_nu
  
imports: from __future__ import print_function
  from argparse import Namespace
  import numpy
  from ..exd import domains
  from ..exd.cp_domain_utils import load_cp_domain_from_config_file
  from .None import gp_core, mf_gp
  from .euclidean_gp import get_euclidean_integral_gp_kernel_with_scale, prep_euclidean_integral_kernel_hyperparams
  from .kernel import CartesianProductKernel, HammingKernel
  from ..utils.general_utils import get_idxs_from_list_of_lists
  from ..utils.option_handler import get_option_specs, load_options
  from ..utils.reporters import get_reporter
label_desc: Use image node_id 3 for calling a global function with example usage: _get_euc_int_options(dom_type, dom_prefix, options) and returns: use_same_bw,  matern_nu,  esp_kernel_type,  esp_matern_nu, getattr, None