class_docstr: Base object for reading mat files
  
  To make this class functional, you will need to override the
  following methods:
  
  matrix_getter_factory   - gives object to fetch next matrix from stream
  guess_byte_order        - guesses file byte order from file
docstr:     Initializer for mat file reader
  
      mat_stream : file-like
          object with file API, open for reading
  %(load_args)s
      
docstr_tok: ["Initializer","for","mat","file","reader","mat_stream",":","file-like","object","with","file","API",",","open","for","reading","%","(","load_args",")","s"]
code: def __init__(
      self,
      mat_stream,
      byte_order=None,
      mat_dtype=False,
      squeeze_me=False,
      chars_as_strings=True,
      matlab_compatible=False,
      struct_as_record=True,
      verify_compressed_data_integrity=True,
      simplify_cells=False,
  ):
      """
          Initializer for mat file reader
  
          mat_stream : file-like
              object with file API, open for reading
      %(load_args)s
      """
      # Initialize stream
      self.mat_stream = mat_stream
      self.dtypes = {}
      if not byte_order:
          byte_order = self.guess_byte_order()
      else:
          byte_order = boc.to_numpy_code(byte_order)
      self.byte_order = byte_order
      self.struct_as_record = struct_as_record
      if matlab_compatible:
          self.set_matlab_compatible()
      else:
          self.squeeze_me = squeeze_me
          self.chars_as_strings = chars_as_strings
          self.mat_dtype = mat_dtype
      self.verify_compressed_data_integrity = (
          verify_compressed_data_integrity
      )
      self.simplify_cells = simplify_cells
      if simplify_cells:
          self.squeeze_me = True
          self.struct_as_record = False
  
imports: import numpy
  from scipy._lib import doccer
  from .None import _byteordercodes
label_desc: Use image node_id 1 to create a new MatFileReader object  with example: obj = MatFileReader(mat_stream, byte_order, mat_dtype, squeeze_me, chars_as_strings, matlab_compatible, struct_as_record, verify_compressed_data_integrity, simplify_cells)