code: def _pick_data_channels(
      info, exclude="bads", with_ref_meg=True, with_aux=False
  ):
      """Pick only data channels."""
      kwargs = _PICK_TYPES_DATA_DICT
      if with_aux:
          kwargs = kwargs.copy()
          kwargs.update(eog=True, ecg=True, emg=True, bio=True)
      return pick_types(
          info, ref_meg=with_ref_meg, exclude=exclude, **kwargs
      )
  
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 22 for calling a global function with example usage: _pick_data_channels(info, exclude, with_ref_meg, with_aux) and returns: pick_types