pathsim.blocks.amplifier module
- class pathsim.blocks.amplifier.Amplifier(gain=1.0)[source]
Bases:
BlockAmplifies the input signal by multiplication with a constant gain term like this:
\[y(t) = \mathrm{gain} \cdot u(t)\]Example
The block is initialized like this:
#amplification by factor 5 A = Amplifier(gain=5)
- Parameters:
gain (float) – amplifier gain