resample

DrivenControl.resample(time_step, name=None)

Returns a new driven control obtained by resampling this control.

Parameters

  • time_step (float) – The time step to use for resampling, δt\delta t
  • name (str , optional) – The name for the new control. Defaults to None.

Returns

A new driven control, sampled at the specified rate. The durations of the new control are all equal to δt\delta t

Return type

DrivenControl

Was this useful?