get_labels#
- get_labels(domain, label_name)#
Get labels from a muspan domain.
- Parameters:
- domainobject
A muspan domain.
- label_namestr
String specifying the name of a label within the domain domain.
- Returns:
- labelsarray
Array containing all values of the specified label_name.
- object_indicesarray
Array containing indices of the objects associated with the values in labels.
- Raises:
- ValueError
If label_name does not specify an existing label.