convert2powerflux.py

jcmwave.convert2powerflux(FT_results)

Converts a Fourier transform results dict into a power flux density results dict. In the input Fourier transform dict, 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 dict the power flux density is formed as P(k) = 0.5*E(k) x conj(H(k)).

Parameters:FT_results (dictionary) – A dict as returned by the JCMsuite FourierTransform post process.
Returns:Dictionary of powerfluxes.