bosing.Shape

class bosing.Shape

基类:object

Base class for shapes.

Shapes are used to define the envelope of a pulse. Internally, the shape is represented as a function \(f(t)\) defined on the interval \(t \in [-0.5, 0.5]\). The shape should be normalized such that \(f(\pm 0.5) = 0\) and \(f(0) = 1\).

Following shapes are supported: