Issue 102: Add Minimize... button to Edit / Manage Results form

issues
Status:closed
Assigned To:Guest
Type:Todo
Area:Skyline
Priority:2
Milestone:2.1
Opened:2011-11-01 by Brendan MacLean
Changed:2012-04-18 by Brendan MacLean
Resolved:2011-12-12 by Nick Shulman
Resolution:Fixed
Closed:2012-04-18 by Brendan MacLean
2011-11-01 Brendan MacLean
Title»Add Minimize... button to Edit / Manage Results form
Assigned To»nicksh@u.washington.edu
Type»Todo
Area»Skyline
Priority»2
Add a [Minimize...] button to the Edit / Manage Results form.

When clicked the button displays a form with the following controls:

Maximum time range:
[ ] minutes
[ ] Peak width relative

[ ] Discard unmatched chromatograms

This operation will eventually call a method a lot like MeasuredResults.OptimizeCache(), which calls ChromatogramCache.OptimizeCache(). Corresponding MinimizeCache() functions should be added with appropriate parameters.

Some thought will need to be given to the undo semantics of this operation. I don't think this can be made an undoable operation. Therefore, the undo buffer may need to be cleared to avoid things like under operations trying to set integration to time ranges that are no longer available in the chromatograms.

This form probably needs a good explanatory sentence or two.

2011-11-01 Brendan MacLean
Milestone»2.1

2011-11-11 Brendan MacLean
After discussing this with Nick, we decided that what a user would most like to be able to set is how much time to allow outside the chosen peak integration boundaries. The only reason we choose a constant time range in scheduling is because this decision must be made a priori. So, instead of having the time controls:

Maximum time range:
[_____________________] minutes
[ ] Peak width relative


We should have instead


Maximum noise time range:
[_____________________] minutes


Which should also have a tip that pops up when you hover the mouse cursor over it that explains that "noise time" is the time outside the peak, and that the range is distributed evenly on either side of the peak. i.e. a 2 minute noise time range results in 1 minute on either side of the peak for a total of 2 minutes of noise (outside the peak) time.

2011-11-11 Brendan MacLean
Or maybe just "Maximum noise time:"

2011-12-12 Nick Shulman
resolve as Fixed
Statusopen»resolved
Assigned Tonicksh@u.washington.edu»Brendan MacLean

2012-04-18 Brendan MacLean
close
Statusresolved»closed
Assigned ToBrendan MacLean»Guest