Added display queue to thread wrapper. Rewrote simdaq so that only the gui
stuff happens in the main thread (saving has been pushed off into the
NumpySaveThread object). Got live updating up and running by using tkagg
instead of the default wxagg with matplotlib. Added a matplotlibrc file so
that the default for any session opened in this dir is tkagg. Still issues
with messing with figure while it's in a loop (resizing for example) but
okay for quick demonstration purposes. NOTE: using tkagg screws up pyroot
so had to comment out pyroot imports in the threads. Haven't checked for
compatibility for all the threads with the change to the ThreadWrapper base
class.
Changed the energy determination function in convertToInteraction to .max()
instead of .mean(). This will potentially de-emphasize charge-loss or
losing energy due to the trigger threshold and will hopefully make the
reconstructed photopeaks tighter. Changes made in both analysis_v2.py and
analysisHelperFunctions (2 places where convertToInteraction was defined)