BGlib
Examples
Cost function minimization of SHO fitting
parms (list or tuple) – SHO parameters=(A,w0,Q,phi)
w_vec (1D numpy array) – Vector of frequency values
resp_vec (1D complex numpy array or list) – Cantilever response vector as a function of frequency