Quantcast

Documentation Center

  • Trial Software
  • Product Updates

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?