get_output_as_nparray#

SpectralCentroid.get_output_as_nparray()#

Get the spectral centroid as a NumPy array.

Returns:
numpy.ndarray:

Array of spectral centroid values in Hz.

Return type:

ndarray