package scipy

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type tag = [
  1. | `MatFile5Writer
]
type t = [ `MatFile5Writer | `Object ] Obj.t
val of_pyobject : Py.Object.t -> t
val to_pyobject : [> tag ] Obj.t -> Py.Object.t
val create : ?do_compression:Py.Object.t -> ?unicode_strings:Py.Object.t -> ?global_vars:Py.Object.t -> ?long_field_names:Py.Object.t -> ?oned_as:Py.Object.t -> file_stream:Py.Object.t -> unit -> t

Class for writing mat5 files

val put_variables : ?write_header:bool -> mdict:Py.Object.t -> [> tag ] Obj.t -> Py.Object.t

Write variables in `mdict` to stream

Parameters ---------- mdict : mapping mapping with method ``items`` returns name, contents pairs where ``name`` which will appear in the matlab workspace in file load, and ``contents`` is something writeable to a matlab file, such as a numpy array. write_header : None, True, False, optional If True, then write the matlab file header before writing the variables. If None (the default) then write the file header if we are at position 0 in the stream. By setting False here, and setting the stream position to the end of the file, you can append variables to a matlab file

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

None

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.