code: def __init__(self, *, eta=0.95, r=2, k=3 / 2, **kwargs):
      from math import log1p
      import scipy.special as sc
  
      assert 0 < eta < 1
      assert r > 1
  
      self.eta = eta
      self.r = r
      self.gtilde = GTilde(k=k)
      polylog_val = 1.4406337969700393  # mpmath.fp.polylog(r, eta)
      self.scalefac = 1 / 2 * (1 + polylog_val / (eta * sc.zeta(r)))
      assert 0 < self.scalefac < 1, self.scalefac
      self.logscalefac = log1p(self.scalefac - 1)
      self.t = 0
  
      super().__init__(**kwargs)
  
      self.logxim1 = log1p(self.xi - 2)
  
label_desc: Use image node_id 1 to create a new RobustMixture object from inherited base classes: CountableDiscreteBase with example: obj = RobustMixture()