pathsim.blocks.amplifier module

class pathsim.blocks.amplifier.Amplifier(gain=1.0)[source]

Bases: Block

Amplifies the input signal by multiplication with a constant gain term like this:

\[y(t) = \mathrm{gain} \cdot u(t)\]
Parameters:

gain (float) – amplifier gain

update(t)[source]

update system equation in fixed point loop

Parameters:

t (float) – evaluation time

Returns:

error – deviation to previous iteration for convergence control

Return type:

float