power_law_transform#

synthesizAR.util.power_law_transform(x, a0, a1, alpha)[source]#

Transform uniform distribution to a power-law distribution with an upper and lower bound.

Parameters:
  • x (array-like) – Uniform distribution

  • a0 (float) – Lower bound on power-law distribution

  • a1 (float) – Upper bound on power-law distribution

  • alpha (float) – Index of the power-law distribution