code: def get_m_b(beta):
      b = np.dot(beta, beta) / beta[1]
      m = -beta[0] / beta[1]
      return m, b
  
imports: import numpy
  import matplotlib.pyplot
  from scipy import optimize
  from astroML.linear_model import TLS_logL, LinearRegression
label_desc: Use image node_id 1 for calling a global function with example usage: get_m_b(beta) and returns: m,  b