get_PSD_dB_as_nparray#
- PowerSpectralDensity.get_PSD_dB_as_nparray(ref_value=1.0)#
Get the PSD in dB/Hz as a NumPy array.
- Parameters:
- ref_value
float
, default: 1.0 Reference value for dB level calculation, by default 1.0. Example: ref_value = 2e-5 Pa for sound pressure level (dBSPL/Hz).
- ref_value
- Returns:
numpy.ndarray
The PSD in dB/Hz as a NumPy array.
- Return type: