Module H5Z

Filter API and constants.

h5py.h5z.filter_avail(INT filter_code) → BOOL

Determine if the given filter is available to the library. The filter code should be one of:

h5py.h5z.get_filter_info(INT filter_code) → INT filter_flags

Retrieve a bitfield with information about the given filter. The filter code should be one of:

Valid bitmasks for use with the returned bitfield are:

Module constants

Predefined filters

h5py.h5z.FILTER_NONE
h5py.h5z.FILTER_ALL
h5py.h5z.FILTER_DEFLATE
h5py.h5z.FILTER_SHUFFLE
h5py.h5z.FILTER_FLETCHER32
h5py.h5z.FILTER_SZIP
h5py.h5z.FILTER_SCALEOFFSET
h5py.h5z.FILTER_LZF

Filter flags

h5py.h5z.FLAG_DEFMASK
h5py.h5z.FLAG_MANDATORY
h5py.h5z.FLAG_OPTIONAL
h5py.h5z.FLAG_INVMASK
h5py.h5z.FLAG_REVERSE
h5py.h5z.FLAG_SKIP_EDC

SZIP-specific options

h5py.h5z.SZIP_ALLOW_K13_OPTION_MASK
h5py.h5z.SZIP_CHIP_OPTION_MASK
h5py.h5z.SZIP_EC_OPTION_MASK
h5py.h5z.SZIP_NN_OPTION_MASK
h5py.h5z.SZIP_MAX_PIXELS_PER_BLOCK

Scale/offset-specific options

h5py.h5z.SO_FLOAT_DSCALE
h5py.h5z.SO_FLOAT_ESCALE
h5py.h5z.SO_INT
h5py.h5z.SO_INT_MINBITS_DEFAULT

Other flags

h5py.h5z.FILTER_CONFIG_ENCODE_ENABLED
h5py.h5z.FILTER_CONFIG_DECODE_ENABLED
h5py.h5z.DISABLE_EDC
h5py.h5z.ENABLE_EDC
h5py.h5z.NO_EDC

Table Of Contents

Previous topic

Module H5T

This Page