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
Attributes
Human-readable description of what this measures.
Value range specification (e.g., "[0,1]", ">=0", "categorical").
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.