NamedPositionalAxisInfo

NamedPositionalAxisInfo#

class treescope.ndarray_adapters.NamedPositionalAxisInfo[source]#

Bases: object

Marks an axis as being accessible by name or by position.

Variables:
  • axis_logical_index (int) – The logical index of the axis. This is the index of the axis in the underlying array data.

  • axis_name (int) – The name of the axis.

  • size (int) – The size of the axis.

Methods

__init__(axis_logical_index, axis_name, size)

logical_key()

Attributes

axis_logical_index

axis_name

size