Ticket #2118 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

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

(In [8251]) Added thin algorithm to filter out bad pulses. Fixes #2118.

comment:3 Changed 10 years ago by Nick Draper

  • Status changed from verify to verifying
  • Tester set to Nick Draper

comment:4 Changed 10 years ago by Vickie Lynch

  • Status changed from verifying to closed

Worked in MantidPlot for SNAP data

comment:5 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2965

Note: See TracTickets for help on using tickets.