Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

H5T.copy

Copy data type

Syntax

output_type_id = H5T.copy(type_id)

Description

output_type_id = H5T.copy(type_id) copies the existing data type identifier, a dataset identifier specified by type_id, or a predefined data type such as 'H5T_NATIVE_DOUBLE'. output_type_id is a data type identifier.

Examples

type_id = H5T.copy('H5T_NATIVE_DOUBLE');
type_size = H5T.get_size(type_id);

See Also

Was this topic helpful?