package hdf5

  1. Overview
  2. Docs
val write_float_array : H5.t -> string -> ?deflate:int -> float array -> unit

Writes the given float array to the data set.

val read_float_array : H5.t -> ?data:float array -> string -> float array

Reads the data set into a float array.

  • parameter data

    If provided, the storage for the data.

val write_float_genarray : H5.t -> string -> ?deflate:int -> (float, Bigarray.float64_elt, _) Bigarray.Genarray.t -> unit
val read_float_genarray : H5.t -> ?data:(float, Bigarray.float64_elt, 'a) Bigarray.Genarray.t -> string -> 'a Bigarray.layout -> (float, Bigarray.float64_elt, 'a) Bigarray.Genarray.t

Reads the data set into a float Genarray.t.

  • parameter data

    If provided, the storage for the data.

val write_float_array1 : H5.t -> string -> ?deflate:int -> (float, Bigarray.float64_elt, _) Bigarray.Array1.t -> unit

Writes the given float Array1.t to the data set.

val read_float_array1 : H5.t -> ?data:(float, Bigarray.float64_elt, 'a) Bigarray.Array1.t -> string -> 'a Bigarray.layout -> (float, Bigarray.float64_elt, 'a) Bigarray.Array1.t

Reads the data set into a float Array1.t.

  • parameter data

    If provided, the storage for the data.

val write_float_array2 : H5.t -> string -> ?deflate:int -> (float, Bigarray.float64_elt, _) Bigarray.Array2.t -> unit

Writes the given float Array1.t to the data set.

val read_float_array2 : H5.t -> ?data:(float, Bigarray.float64_elt, 'a) Bigarray.Array2.t -> string -> 'a Bigarray.layout -> (float, Bigarray.float64_elt, 'a) Bigarray.Array2.t

Reads the data set into a float Array2.t.

  • parameter data

    If provided, the storage for the data.

val write_float_array3 : H5.t -> string -> ?deflate:int -> (float, Bigarray.float64_elt, _) Bigarray.Array3.t -> unit

Writes the given float Array1.t to the data set.

val read_float_array3 : H5.t -> ?data:(float, Bigarray.float64_elt, 'a) Bigarray.Array3.t -> string -> 'a Bigarray.layout -> (float, Bigarray.float64_elt, 'a) Bigarray.Array3.t

Reads the data set into a float Array3.t.

  • parameter data

    If provided, the storage for the data.

val write_attribute_float : H5.t -> string -> float -> unit

write_attribute_float t name v writes the given float as an attribute with the given name.

val read_attribute_float : H5.t -> string -> float

read_attribute_float t name reads the attribute with the given name as a float.

val write_attribute_float_array : H5.t -> string -> float array -> unit

Writes the given float as an attribute with the given name.

val read_attribute_float_array : H5.t -> string -> float array

Reads the attribute with the given name as a float.