Delay#

torchsim.Delay(duration_s, *, action=EventAction.NONE)[source]#

Return time passing, and whatever the sequence plays across it.

SequenceEvent.wait() takes no action, so a delay that spoils or winds the states is built here rather than by the caller reaching for the raw constructor.

Examples using torchsim.Delay#

Basic Usage

Basic Usage

Writing a Signal Model

Writing a Signal Model

Writing a New Operator

Writing a New Operator