package hdf5
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=5e42f0b3f28a7ed8ba84998ee30ff8e7
sha512=17eea72e38f70f92a3b01cd10e0cae8839d8d214b5fa6507f9d435530afe17c88fbdd349157a12eead205e1cf66225d6282199404a3c26841366a57f5c69ff23
doc/hdf5.caml/Hdf5_caml/H5/index.html
Module Hdf5_caml.H5
include module type of struct include H5 end
Sets whether the create HDF5 files are split by default. See open_.
Returns whether the created HDF5 files are split by default. See open_.
type open_ = ?meta_block_size:int -> ?split:bool -> string -> tParameters for opening files.
val create_trunc : open_Creates the named file and returns the root group.
val open_rdonly : open_Opens the named file for reading and returns the root group.
val open_rdwr : open_Opens the named file for reading and writing and returns the root group.
Opens the named subgroup. The subgroup is created if it does not already exist.
val close : t -> unitCloses the group handle. If given a root group closes the file.
val flush : t -> unitFlushes all buffers associated with a file to disk.
val get_name : t -> stringReturns the name of file to which object belongs.
val exists : t -> string -> boolReturns whether the given subgroup or a data set exists.
val delete : t -> string -> unitDeletes the given subgroup or a data set.
val ls :
?index:Hdf5_raw.H5_raw.Index.t ->
?order:Hdf5_raw.H5_raw.Iter_order.t ->
t ->
string listReturns all subdirectories and data sets.
val merge :
src:t ->
dst:t ->
on_duplicate:[ `Skip | `Raise | `Call of string list -> unit ] ->
unitMerges the source into the destination. Every group and dataset from the source is copied to the destination. on_duplicate defines what is done in the case of a conflict. The argument to `Call is the path of the conflicting dataset.
Creates a hard link.
val create_soft_link : target_path:string -> link:t -> link_name:string -> unitCreates a soft link.
val create_external_link :
t ->
target_file_name:string ->
target_obj_name:string ->
link_name:string ->
unitCreates an external link.
val hid : t -> Hdf5_raw.Hid.tReturns the HDF5 handle
val dataset : Hdf5_raw.Hid.t -> tConstruct H5.t from dataset HDF5 handle
val file : Hdf5_raw.Hid.t -> tConstruct H5.t from file HDF5 handle
val group : Hdf5_raw.Hid.t -> tConstruct H5.t from group HDF5 handle
val h5t : Hdf5_raw.Hid.t -> tConstruct H5.t from group, file, or dataset HDF5 handle
val write_uint8_array1 :
t ->
string ->
?deflate:int ->
(char, Bigarray.int8_unsigned_elt, _) Bigarray.Array1.t ->
unitWrites the given uint8 Array1.t to the data set.
val read_uint8_array1 :
t ->
?data:(char, Bigarray.int8_unsigned_elt, 'a) Bigarray.Array1.t ->
string ->
'a Bigarray.layout ->
(char, Bigarray.int8_unsigned_elt, 'a) Bigarray.Array1.tReads the data set into a uint8 Array1.t.
val write_string : t -> string -> ?deflate:int -> string -> unitWrites the given string to the data set.
val read_string : t -> string -> stringReads the data set into a string.
val write_string_array : t -> string -> ?deflate:int -> string array -> unitWrites the given string array to the data set.
val read_string_array : t -> string -> string arrayReads the data set into a string array.
val write_attribute_int64 : t -> string -> int64 -> unitwrite_attribute_int64 t name v writes the given int64 as an attribute with the given name.
val read_attribute_int64 : t -> string -> int64read_attribute_int64 t name reads the attribute with the given name as a int64.
val write_attribute_string : t -> string -> string -> unitwrite_attribute_string t name v writes the given string as an attribute with the given name.
val read_attribute_string : t -> string -> stringread_attribute_string t name reads the attribute with the given name as a string.
val write_attribute_string_array : t -> string -> string array -> unitwrite_attribute_string_array t name v writes the given string array as an attribute with the given name.
val read_attribute_string_array : t -> string -> string arrayread_attribute_string_array t name reads the attribute with the given name as a string array.
val attribute_exists : t -> string -> boolReturns whether the given attribute exists.
val delete_attribute : t -> string -> unitDeletes the given attribute.
val write_float_array : t -> string -> ?deflate:int -> float array -> unitWrites the given float array to the data set.
val read_float_array : t -> ?data:float array -> string -> float arrayReads the data set into a float array.
val write_float_genarray :
t ->
string ->
?deflate:int ->
(float, Bigarray.float64_elt, _) Bigarray.Genarray.t ->
unitval read_float_genarray :
t ->
?data:(float, Bigarray.float64_elt, 'a) Bigarray.Genarray.t ->
string ->
'a Bigarray.layout ->
(float, Bigarray.float64_elt, 'a) Bigarray.Genarray.tReads the data set into a float Genarray.t.
val write_float_array1 :
t ->
string ->
?deflate:int ->
(float, Bigarray.float64_elt, _) Bigarray.Array1.t ->
unitWrites the given float Array1.t to the data set.
val read_float_array1 :
t ->
?data:(float, Bigarray.float64_elt, 'a) Bigarray.Array1.t ->
string ->
'a Bigarray.layout ->
(float, Bigarray.float64_elt, 'a) Bigarray.Array1.tReads the data set into a float Array1.t.
val write_float_array2 :
t ->
string ->
?deflate:int ->
(float, Bigarray.float64_elt, _) Bigarray.Array2.t ->
unitWrites the given float Array1.t to the data set.
val read_float_array2 :
t ->
?data:(float, Bigarray.float64_elt, 'a) Bigarray.Array2.t ->
string ->
'a Bigarray.layout ->
(float, Bigarray.float64_elt, 'a) Bigarray.Array2.tReads the data set into a float Array2.t.
val write_float_array3 :
t ->
string ->
?deflate:int ->
(float, Bigarray.float64_elt, _) Bigarray.Array3.t ->
unitWrites the given float Array1.t to the data set.
val read_float_array3 :
t ->
?data:(float, Bigarray.float64_elt, 'a) Bigarray.Array3.t ->
string ->
'a Bigarray.layout ->
(float, Bigarray.float64_elt, 'a) Bigarray.Array3.tReads the data set into a float Array3.t.
val write_attribute_float : t -> string -> float -> unitwrite_attribute_float t name v writes the given float as an attribute with the given name.
val read_attribute_float : t -> string -> floatread_attribute_float t name reads the attribute with the given name as a float.
val write_attribute_float_array : t -> string -> float array -> unitWrites the given float as an attribute with the given name.
val read_attribute_float_array : t -> string -> float arrayReads the attribute with the given name as a float.
module Float32 : sig ... endmodule Float64 : sig ... end