package scipy

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type tag = [
  1. | `MatFileReader
]
type t = [ `MatFileReader | `Object ] Obj.t
val of_pyobject : Py.Object.t -> t
val to_pyobject : [> tag ] Obj.t -> Py.Object.t
val create : ?byte_order:Py.Object.t -> ?mat_dtype:Py.Object.t -> ?squeeze_me:Py.Object.t -> ?chars_as_strings:Py.Object.t -> ?matlab_compatible:Py.Object.t -> ?struct_as_record:Py.Object.t -> ?verify_compressed_data_integrity:Py.Object.t -> mat_stream:Py.Object.t -> unit -> t

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

val end_of_stream : [> tag ] Obj.t -> Py.Object.t

None

val guess_byte_order : [> tag ] Obj.t -> Py.Object.t

As we do not know what file type we have, assume native

val set_matlab_compatible : [> tag ] Obj.t -> Py.Object.t

Sets options to return arrays as MATLAB loads them

val to_string : t -> string

Print the object to a human-readable representation.

val show : t -> string

Print the object to a human-readable representation.

val pp : Format.formatter -> t -> unit

Pretty-print the object to a formatter.

OCaml

Innovation. Community. Security.