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

Plot the spatial grids used in one or more SKIRT simulations. More...

Functions

"plot the spatial grids used in one or more SKIRT simulations" do ((str,"SKIRT simulation output directory") simDirPath,(str,"SKIRT simulation prefix") prefix="")

Detailed Description

Plot the spatial grids used in one or more SKIRT simulations.

This script creates wireframe plots for one or more text files generated by SKIRT's SpatialGridPlotProbe class. 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

In all cases, the plot file is placed next to the "*_grid*.dat" file(s) being represented, with the filename extension replaced by ".pdf".