ProminenceRatio#
- class ansys.sound.core.psychoacoustics.ProminenceRatio(psd=None, frequency_list=None)#
Computes the ECMA 418-1/ISO 7779 prominence ratio (PR).
This class computes the PR on a power spectral density (PSD) following the ECMA 418-1 and ISO 7779 standards.
Methods
Convert a DPF fields container to a NumPy array.
Get the vector of the peaks' PR values.
Get the maximum PR value.
Get the number of tones.
Get PR data in a tuple as a generic data container.
Get PR data in a tuple as a NumPy array.
Get the vector of the peaks' frequencies.
Get the vector of the peaks' higher-frequency limits.
Get the vector of the peaks' level values.
Get the vector of the peaks' lower-frequency limits.
Get a reference curve to compare the PR with.
ProminenceRatio.get_single_tone_info
(tone_index)Get the PR information for a tone.
Plot the PR for all identified peaks, along with the reference curve.
Compute the PR.
Attributes
Frequency list.
Power spectral density.