The top-level of Pizza.py extends the Python interpreter in a few simple ways, to make it easier to:
| invoke shell commands | !ls -l |
| launch scripts | @run test.py 1 dump.* |
| use command-line options to automate tasks | pizza.py -f movie.py raster dump.* |
| query help for tools and scripts | ? gnu |
The rest of Pizza.py is a collection of tools which can be invoked by typing interactively, from scripts, or in some cases from GUIs. Some tools are useful by themselves; others work together.
Several of the tools wrap stand-alone applications, so they can be driven from within Pizza.py and scripted. These applications include GnuPlot, MatLab, Raster3d, and RasMol.
The FAQ lists typical tasks that can be performed with various tools. Here's the list of tools in Pizza.py:
| animate.py | Animate a series of image files |
| cdata.py | Read, write, manipulate Chemcell data files |
| chain.py | Create bead-spring chains for LAMMPS input |
| clog.py | Read ChemCell log files and extract species data |
| data.py | Read, write, manipulate LAMMPS data files |
| dump.py | Read, write, manipulate LAMMPS dump files and atom attributes |
| ensight.py | Convert LAMMPS snapshots to Ensight format |
| gl.py | 3d interactive visualization via OpenGL |
| gnu.py | Create plots via GnuPlot plotting program |
| histo.py | Particle density histogram from a dump |
| image.py | View and manipulate images |
| log.py | Read LAMMPS log files and extract thermodynamic data |
| matlab.py | Create plots via MatLab numerical analysis program |
| pair.py | Compute LAMMPS pairwise energies |
| patch.py | Create patchy Lennard-Jones particles for LAMMPS input |
| pdbfile.py | Read, write PDB files in combination with LAMMPS snapshots |
| plotview.py | Plot multiple vectors from a data set |
| rasmol.py | 3d visualization via RasMol program |
| raster.py | 3d visualization via Raster3d program |
| svg.py | 3d visualization via SVG files |
| vcr.py | VCR-style GUI for 3d interactive OpenGL visualization |
| vec.py | Create numeric vectors from columns in file or list of vecs |
| vtk.py | Convert LAMMPS snapshots to VTK format |
| xyz.py | Convert LAMMPS snapshots to XYZ format |