Hi,<br><br>(My apologies if this shows up several times. I sent it
yesterday, but it appears that it won&#39;t go through to the list if I
include a screenshot.)<br><br>I wanted a quick way to plot the data in XVG files, so I
wrote a quick little GUI viewer in Python this morning. You point it at
an XVG file and it pops up a GUI where you can click buttons to step
through the columns of data, plot individual columns from the XVG file,
or make a plot of everything in the XVG file. <br>
<br>This makes it easy to dump all the information from an
.edr/trr/xtc/etc file and step through it visually in 30 seconds. That,
in turn, makes me way more likely to look at as much information as
possible as part of my normal workflow.<br>
<br>I&#39;ve only tested this on a few of my own XVG files, so it&#39;s possible that my simple XVG parser doesn&#39;t cover everything.<br><br>Here&#39;s the help output. Let me know if anyone finds it useful.<br><br><br>




Michael-Lerners-MacBook-Pro-2: ~ mglerner$ ./xvgviewer.py --help<br><div>Usage: Just a simple XVG viewer.<br><br>For each column in the XVG file, we plot<br><br>  - the raw data (light blue)<br>  - a running average (black)<br>




  - block averages (green)<br><br>We also print out <br><br>  - the average over the simulation<br>  - standard error over the blocks<br>  - average of the standard deviations within each block<br><br>Block length is reported in number of frames, and its meaning will<br>




therefore depend on the settings in your .mdp file as well as the<br>arguments you used when making the .xvg file.<br><br>We attempt to get units out of the XVG file, and we convert times to<br>nanoseconds before plotting.<br>




<br>This program requires<br><br> - Python 2.5 or 2.6<br> - wxPython 2.8.7.1+ (<a href="http://www.wxpython.org/" target="_blank">http://www.wxpython.org/</a>)<br> - numpy 1.3.0+ (<a href="http://numpy.scipy.org/" target="_blank">http://numpy.scipy.org/</a>)<br>




 - matplotlib 0.99.0+ (<a href="http://matplotlib.sourceforge.net/" target="_blank">http://matplotlib.sourceforge.net/</a>)<br> - traits 3.2.0+ (<a href="http://code.enthought.com/projects/traits/" target="_blank">http://code.enthought.com/projects/traits/</a>)<br>




<br>All of which will be installed for you if you use the Enthought Python<br>Distribution (<a href="http://enthought.com/" target="_blank">http://enthought.com/</a>).<br><br>I mostly wrote this as a quick way to figure out how to use the Traits<br>




GUI, but feel free to email me (m g lerner atsign gmail dot com) if<br>you have any questions.<br><br><br>Options:<br>  -h, --help            show this help message and exit<br>  -f FILE, --file=FILE  The XVG file [default energy.xvg]<br>




</div><br clear="all"><br>Cheers,<br><br>-Michael<br clear="all"><br>-- <br>Michael Lerner, Ph.D.<br>IRTA Postdoctoral Fellow<br>Laboratory of Computational Biology NIH/NHLBI<br>5635 Fishers Lane, Room T909, MSC 9314<br>
Rockville, MD 20852 (UPS/FedEx/Reality)<br>Bethesda MD 20892-9314 (USPS)<br>