The label_space.py module#

Summary#

LabelSpace

A class representing a label space, which allows storage and management of key-value pairs (labels).

Description#

LabelSpace.

LabelSpace is a key component for managing entries in DPF collections such as FieldsContainer and ScopingsContainer.

It provides a mapping between label names and values, allowing users to organize, filter, and retrieve data based on metadata such as time steps, zones, element types, and more.

Typical usage: - FieldsContainer: Each field is indexed by a LabelSpace, enabling access by time, zone, etc. - ScopingsContainer: Each scoping is indexed by a LabelSpace, allowing management of multiple selections.

LabelSpace enables advanced data organization and querying in DPF workflows.