pathsim.blocks.differentiator module
- class pathsim.blocks.differentiator.Differentiator(f_max=100.0)[source]
Bases:
BlockDifferentiates the input signal (SISO) using a first order transfer function with a pole at the origin which implements a high pass filter.
\[H_\mathrm{diff}(s) = \frac{s}{1 + s / f_\mathrm{max}}\]The approximation holds for signals up to a frequency of approximately f_max.
Notes
Depending on ‘f_max’, the resulting system might become stiff or ill conditioned! As a practical choice set f_max to 3x the highest expected signal frequency.
- Parameters:
f_max (float) – highest expected signal frequency