Trees | Indices | Help |
---|
|
object --+ | CompoundType
A CompoundType instance is used to describe a compound data type.
Constructor: CompoundType(group, datatype,
datatype_name)
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.
Instance Methods | |||
|
|||
a new object with type S, a subtype of T |
|
||
Inherited from |
Instance Variables | |
dtype A numpy dtype object describing the compound data type. |
|
name A python string describing the compound type. |
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Jul 8 10:58:35 2010 | http://epydoc.sourceforge.net |