code: def _construct_symbolic_beta(q, sigma, order):
      mu2 = sigma * sp.sqrt(sp.log(1 / q))
      mu1 = mu2 + 1
      eps1 = mu1 / sigma**2
      eps2 = mu2 / sigma**2
      a = (1 - q) / (1 - (q * sp.exp(eps2)) ** (1 - 1 / mu2))
      b = sp.exp(eps1) / q ** (1 / (mu1 - 1))
      s = (1 - q) * a ** (order - 1) + q * b ** (order - 1)
      return (1 / (order - 1)) * sp.log(s)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import math
  from absl import app
  import numpy
  import scipy
  import sympy
  import core
label_desc: Use image node_id 17 for calling a global function with example usage: _construct_symbolic_beta(q, sigma, order) and returns: unknown