get_output_as_nparray#

ProminenceRatio.get_output_as_nparray()#

Get PR data in a tuple as a NumPy array.

Returns:
:
tuple

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

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

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

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

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

Sixth element is the maximum PR 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