code: def _pick_data_or_ica(info, exclude=()):
      """Pick only data or ICA channels."""
      if any(ch_name.startswith("ICA") for ch_name in info["ch_names"]):
          picks = pick_types(info, exclude=exclude, misc=True)
      else:
          picks = _pick_data_channels(
              info, exclude=exclude, with_ref_meg=True
          )
      return picks
  
imports: import re
  from copy import deepcopy
  import numpy
  from ..utils import _check_option, _ensure_int, _validate_type, fill_doc, logger, verbose, warn
  from .constants import FIFF
label_desc: Use image node_id 23 for calling a global function with example usage: _pick_data_or_ica(info, exclude) and returns: picks