code: def linear_resonator(f, f_0, Q, Q_e_real, Q_e_imag):
      Q_e = Q_e_real + 1j * Q_e_imag
      return 1 - (Q * Q_e**-1 / (1 + 2j * Q * (f - f_0) / f_0))
  
file_path: lmfit-py/examples/example_complex_resonator_model.py
imports: import matplotlib.pyplot
  import numpy
  import lmfit
label_desc: Use image node_id 1 for calling a global function with example usage: linear_resonator(f, f_0, Q, Q_e_real, Q_e_imag) and returns: unknown