HdfScaleMeta

Contents

HdfScaleMeta#

class HdfScaleMeta(name, type, shape, imin, imax)#

Bases: tuple

Named tuples for HDF metadata

Parameters:
namestr

The name of the scale.

typestr

The data type of the scale.

shapeTuple[int, …]

The shape of the scale.

iminfloat

The minimum value of the scale. This assumes the scale is monotonically increasing.

imaxfloat

The maximum value of the scale. This assumes the scale is monotonically increasing.

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Data

imax

Alias for field number 4

imin

Alias for field number 3

name

Alias for field number 0

shape

Alias for field number 2

type

Alias for field number 1