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_valuefloat, 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).

Returns:
numpy.ndarray

The PSD in dB/Hz as a NumPy array.

Return type:

ndarray