Generally, a Warp user should, where possible, use the numerous already developed diagnostic scripts to generate diagnostics with associated plots and modify/extend those scripts in cases where they are not sufficiently general. Then other uses can benefit from your effort. This pattern of generating scripts has resulted in an extensive library of debugged diagnostics presently part of Warp to the benefit of all users. It is likely that what you need, or something close to modify to produce what you might need, exists in the code. The python interpreter interface to Warp extended by the functionality of Numpy, the Gist graphics package, and the library of scripts and interpreter linked compiled code functions provide a highly flexible platform to efficiently extend and debug diagnostics.Further information can also be found in Script Information and by examining python scripts in the scripts directory of the source code.
To get started, names of diagnostic scripts can be found by executing:
Information on various diagnostic and plotting functions in Warp is provided in the linked sections below:
Lab window moments
Outputting particle data