code: def get_processed_from_raw_via_config(raw_point, config):
      """Gets the processed point (both domain and fidel) from the raw point."""
      has_fidel = hasattr(config, "fidel_space")
      if has_fidel:
          raw_fidelity, raw_dom_point = raw_point
      else:
          raw_dom_point = raw_point
      proc_dom_point = get_processed_point_from_raw_point(
          raw_dom_point,
          config.domain,
          config.domain_orderings.index_ordering,
          config.domain_orderings.dim_ordering,
      )
      if has_fidel:
          proc_fidelity = get_processed_point_from_raw_point(
              raw_fidelity,
              config.fidel_space,
              config.fidel_space_orderings.index_ordering,
              config.fidel_space_orderings.dim_ordering,
          )
          return [proc_fidelity, proc_dom_point]
      else:
          return proc_dom_point
  
imports: from __future__ import print_function
  from argparse import Namespace
  from copy import deepcopy
  import numpy
  from warnings import warn
  from .None import domains
  from ..parse.config_parser import config_parser
  from ..utils.general_utils import flatten_list_of_objects_and_iterables, get_original_order_from_reordered_list, transpose_list_of_lists
  from ..utils.oper_utils import random_sample_from_euclidean_domain, random_sample_from_discrete_euclidean_domain, random_sample_from_integral_domain, random_sample_from_prod_discrete_domain
label_desc: Use image node_id 14 for calling a global function with example usage: get_processed_from_raw_via_config(raw_point, config) and returns: list, proc_dom_point