Clipping Power Amplifier

Inheritance diagram of hermespy.simulation.rf_chain.power_amplifier.ClippingPowerAmplifier

Model of a power amplifier driven into saturation. Complex signal samples with amplitudes above \(s_\mathrm{sat} \in \mathbb{R}\) will be clipped to the maximum amplitude value. In case of clipping, the respective sample angles will be preserved, so that

\[s'(t) = \frac{s(t)}{|s(t)|} \cdot \min{(|s(t)|, s_\mathrm{sat})} \text{.}\]
class ClippingPowerAmplifier(**kwargs)[source]

Bases: PowerAmplifier

Model of a clipping power amplifier.

Parameters:

**kwargs (Any) – PowerAmplifier base class initialization arguments.

model(input_signal)[source]

Model signal amplification characteristics.

Parameters:

input_signal (np.ndarray) – Sample vector of the signal feeding into the power amplifier.

Returns:

Distorted signal after amplification modeling.

Return type:

np.ndarray

yaml_tag: str = 'Clipping'

YAML serialization tag.