mava_exchange.tracks.DimensionSpec

class mava_exchange.tracks.DimensionSpec(name: str, description: str = '', range: str = '')

Describes one measured quantity (column) within an ObservationSeries.

The name must match the column name in the Parquet file exactly.

Example:

DimensionSpec("angry", "Anger probability", "[0,1]")
DimensionSpec("rms", "Audio RMS volume", ">=0")
__init__(name: str, description: str = '', range: str = '') None

Methods

__init__(name[, description, range])

to_dict()

Converts to dictionary for manifest.json.

Attributes

description

Human-readable description of what this measures.

range

Value range specification (e.g., "[0,1]", ">=0", "categorical").

name

Column name in Parquet file.

name: str

Column name in Parquet file.

description: str = ''

Human-readable description of what this measures.

range: str = ''

Value range specification (e.g., “[0,1]”, “>=0”, “categorical”).

to_dict() dict

Converts to dictionary for manifest.json.