Noise Modeling

class Noise(power=0.0, seed=None)

Bases: hermespy.core.random_node.RandomNode

Noise modeling base class.

Parameters

power (float, optional) – Power of the added noise.

abstract add(signal, power=None)

Add noise to a signal model.

Parameters
  • signal (Signal) – The signal to which the noise should be added.

  • power (float, optional) – Power of the added noise.

Return type

None

property power: float

Power of the added noise.

Note that for white Gaussian noise the power is equivalent to the variance of the added random variable.

Returns

Power of the added noise.

Return type

power (float)

Raises

ValueError – If the power is smaller than zero.

class AWGN(power=0.0, seed=None)

Bases: hermespy.simulation.noise.noise.Noise

Additive White Gaussian Noise.

Parameters

power (float, optional) – Power of the added noise.

add(signal, power=None)

Add noise to a signal model.

Parameters
  • signal (Signal) – The signal to which the noise should be added.

  • power (float, optional) – Power of the added noise.

Return type

None