h5py.alfven.org

HDF5 for Python Documentation

Table Of Contents

Previous topic

Module H5S

Next topic

Module H5Z

This Page

Module H5T

Functional API

Type classes

Atomic classes

Atomic types are integers and floats. Much of the functionality for each is inherited from the base class TypeAtomicID.

Strings

Compound Types

Traditional compound type (like NumPy record type) and enumerated types share a base class, TypeCompositeID.

Other types

Predefined Datatypes

These locked types are pre-allocated by the library.

Floating-point

IEEE_F32LE
IEEE_F32BE
IEEE_F64LE
IEEE_F64BE

Integer types

STD_I8LE
STD_I16LE
STD_I32LE
STD_I64LE
STD_I8BE
STD_I16BE
STD_I32BE
STD_I64BE
STD_U8LE
STD_U16LE
STD_U32LE
STD_U64LE
STD_U8BE
STD_U16BE
STD_U32BE
STD_U64BE
NATIVE_INT8
NATIVE_UINT8
NATIVE_INT16
NATIVE_UINT16
NATIVE_INT32
NATIVE_UINT32
NATIVE_INT64
NATIVE_UINT64
NATIVE_FLOAT
NATIVE_DOUBLE

Other types

STD_REF_OBJ
Object reference
STD_REF_DSETREG
Dataset region reference
C_S1
Null-terminated fixed-length string
FORTRAN_S1
Zero-padded fixed-length string

Module constants

Datatype class codes

NO_CLASS
INTEGER
FLOAT
TIME
STRING
BITFIELD
OPAQUE
COMPOUND
REFERENCE
ENUM
VLEN
ARRAY

API Constants

SGN_NONE
SGN_2
ORDER_LE
ORDER_BE
ORDER_VAX
ORDER_NONE
ORDER_NATIVE
DIR_DEFAULT
DIR_ASCEND
DIR_DESCEND
STR_NULLTERM
STR_NULLPAD
STR_SPACEPAD
NORM_IMPLIED
NORM_MSBSET
NORM_NONE
CSET_ASCII
PAD_ZERO
PAD_ONE
PAD_BACKGROUND