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.

我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

H5S.select_none

Reset selection region to include no elements

Syntax

H5S.select_none(space_id)

Description

H5S.select_none(space_id) resets the selection region for the data space space_id to include no elements.

Examples

fid = H5F.open('example.h5');
dset_id = H5D.open(fid,'/g3/integer');
space_id = H5D.get_space(dset_id);
num_points1 = H5S.get_select_npoints(space_id);
H5S.select_none(space_id);
num_points2 = H5S.get_select_npoints(space_id);
Was this topic helpful?