scipy.signal.lti.

to_discrete#

lti.to_discrete(dt, method='zoh', alpha=None)[source]#

Return a discretized version of the current system.

Parameters:
dtfloat

The discretization time step.

methodstr, optional

Which method to use:

  • gbt: generalized bilinear transformation

  • bilinear: Tustin’s approximation (“gbt” with alpha=0.5)

  • euler: Euler (or forward differencing) method (“gbt” with alpha=0)

  • backward_diff: Backwards differencing (“gbt” with alpha=1.0)

  • zoh: zero-order hold (default)

  • foh: first-order hold

  • impulse: equivalent impulse response

alphafloat within [0, 1], optional

The generalized bilinear transformation weighting parameter, which should only be specified with method=”gbt”, and is ignored otherwise

Returns:
sys: dlti

Discrete version of the current system.

See also

cont2discrete