signal

TimeSegment.signal(driving_field_name=None)

Return the signal to be used in simulation.

Note

The signal is not clipped to the segment’s time interval. However, it is intended to be used only within this interval. This reduces unnecessary computations and improves simulation efficiency.

Parameters:

driving_field_name (str | None) – If specified, only pulses matching this driving field name are included in the resulting signal. If None, all pulses in the segment are used.

Return type:

Signal | SignalSum

Returns:

The signal constructed from the pulses in this time segment.