class_docstr: Raw object from Curry file.
  
  Parameters
  ----------
  fname : path-like
      Path to a curry file with extensions ``.dat``, ``.dap``, ``.rs3``,
      ``.cdt``, ``.cdt.dpa``, ``.cdt.cef`` or ``.cef``.
  %(preload)s
  %(verbose)s
  
  See Also
  --------
  mne.io.Raw : Documentation of attributes and methods.
docstr: Read a chunk of raw data.
docstr_tok: ["Read","a","chunk","of","raw","data","."]
code: def _read_segment_file(self, data, idx, fi, start, stop, cals, mult):
      """Read a chunk of raw data."""
      if self._raw_extras[fi]["is_ascii"]:
          if isinstance(idx, slice):
              idx = np.arange(idx.start, idx.stop)
          block = np.loadtxt(
              self._filenames[0],
              skiprows=start,
              max_rows=stop - start,
              ndmin=2,
          ).T
          _mult_cal_one(data, block, idx, cals, mult)
  
      else:
          _read_segments_file(
              self, data, idx, fi, start, stop, cals, mult, dtype="<f4"
          )
  
imports: import os.path
  import re
  from collections import namedtuple
  from datetime import datetime, timezone
  from pathlib import Path
  import numpy
  from ..._fiff._digitization import _make_dig_points
  from ..._fiff.constants import FIFF
  from ..._fiff.meas_info import create_info
  from ..._fiff.tag import _coil_trans_to_loc
  from ..._fiff.utils import _mult_cal_one, _read_segments_file
  from ...annotations import Annotations
  from ...surface import _normal_orth
  from ...transforms import Transform, _angle_between_quats, apply_trans, combine_transforms, get_ras_to_neuromag_trans, invert_transform, rot_to_quat
  from ...utils import _check_fname, check_fname, logger, verbose
  from ..base import BaseRaw
  from ..ctf.trans import _quaternion_align
label_desc: Use image node_id 2 for calling the RawCurry obj's underlying member method code with example usage: obj._read_segment_file(data, idx, fi, start, stop, cals, mult) without return types