Sample & Hold¶ class pathsim.blocks.samplehold.SampleHold(T=1, tau=0)[source]¶ Bases: Block Samples the inputs periodically and produces them at the output. Parameters: T (float) – sampling period tau (float) – delay events¶ internal scheduled event for periodic sampling Type: list[Schedule] property T¶ property tau¶ set(**kwargs)¶ Set multiple parameters and reinitialize once. Parameters: kwargs (dict) – parameter names and their new values Example block.set(K=5.0, T=0.3)