The SKIRT project
advanced radiative transfer for astrophysics
pts.visual.do.plot_seds Namespace Reference

Plot the SEDs produced by one or more SKIRT simulations. More...

Functions

"plot the SEDs produced by one or more SKIRT simulations" do ((str,"SKIRT simulation output directory") simDirPath,(str,"SKIRT simulation prefix") prefix="",(str,"instrument name") instr="",(float,"smallest wavelength on the horizontal axis") wmin=0.1,(float,"largest wavelength on the horizontal axis") wmax=1000.,(str,"unit of the wavelength limits (any spectral unit)") unit="micron",(float,"number of decades to be plotted on the vertical axis") dex=5)

Detailed Description

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.