Documentation Center

  • Trials
  • Product Updates

Contents

H5P.set_scaleoffset

Set Scale-Offset filter

Syntax

H5P.set_scaleoffset(plistId,scaleType,scaleFactor)

Description

H5P.set_scaleoffset(plistId,scaleType,scaleFactor) sets the Scale-Offset filter, H5Z_FILTER_SCALEOFFSET, for a dataset. For integer data types, the parameter scaleType should be set to the enumerated value H5Z_SO_INT. For floating-point data types, the scaleType should be the enumerated value H5Z_SO_FLOAT_DSCALE. Chunking must already be enabled on the dataset creation property list.

See Also

Was this topic helpful?