VectorFeatureOutput#

Defined in: voxatlas.features.feature_output

class voxatlas.features.feature_output.VectorFeatureOutput(feature, unit, time, values)[source]#

Bases: object

Store a time-aligned one-dimensional feature sequence.

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

  • unit (str) – Unit level associated with the vector.

  • time (ndarray) – Time axis for the vector.

  • values (ndarray) – Vector values aligned to time.

Returns:

Dataclass wrapping frame-aligned outputs.

Return type:

VectorFeatureOutput

Notes

Acoustic envelope and pitch features commonly use this output type.

Examples

Usage example:

output = VectorFeatureOutput(feature="acoustic.pitch.f0", unit="frame", time=time, values=values)
print(output.values.shape)
feature: str#
unit: str#
time: ndarray#
values: ndarray#