code: def get_ZX_from_ZZ_XX(ZZ, XX):
      """Get a combined representation for the fidelity and domian data."""
      if hasattr(ZZ, "__iter__") and len(ZZ) == len(XX):
          return [(z, x) for (z, x) in zip(ZZ, XX)]
      else:
          return (ZZ, XX)
  
imports: from __future__ import division
  from .None import kernel
  from .gp_core import GP, GPFitter, mandatory_gp_args
  from ..utils.option_handler import load_options
  from ..utils.reporters import get_reporter
  from ..utils.ancillary_utils import get_list_of_floats_as_str
label_desc: Use image node_id 1 for calling a global function with example usage: get_ZX_from_ZZ_XX(ZZ, XX) and returns: unknown, ZZ,  XX