get_spectrum_details#

TonalityDIN45681.get_spectrum_details(spectrum_index=0)#

Get the spectrum data for a specific spectrum.

Returns the data (decisive difference, uncertainty, and decisive frequency) corresponding to a specific spectrum (time step).

Parameters:
spectrum_index: int, default: 0

Index of the spectrum to get.

Returns:
tuple[float,float,float]

Decisive difference DLj in dB.

Uncertainty in dB.

Decisive frequency in Hz.

Return type:

tuple[float, float, float]