Using Pynac in a Jupyter notebook gives the ability to interactively vary parameters, while observing the effect of those changes. In this notebook, we use Pynac.Core.build_a_beam() to allow exploration of the effect of varying the Twiss parameters on the distribution of a Gaussian beam. In addition to showing the three standard phase-space plots, the inputs to Dynac and Pynac are also displayed, thereby allowing copy'n'pasting into your own simulations.
from Pynac.Core import build_a_beam
from bokeh.io import output_notebook
output_notebook()
build_a_beam()