Margrete RPC

envelope

attribute__all__
= ['envelope']
funcenvelope(inner, outer, *, count=2) -> Curve

Weave a curve that oscillates between inner and outer over count legs.

paraminnerCurve

The boundary the weave starts on.

paramouterCurve

The opposite boundary; must share inner's time span.

paramcountint
= 2

Number of legs (at least 1). An even count ends back on inner (count=2 is one full cycle); an odd count ends on outer.

Returns

margrete_rpc.chart.util.curve.Curve

A new :class:Curve with count linear legs oscillating between the two boundaries.