Plot planar opacity cuts or projections from one or more SKIRT simulations. More...
Plot planar opacity cuts or projections from one or more SKIRT simulations.
This script creates plots of the opacity cuts or projections produced by the OpacityProbe in a SKIRT simulation. The script supports OpacityProbe instances with an associated probe form that produces a planar cut (DefaultCutsForm, PlanarCutsForm) or planar projection (ParallelProjectionForm, AllSkyProjectionForm). For cuts, the plotted quantity is an opacity
If the output for a given medium component or medium type (dust, gas, or electrons) includes two or three files with names that differ only by orientation labels ("_xy", "_xz", and/or "_yz"), the density maps for these files are included in a single plot and share the same scale.
The script takes the following arguments:
In all cases, the plot file is placed next to the simulation output file(s) being handled. The filename includes the simulation prefix, the probe name, and the medium component or type indicator, and has the ".pdf" filename extension.