Real Part

Shipping
real_part

Extract the real part Re(z) of a complex array as a real array

Signature

Inputs

  • zArray|Complex|ScalarrequiredComplex or real input. A real input passes through unchanged.

Outputs

  • reArrayReal array = Re(z), keeping z's unit.

Description

Real Part returns — the real component of a complex array — as a real array, discarding the imaginary buffer. It keeps z's physical unit and is the single-output complement of Imag Part (imag_part). A real input passes straight through. The node is stateless.

Mathematics

Examples

Drop the imaginary channel

Feeding into z yields on re.

Applications

  • Recovering the cosine / in-phase component of an analytic or I/Q signal.
  • Taking the real part of an inverse-FFT result whose imaginary residue is numerical noise.
  • Feeding real-only downstream nodes from complex data.

Neat

Reads the real buffer of the structure-of-arrays layout directly, so extraction is a zero-copy view of an already-existing column.

See also

complexrealextractstateless