code: def read_raw_cnt(
      input_fname,
      eog=(),
      misc=(),
      ecg=(),
      emg=(),
      data_format="auto",
      date_format="mm/dd/yy",
      *,
      header="auto",
      preload=False,
      verbose=None,
  ) -> "RawCNT":
      """Read CNT data as raw object.
  
      .. Note::
          2d spatial coordinates (x, y) for EEG channels are read from the file
          header and fit to a sphere to compute corresponding z-coordinates.
          If channels assigned as EEG channels have locations
          far away from the head (i.e. x and y coordinates don't fit to a
          sphere), all the channel locations will be distorted
          (all channels that are not assigned with keywords ``eog``, ``ecg``,
          ``emg`` and ``misc`` are assigned as EEG channels). If you are not
          sure that the channel locations in the header are correct, it is
          probably safer to replace them with :meth:`mne.io.Raw.set_montage`.
          Montages can be created/imported with:
  
          - Standard montages with :func:`mne.channels.make_standard_montage`
          - Montages for `Compumedics systems
            <https://compumedicsneuroscan.com>`__ with
            :func:`mne.channels.read_dig_dat`
          - Other reader functions are listed under *See Also* at
            :class:`mne.channels.DigMontage`
  
      Parameters
      ----------
      input_fname : path-like
          Path to the data file.
      eog : list | tuple | ``'auto'`` | ``'header'``
          Names of channels or list of indices that should be designated
          EOG channels. If 'header', VEOG and HEOG channels assigned in the file
          header are used. If ``'auto'``, channel names containing ``'EOG'`` are
          used. Defaults to empty tuple.
      misc : list | tuple
          Names of channels or list of indices that should be designated
          MISC channels. Defaults to empty tuple.
      ecg : list | tuple | ``'auto'``
          Names of channels or list of indices that should be designated
          ECG channels. If ``'auto'``, the channel names containing ``'ECG'`` are
          used. Defaults to empty tuple.
      emg : list | tuple
          Names of channels or list of indices that should be designated
          EMG channels. If 'auto', the channel names containing 'EMG' are used.
          Defaults to empty tuple.
      data_format : ``'auto'`` | ``'int16'`` | ``'int32'``
          Defines the data format the data is read in. If ``'auto'``, it is
          determined from the file header using ``numsamples`` field.
          Defaults to ``'auto'``.
      date_format : ``'mm/dd/yy'`` | ``'dd/mm/yy'``
          Format of date in the header. Defaults to ``'mm/dd/yy'``.
      header : ``'auto'`` | ``'new'`` | ``'old'``
          Defines the header format. Used to describe how bad channels
          are formatted. If auto, reads using old and new header and
          if either contain a bad channel make channel bad.
          Defaults to ``'auto'``.
  
          .. versionadded:: 1.6
      %(preload)s
      %(verbose)s
  
      Returns
      -------
      raw : instance of RawCNT.
          The raw data.
          See :class:`mne.io.Raw` for documentation of attributes and methods.
  
      See Also
      --------
      mne.io.Raw : Documentation of attributes and methods of RawCNT.
  
      Notes
      -----
      .. versionadded:: 0.12
      """
      return RawCNT(
          input_fname,
          eog=eog,
          misc=misc,
          ecg=ecg,
          emg=emg,
          data_format=data_format,
          date_format=date_format,
          header=header,
          preload=preload,
          verbose=verbose,
      )
  
file_path: mne-python/mne/io/cnt/cnt.py
imports: from os import path
  import numpy
  from ..._fiff._digitization import _make_dig_points
  from ..._fiff.constants import FIFF
  from ..._fiff.meas_info import _empty_info
  from ..._fiff.utils import _create_chs, _find_channels, _mult_cal_one, read_str
  from ...annotations import Annotations
  from ...channels.layout import _topo_to_sphere
  from ...utils import _check_option, _validate_type, fill_doc, warn
  from ..base import BaseRaw
  from ._utils import CNTEventType3, _compute_robust_event_table_position, _get_event_parser, _read_teeg, _session_date_2_meas_date
label_desc: Use image node_id 2 for calling a global function with example usage: read_raw_cnt(input_fname, eog, misc, ecg, emg, data_format, date_format) and returns: RawCNT