RICH-38 Rich/RichMirrorAlignmentOnline "Tagged" as v4r2: trendHelper.py added by Sam Maddrell-Mander to make trend plots automatically during every alignment. "Tagged" RichMirrorAlignmentOnline version v4r1p2 ceases to exist.
This MR replaces both !75 (closed) and !74 (closed) which are now closed.
! 2017-12-17 - Paras Naik ( @pnaik )
- "Tagged" as v4r2 (internally, since only Panoptes gets a tag now).
- Instead of running trendHelper.main(), AlignMonitor now directly runs trendHelper.Plotter(). Output file names for trend plots are now given in AlignMonitor, to be stored in the usual alignment working directory
- trendHelper.Plotter now also accepts a set of dates that define the range of the trend plots, and also a filename. startDate = 0 will use a default start date endDate = 0 will use a default end date fileName = "" will default to creating the trend file in /home/smaddrel/Mirrors/
- Removed self.flips from trendHelper since it was not being used.
- Changed name of trendHelper.ReadAlignments() to to trendHelper.GetChanges_DB_Polarity().
- trendHelper.GetChanges_DB_Polarity() had some bugs, which have now been fixed.
- We now ensure that only alignments that we are actually plotting get checked for DB versions and Polarity.
- Changed the order of some commands in the last portion of the Iterator.
- Added some alignments to the exception lists for RICH1 and RICH2 trend plots. See JIRA RICH-47 for more info.
! 2017-12-14 - Sam Maddrell-Mander ( @smaddrel )
- Added trendHelper.py, which can generate trend plots for the mirror alignment. This can also be run stand-alone as a python script (main function). Much credit to Claire Prouve ( @cprouve ) for providing the base code.
- Added code to AlignMonitor to launch trendHelper.main() and generate trend plots
- Temporarily sending all trend plots produced to /home/smaddrel/Mirrors/
- "testing" mode is now True for both RICH1 and RICH2 in the Configuration.
Also, in the ! 2017-12-07 - Paras Naik
section of the release notes, the line:
"Tagged" RichMirrorAlignmentOnline version v4r1p2
ceases to exist.
Edited by Paras Naik