BGlib.be.translators.df_utils.be_utils.normalizeBEresponse¶
- BGlib.be.translators.df_utils.be_utils.normalizeBEresponse(spectrogram_mat, FFT_BE_wave, harmonic)[source]¶
This function normalizes the BE waveform to correct the phase by diving by the excitation
- Parameters:
spectrogram_mat (2D complex numpy array) – BE response arranged as [bins, steps]
FFT_BE_wave (1D complex numpy array) – FFT of the BE waveform at the appropriate bins. Number of bins must match with spectrogram_mat
harmonic (unsigned int) – nth harmonic of the excitation waveform
- Returns:
spectrogram_mat – Normalized BE response spectrogram
- Return type:
2D complex numpy array