rex.external.rexarray.VarInfo

class VarInfo(name, var, meta_index, coord_index)

Bases: tuple

Create new instance of VarInfo(name, var, meta_index, coord_index)

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

coord_index

Alias for field number 3

meta_index

Alias for field number 2

name

Alias for field number 0

var

Alias for field number 1

__add__(value, /)

Return self+value.

__mul__(value, /)

Return self*value.

coord_index

Alias for field number 3

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

meta_index

Alias for field number 2

name

Alias for field number 0

var

Alias for field number 1