power_law_transform

synthesizAR.interfaces.ebtel.power_law_transform(x, a0, a1, alpha)[source]

Transform uniform distribution to a power-law distribution.

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