dimension_value

File Purpose: DimensionValue, DimensionValueList, UniqueDimensionValue

Functions

string_int_index(list_)

return dict mapping DimensionValue, str, and int keys to the indices of corresponding DimensionValue values.

string_int_lookup(dict_)

return dict_ but with DimensionValue, str, and int keys.

Classes

DimensionAttrSpecifier(attr[, name, single, ...])

DimensionSpecialValueSpecifier which specifies elements where this attribute equals a provided value.

DimensionFractionalIndexer(indexer, ...)

DimensionSpecialValueSpecifier which specifies to do interprets_fractional_indexing.

DimensionSingleValueSpecifier(getter, ...)

DimensionSpecialValueSpecifier which includes checker, to check if single value matches.

DimensionSpecialValueSpecifier(getter, ...)

behaves in a special way when used to specify a dimension value:

DimensionValue([s, i])

value of a dimension.

DimensionValueList(*args_list[, istart])

SliceableList of DimensionValue elements.

SliceableList([iterable])

list that returns a new instance of type(self) when sliced.

SpecialDimensionValue([s, i])

a special dimension value, not corresponding to a usual value from a DimensionValueList.

UniqueDimensionValue(name[, repr, ...])

a unique dimension value, not corresponding to a usual value from a DimensionValueList.