from_group#
- classmethod caput.memdata.MemGroup.from_group(group)[source]#
Create a new instance by deep copying an existing group.
Agnostic as to whether the group to be copied is a
MemGroupor anh5py.Group(which includesh5py.Fileandzarr.Fileobjects).- Parameters:
- group
FileOrGroupLike Group to copy from, or filename to load from.
- group
- Returns:
- group
MemGroup A new
MemGroupinstance.
- group
- Raises:
RuntimeErrorIf the input group is not a supported type.