Attention:
When creating nested compound data types, the inner compound data
types must already be associated with CompoundType instances (so
create CompoundType instances for the innermost structures first).
CompoundType instances should be created using the
createCompoundType method of a Dataset or Group instance,
not using this class directly.
Parameters:
group
- Group instance to associate with the compound
datatype.
datatype
- A numpy dtype object describing a
structured (a.k.a record) array. Can be composed of homogeneous
numeric or character data types, or other structured array data
types.
datatype_name
- a Python string containing a
description of the compound data type.
Returns:
a CompoundType instance, which can be passed to the
createVariable
method of a Dataset or Group
instance.
The instance variables dtype
and name
should not be modified by the user.