code: def read_raw_artemis123(
      input_fname,
      preload=False,
      verbose=None,
      pos_fname=None,
      add_head_trans=True,
  ) -> "RawArtemis123":
      """Read Artemis123 data as raw object.
  
      Parameters
      ----------
      input_fname : path-like
          Path to the data file (extension ``.bin``). The header file with the
          same file name stem and an extension ``.txt`` is expected to be found
          in the same directory.
      %(preload)s
      %(verbose)s
      pos_fname : path-like | None
          If not None, load digitized head points from this file.
      add_head_trans : bool (default True)
          If True attempt to perform initial head localization. Compute initial
          device to head coordinate transform using HPI coils. If no
          HPI coils are in info['dig'] hpi coils are assumed to be in canonical
          order of fiducial points (nas, rpa, lpa).
  
      Returns
      -------
      raw : instance of Raw
          A Raw object containing the data.
  
      See Also
      --------
      mne.io.Raw : Documentation of attributes and methods.
      """
      return RawArtemis123(
          input_fname,
          preload=preload,
          verbose=verbose,
          pos_fname=pos_fname,
          add_head_trans=add_head_trans,
      )
  
file_path: mne-python/mne/io/artemis123/artemis123.py
imports: import calendar
  import datetime
  import os.path
  import numpy
  from scipy.spatial.distance import cdist
  from ..._fiff._digitization import DigPoint, _make_dig_points
  from ..._fiff.constants import FIFF
  from ..._fiff.meas_info import _empty_info
  from ..._fiff.utils import _read_segments_file
  from ...transforms import Transform, apply_trans, get_ras_to_neuromag_trans
  from ...utils import _check_fname, logger, verbose, warn
  from ..base import BaseRaw
  from .utils import _load_mne_locs, _read_pos
label_desc: Use image node_id 1 for calling a global function with example usage: read_raw_artemis123(input_fname, preload, verbose, pos_fname, add_head_trans) and returns: RawArtemis123