We will here describe the functions present in the file
astra-postpro.r. We will provide an example of how to use these functions in the next section. This source file, is dependent on other source files, so it is better to load all the ".r" scripts, before trying to run them. We will only describe the content of this source file, as it is the one that provides tools to plot the interpretation of Astra results.
- ppSummaryPlot : produces the screen interface with the trajectories, beam dimensions, emittances, energies and deviations. (see figure A.1)
- ppSigmaplot : produces the phase space screen interface (see figure A.2)
- loadCaseGeometry : load from an astra input file the geometry
- plot.objetcs : after the previous function has been called, one can call plot.objects to display the scene at real scale.
- plot.all.ellipses : the functions that is able to plot several phase space ellipses. This functions is called by ppSigmaPlot, but can be stand alone.
- plot.ellipse : called by the previous one, this function display one ellipse, and if needed the distribution
- loadAstraOutput : load astra output files
- initPostPro : empty the workspace, this is necessary between two data interpretation
- plotvar : plot a parameter against the other one, for several simulations. This functions is called by ppSummaryPlot, but can be stand alone.