harold.undiscretize

harold.undiscretize(G, method=None, prewarp_at=0.0, q=None)

Discrete- to continuous-time model conversion.

If the model has the Discretization Method set and no method is given, then uses that discretization method to reach back to the continous system model.

Parameters:
  • G (State, Transfer) – Discrete-time system to be undiscretized
  • method (str) – The method to use for converting discrete model to continuous.
  • prewarp_at (float) – If method is “tustin” or its aliases then this is the prewarping frequency that discretization was corrected for.
  • q ((2, 2) array_like) – The LFT interconnection matrix if the method is “lft”.
Returns:

Gc (State, Transfer) – Undiscretized continuous-time system