code: def adapt_step(mu, err_p, err):
      if err.real * err_p.real > 0 and err.imag * err_p.imag > 0:
          return mu
      else:
          return mu / (
              1 + mu * (err.real * err.real + err.imag * err.imag)
          )
  
imports: import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: adapt_step(mu, err_p, err) and returns: mu, unknown