code: def not_zero(value):
      """Return value with a minimal absolute size of tiny, preserving the sign.
  
      This is a helper function to prevent ZeroDivisionError's.
  
      Parameters
      ----------
      value : scalar
          Value to be ensured not to be zero.
  
      Returns
      -------
      scalar
          Value ensured not to be zero.
  
      """
      return float(copysign(max(tiny, abs(value)), value))
  
imports: from numpy import arctan, copysign, cos, exp, isclose, isnan, log, log1p, maximum, minimum, pi, real, sin, sqrt, where
  from scipy.special import betaln
  from scipy.special import erf, erfc
  from scipy.special import gamma
  from scipy.special import loggamma
  from scipy.special import wofz
label_desc: Use image node_id 1 for calling a global function with example usage: not_zero(value) and returns: float