pySW4.cli.plot_image moduleΒΆ

Plot a single SW4 image.

Instructions:

This module can be called from the command line to plot a single SW4 image. It can be usefull to run this on the server-end to generate quick-and-dirty plots for pseudo-RunTime visualization of the results. Wrap it in a cronjob that plots the image from the last timestep and you are set.

Type pySW4-plot-image to get the help message.

Example

$ pySW4-plot-image -cmap jet \
    -format png 'results/berkeley.cycle=00000.z=0.p.sw4img'

will save the SW4 image from the Berkeley rfile example, berkeley.cycle=00000.z=0.p.sw4img to a .png image, ./berkeley.cycle=00000.z=0.p.png with the jet colormap.

author:Shahar Shani-Kadmiel (s.shanikadmiel@tudelft.nl)
copyright:Shahar Shani-Kadmiel (s.shanikadmiel@tudelft.nl)
license:This code is distributed under the terms of the GNU Lesser General Public License, Version 3 (https://www.gnu.org/copyleft/lesser.html)