BGlib
Examples
Default SHO guess from the maximum value of the response
w_vec (1D numpy array or list) – Vector of BE frequencies
resp_vec (1D complex numpy array or list) – BE response vector as a function of frequency
qual_factor (float) – Quality factor of the SHO peak
retval – SHO fit parameters arranged as [amplitude, frequency, quality factor, phase]
1D numpy array