Ticket #2118 (closed: fixed)
FilterBadPulses
Reported by: | Peter Peterson | Owned by: | Peter Peterson |
---|---|---|---|
Priority: | major | Milestone: | Iteration 27 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Nick Draper |
Description
As seen in SNSPowderReduction.py line 149:
if self._filterBadPulses: pcharge = wksp.getRun()['proton_charge'] pcharge_min = pcharge.getStatistics().mean * .95 pcharge_max = pcharge.getStatistics().maximum * 1.1 FilterByLogValue(InputWorkspace=wksp, OutputWorkspace=wksp, LogName="proton_charge", MinimumValue=pcharge_min, MaximumValue=pcharge_max)
This should be turned into an algorithm called FilterBadPulses that takes a percentage of the mean to filter on as well as workspace names. The default for the minimum threashold is 95% of the aveerage proton charge.
Change History
comment:1 Changed 10 years ago by Peter Peterson
- Status changed from new to accepted
- Owner set to Peter Peterson
comment:2 Changed 10 years ago by Peter Peterson
- Status changed from accepted to verify
- Resolution set to fixed
comment:3 Changed 10 years ago by Nick Draper
- Status changed from verify to verifying
- Tester set to Nick Draper
Note: See
TracTickets for help on using
tickets.