get_output_as_nparray#

ToneToNoiseRatio.get_output_as_nparray()#

Get TNR data in a tuple as a NumPy array.

Returns:
:
tuple

First element is the vector of peaks’ frequencies in Hz.

Second element is the vector of peaks’ TNR values in dB.

Third element is the vector of peaks’ level values in dB SPL.

Fourth element is the vector of peaks’ lower-frequency limits in Hz.

Fifth element is the vector of peaks’ higher-frequency limits in Hz.

Sixth element is the maximum TNR value in dB.

Note: The first five elements are vectors of the same length. The sixth element is a float.

Return type:

tuple[Union[Buffer, _SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]] | None