scippnexus.typing.H5Group#

class scippnexus.typing.H5Group(*args, **kwargs)[source]#

h5py.Group-like

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

create_dataset()

Create a dataset

create_group()

Create a group

keys()

Keys in the group

visititems(func)

Apply callable to all items, recursively

Attributes

attrs

Attributes of dataset or group

file

File of dataset or group

name

Name of dataset or group

parent

Parent of dataset or group

__getitem__(index)[source]#

Keys in the group

Return type:

H5Dataset | H5Group

create_dataset()[source]#

Create a dataset

Return type:

H5Dataset

create_group()[source]#

Create a group

Return type:

H5Group

keys()[source]#

Keys in the group

Return type:

list[str]

visititems(func)[source]#

Apply callable to all items, recursively

Return type:

None