module
HDF5::Container
Direct including types
Defined in:
hdf5/group.crInstance Method Summary
- #[](path : String) : Group | Dataset
- #[]=(path : String, data : Array(T)) forall T
- #attrs : Attributes
-
#create_dataset(path : String, data : Array(T)) : TypedDataset(T) forall T
Create from data (infer type and shape from array)
- #create_dataset(path : String, data : Array(String), *, string_type : StringType = StringType.variable, encoding : Symbol | StringEncoding | Nil = nil) : TypedDataset(String)
- #create_dataset(path : String, data : Array(T), &block : TypedDataset(T) -> ) : Nil forall T
- #create_dataset(path : String, data : Array(String), *, string_type : StringType = StringType.variable, encoding : Symbol | StringEncoding | Nil = nil, &block) : Nil
- #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)
-
#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)
- #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
- #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
- #create_group(path : String) : Group
- #create_group(path : String, &block : Group -> ) : Nil
- #dataset(path : String, type : T.class) : TypedDataset(T) forall T
- #dataset(path : String, type : T.class, &block : TypedDataset(T) -> ) : Nil forall T
- #delete(path : String) : Nil
- #each(& : String -> ) : Nil
- #exists?(path : String) : Bool
- #external_link(filename : String, target_path : String, link_path : String) : Nil
- #keys : Array(String)
- #link(source_path : String, destination_path : String) : Nil
- #nlinks : UInt64
- #object_type(path : String) : Symbol
- #open_dataset(path : String) : Dataset
- #open_group(path : String) : Group
- #open_group(path : String, &block : Group -> ) : Nil
- #open_object(path : String) : Group | Dataset
- #open_object(path : String, &block : Group | Dataset -> ) : Nil
- #reference(path : String) : Reference
- #require_group(path : String) : Group
- #require_group(path : String, &block : Group -> ) : Nil
- #soft_link(target_path : String, link_path : String) : Nil
Instance Method Detail
def create_dataset(path : String, data : Array(T)) : TypedDataset(T) forall T
#
Create from data (infer type and shape from array)
def create_dataset(path : String, data : Array(String), *, string_type : StringType = StringType.variable, encoding : Symbol | StringEncoding | Nil = nil) : TypedDataset(String)
#
def create_dataset(path : String, data : Array(T), &block : TypedDataset(T) -> ) : Nil forall T
#
def create_dataset(path : String, data : Array(String), *, string_type : StringType = StringType.variable, encoding : Symbol | StringEncoding | Nil = nil, &block) : Nil
#
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)
#
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)
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
#
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
#
def external_link(filename : String, target_path : String, link_path : String) : Nil
#