PercentageNoise#
- class wattson.powergrid.noise.transformations.percentage_noise.PercentageNoise(percentage: float, hard_cap: bool = True)#
Bases:
Noise
Applies noise to the given value as a percentage. The value is scaled by the given scale with a randomized value resulting from a normal distribution.
Methods
apply
- __init__(percentage: float, hard_cap: bool = True)#