class_docstr: Raw object from a Hitachi fNIRS file.
  
  Parameters
  ----------
  %(hitachi_fname)s
  %(preload)s
  %(verbose)s
  
  See Also
  --------
  mne.io.Raw : Documentation of attributes and methods.
  
  Notes
  -----
  %(hitachi_notes)s
class_docstr_tok: ["Raw","object","from","a","Hitachi","fNIRS","file",".","Parameters","--","--","--","--","--","%","(","hitachi_fname",")","s","%","(","preload",")","s","%","(","verbose",")","s","See","Also","--","--","--","--","mne.io.Raw",":","Documentation","of","attributes","and","methods",".","Notes","--","--","-","%","(","hitachi_notes",")","s"]
code: def __init__(self, fname, preload=False, *, verbose=None):
      if not isinstance(fname, (list, tuple)):
          fname = [fname]
      fname = list(fname)  # our own list that we can modify
      for fi, this_fname in enumerate(fname):
          fname[fi] = str(
              _check_fname(this_fname, "read", True, f"fname[{fi}]")
          )
      infos = list()
      probes = list()
      last_samps = list()
      S_offset = D_offset = 0
      ignore_names = ["Time"]
      for this_fname in fname:
          info, extra, last_samp, offsets = _get_hitachi_info(
              this_fname, S_offset, D_offset, ignore_names
          )
          ignore_names = list(set(ignore_names + info["ch_names"]))
          S_offset += offsets[0]
          D_offset += offsets[1]
          infos.append(info)
          probes.append(extra)
          last_samps.append(last_samp)
      # combine infos
      if len(fname) > 1:
          info = _merge_info(infos)
      else:
          info = infos[0]
      if len(set(last_samps)) != 1:
          raise RuntimeError(
              "All files must have the same number of "
              "samples, got: {last_samps}"
          )
      last_samps = [last_samps[0]]
      raw_extras = [dict(probes=probes)]
      # One representative filename is good enough here
      # (additional filenames indicate temporal concat, not ch concat)
      filenames = [fname[0]]
      super().__init__(
          info,
          preload,
          filenames=filenames,
          last_samps=last_samps,
          raw_extras=raw_extras,
          verbose=verbose,
      )
  
file_path: mne-python/mne/io/hitachi/hitachi.py
imports: import datetime
  import re
  import numpy
  from ..._fiff.constants import FIFF
  from ..._fiff.meas_info import _merge_info, create_info
  from ..._fiff.utils import _mult_cal_one
  from ...utils import _check_fname, _check_option, fill_doc, logger, verbose, warn
  from ..base import BaseRaw
  from ..nirx.nirx import _read_csv_rows_cols
label_desc: Use image node_id 1 to create a new RawHitachi object from inherited base classes: BaseRaw with example: obj = RawHitachi(fname, preload)