ArrayFeatureOutput#

Defined in: voxatlas.features.feature_output

class voxatlas.features.feature_output.ArrayFeatureOutput(feature, values)[source]#

Bases: object

Store an unlabeled NumPy array result.

Parameters:
  • feature (str) – Registered feature name.

  • values (ndarray) – Raw NumPy array produced by the feature.

Returns:

Dataclass wrapping an unlabeled array output.

Return type:

ArrayFeatureOutput

Notes

This container is useful for results that do not naturally fit the scalar, vector, matrix, or table forms.

Examples

Usage example:

output = ArrayFeatureOutput(feature="custom.array", values=array)
print(output.values.shape)
feature: str#
values: ndarray#