Custom Power Amplifier¶
![Inheritance diagram of hermespy.simulation.rf_chain.power_amplifier.CustomPowerAmplifier](../_images/inheritance-c03b2752994e14a9fd7597ca08979afe2b4ff039.png)
Fully customizable pwoer amplification model. The users may define their own gain and phase characteristics.
- class CustomPowerAmplifier(input, gain, phase, **kwargs)[source]¶
Bases:
PowerAmplifier
Model of a customized power amplifier.
- Parameters:
input (np.ndarray)
gain (np.ndarray)
phase (np.ndarray)
**kwargs (Any) – PowerAmplifier base class initialization arguments.
- Raises:
ValueError – If input, gain, and phase are not vectors of identical length.