Plot the SEDs produced by one or more SKIRT simulations.
This script creates plots of the SEDs produced by one or more SKIRT simulations. It takes the following arguments:
- simDirPath (positional string argument): the path to the SKIRT simulation output directory, or "." for the current directory
- prefix (string): the prefix of the simulation to handle; by default handles all simulations in the directory
- instr (string): the name of the instrument to handle; by default handles all instruments in the simulation
- wmin (float): smallest wavelength on the horizontal axis; default is 0.1
- wmax (float): largest wavelength on the horizontal axis; default is 1000
- unit (string): unit of the wavelength limits (any spectral unit); default is micron
- dex (float): if specified, the number of decades to be plotted on the vertical axis; default is 5
If there is only a single instrument (because the instrument name was specified or because the simulation only has one instrument), and the corresponding output file includes the individual flux components, the script creates a plot showing all flux components. Otherwise, it creates a plot showing the total flux for all instruments.