Quantcast

Documentation Center

  • Trial Software
  • Product Updates

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?