BGlib
Examples
Generates good initial guesses for fitting
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
num_points ((Optional) unsigned int) – Quality factor of the SHO peak
retval – SHO fit parameters arranged as amplitude, frequency, quality factor, phase
tuple