module HDF5::Container

Direct including types

Defined in:

hdf5/group.cr

Instance Method Summary

Instance Method Detail

def [](path : String) : Group | Dataset #

[View source]
def []=(path : String, data : Array(T)) forall T #

[View source]
def attrs : Attributes #

[View source]
def create_dataset(path : String, data : Array(T)) : TypedDataset(T) forall T #

Create from data (infer type and shape from array)


[View source]
def create_dataset(path : String, data : Array(String), *, string_type : StringType = StringType.variable, encoding : Symbol | StringEncoding | Nil = nil) : TypedDataset(String) #

[View source]
def create_dataset(path : String, data : Array(T), &block : TypedDataset(T) -> ) : Nil forall T #

[View source]
def create_dataset(path : String, data : Array(String), *, string_type : StringType = StringType.variable, encoding : Symbol | StringEncoding | Nil = nil, &block) : Nil #

[View source]
def create_dataset(path : String, type : String.class, *, shape : Indexable, max_shape : Indexable | Nil = nil, chunk : Indexable | Nil = nil, compression : Compression | Symbol | Nil = nil, compression_level : Int32 = 6, shuffle : Bool = false, fletcher32 : Bool = false, options : DatasetCreateOptions | Nil = nil, string_type : StringType = StringType.variable, encoding : Symbol | StringEncoding | Nil = nil) : TypedDataset(String) #

[View source]
def create_dataset(path : String, type : T.class, *, shape : Indexable, max_shape : Indexable | Nil = nil, chunk : Indexable | Nil = nil, compression : Compression | Symbol | Nil = nil, compression_level : Int32 = 6, shuffle : Bool = false, fletcher32 : Bool = false, options : DatasetCreateOptions | Nil = nil) : TypedDataset(T) forall T #

Create from type + explicit shape (named params)


[View source]
def create_dataset(path : String, type : String.class, *, shape : Indexable, max_shape : Indexable | Nil = nil, chunk : Indexable | Nil = nil, compression : Compression | Symbol | Nil = nil, compression_level : Int32 = 6, shuffle : Bool = false, fletcher32 : Bool = false, options : DatasetCreateOptions | Nil = nil, string_type : StringType = StringType.variable, encoding : Symbol | StringEncoding | Nil = nil, &block : TypedDataset(String) -> ) : Nil #

[View source]
def create_dataset(path : String, type : T.class, *, shape : Indexable, max_shape : Indexable | Nil = nil, chunk : Indexable | Nil = nil, compression : Compression | Symbol | Nil = nil, compression_level : Int32 = 6, shuffle : Bool = false, fletcher32 : Bool = false, options : DatasetCreateOptions | Nil = nil, &block : TypedDataset(T) -> ) : Nil forall T #

[View source]
def create_group(path : String) : Group #

[View source]
def create_group(path : String, &block : Group -> ) : Nil #

[View source]
def dataset(path : String, type : T.class) : TypedDataset(T) forall T #

[View source]
def dataset(path : String, type : T.class, &block : TypedDataset(T) -> ) : Nil forall T #

[View source]
def delete(path : String) : Nil #

[View source]
def each(& : String -> ) : Nil #

[View source]
def exists?(path : String) : Bool #

[View source]
def external_link(filename : String, target_path : String, link_path : String) : Nil #

[View source]
def keys : Array(String) #

[View source]
def link(source_path : String, destination_path : String) : Nil #

[View source]
def nlinks : UInt64 #

[View source]
def object_type(path : String) : Symbol #

[View source]
def open_dataset(path : String) : Dataset #

[View source]
def open_group(path : String) : Group #

[View source]
def open_group(path : String, &block : Group -> ) : Nil #

[View source]
def open_object(path : String) : Group | Dataset #

[View source]
def open_object(path : String, &block : Group | Dataset -> ) : Nil #

[View source]
def reference(path : String) : Reference #

[View source]
def require_group(path : String) : Group #

[View source]
def require_group(path : String, &block : Group -> ) : Nil #

[View source]
def soft_link(target_path : String, link_path : String) : Nil #

[View source]