# symmetrize_pwc¶

Graph.symmetrize_pwc(pwc, *, name=None)

Creates the symmetrization of a piecewise-constant function.

Parameters
• pwc (Pwc) – The piecewise-constant function $$v(t)$$ to symmetrize.

• name (str, optional) – The name of the node.

Returns

The piecewise-constant function $$w(t)$$ defined by $$w(t)=v(t)$$ for $$0\leq t\leq \tau$$ and $$w(t)=v(2\tau-t)$$ for $$\tau\leq t\leq 2\tau$$, where $$\tau$$ is the duration of $$v(t)$$.

Return type

Pwc

pwc_signal()