AbsoluteNoise#

class wattson.powergrid.noise.transformations.absolute_noise.AbsoluteNoise(absolute_scale: float, hard_cap: bool = True)#

Bases: Noise

Applies noise to the given value as an absolut value. The value where the noise should be applied to is then modified to include a normal distributed absolute noise with the scale of the given absolute_scale.

Methods

__init__

apply

__init__(absolute_scale: float, hard_cap: bool = True)#