control.timebase

control.timebase(sys, strict=True)[source]

Return the timebase for a system.

dt = timebase(sys)

returns the timebase for a system ‘sys’. If the strict option is set to True, dt = True will be returned as 1.

Parameters
  • sys (InputOutputSystem or float) – System whose timebase is to be determined.

  • strict (bool, optional) – Whether to implement strict checking. If set to True (default), a float will always be returned (dt = True will be returned as 1).

Returns

dt – Timebase for the system (0 = continuous time, None = unspecified).

Return type

timebase