In this page we present a script that can convert far field angular distributions, typically created from a planar frequency monitor in FDTD simulations, into a radiation pattern that can be viewed in 3D on a sphere or as a radiation plot.
As an example we use the simulation file Imaging_Tang_cavity.fsp, from the Simplified microscopic imaging example.
The script radiation_plot.lsf creates the usual angular distribution plot:
It also creates a 3D view of the data in a visualizer:
If you look on the right hand of the visualizer, under “Plot types”, you can change from an “xyz plot” to a “Radiation plot” and then you get this:
In this other example, we use the simulation file fluorescence_enhancement_with_radiation_plot.fsp from the Fluorescence enhancement example. It includes an analysis group that will create a radiation plot from a box composed of 6 monitors. After running, you can visualize the results of the analysis group and then make it a radiation plot. It looks like this:
It works even if you use symmetric or anti-symmetric boundaries, as this example files does.
[[Note:]] we added this far field radiation analysis group to the Object Library in FDTD.