Noise Model¶

- class NoiseModel(seed=None)[source]¶
Bases:
Serializable,RandomNode,Generic[NRT]Noise modeling base class.
- add_noise(signal, power)[source]¶
Add noise to a signal model.
- Parameters:
- Return type:
TypeVar(ST, bound= Signal)
Returns: Signal model with added noise.
- abstract realize(power)[source]¶
Realize the noise model.
- Parameters:
power (
float) – Power of the added noise in Watt.- Return type:
TypeVar(NRT, bound=NoiseRealization)
Returns: Noise model realization.
- class AWGN(seed=None)[source]¶
Bases:
NoiseModel[AWGNRealization]Additive White Gaussian Noise.
- classmethod Deserialize(process)[source]¶
Deserialize an object’s state.
Objects cannot be deserialized directly, instead a
Factorymust be instructed to carry out the deserialization process.- Parameters:
process (
DeserializationProcess) – The current stage of the deserialization process. This object is generated by theFactoryand provides an interface to deserialization methods supporting multiple backends.- Return type:
- Returns:
The deserialized object.
- realize(power)[source]¶
Realize the noise model.
- Parameters:
power (
float) – Power of the added noise in Watt.- Return type:
Returns: Noise model realization.
- serialize(process)[source]¶
Serialize this object’s state.
Objects cannot be serialized directly, instead a
Factorymust be instructed to carry out the serialization process.- Parameters:
process (
SerializationProcess) – The current stage of the serialization process. This object is generated by theFactoryand provides an interface to serialization methods supporting multiple backends.- Return type:
- class NoiseRealization(power, seed)[source]¶
Bases:
RandomRealizationRealization of a noise model
- Parameters:
- classmethod Deserialize(process)[source]¶
Deserialize an object’s state.
Objects cannot be deserialized directly, instead a
Factorymust be instructed to carry out the deserialization process.- Parameters:
process (
DeserializationProcess) – The current stage of the deserialization process. This object is generated by theFactoryand provides an interface to deserialization methods supporting multiple backends.- Return type:
- Returns:
The deserialized object.
- serialize(process)[source]¶
Serialize this object’s state.
Objects cannot be serialized directly, instead a
Factorymust be instructed to carry out the serialization process.- Parameters:
process (
SerializationProcess) – The current stage of the serialization process. This object is generated by theFactoryand provides an interface to serialization methods supporting multiple backends.- Return type:
- class AWGNRealization(power, seed)[source]¶
Bases:
NoiseRealizationRealization of additive white Gaussian noise
- Parameters:
- class NRT[source]¶
Type of noise realization
alias of TypeVar(‘NRT’, bound=
NoiseRealization)