jcmwave_convert2powerflux.mΒΆ

Usage: powerFluxTable = jcmwave_convert2powerflux(fourierTable)

Purpose:
  Converts a Fourier transform table file into a power flux density table

Input:
  fourierTable: structure containing a Fourier transform table as
                loaded with jcmwave_loadtable

Output:
  In the input Fourier transform table, each row corresponds
  to an electric plane wave E(k)*exp(i*k*x) and a magnetic
  plane wave H(k)*exp(i*k*x). In the output file the power flux density
  is formed as
  P(k) = 0.5*E(k) x conj(H(k))