ComplexToCartesian
ptolemy.actor.lib.conversions.ComplexToCartesian

Read a complex token and output double tokens that represent the real and imaginary parts to two different output ports.

Author(s): Michael Leung, Edward A. Lee, Paul Whitaker
Version:$Id: ComplexToCartesian.java,v 1.26 2005/10/28 20:15:31 cxh Exp $
Pt.Proposed Rating:Green (pwhitake)
Pt.Accepted Rating:Green (pwhitake)


input
The port for the input, which has type ComplexToken.

x
The output port for x coordinate, which has type DoubleToken.

y
The output port for the imaginary coordinate, which has type DoubleToken.