ConstantTop

ConstantTop#

class ConstantTop#

Bases: handle

ConstantTop abstract base class for constant-top waveform generation.

Provides common functionality for waveforms that maintain a constant amplitude level during their active period. Used as a base class for pulse-like signals with flat tops. Inherits from handle.

Example1:

% Create a constant-top pulse
pulse = TrapezoidalPulse(amplitude = 2.0, duration = 0.01);
pulse.plot();

Example2:

% Create a constant-top sine pulse
pulse = TrapezoidalSinePulse(amplitude = 1.0, frequency = 1000, duration = 0.01);
pulse.plot();
Constructor Summary
ConstantTop()#

Construct a ConstantTop object.

Abstract base class constructor. Subclasses should implement their own constructors with appropriate parameters.