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_diff(s) = s / (1 + s/f_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