Ticket #6349 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

New algorithm, FilterByXValue, to filter events outside a TOF (or other unit) range

Reported by: Russell Taylor Owned by: Russell Taylor
Priority: major Milestone: Release 2.4
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: #6314 Tester: Wenduo Zhou

Description

This algorithm will bear some relation to CropWorkspace in certain respects, but will be much simpler in that it will pay no attention to any binning aspects and will not have an option to cut out spectra.

I need this because I want in-place modification of the workspace if input=output and because this seems more appropriate than the complexity of CropWorkspace for this simple need.

Change History

comment:1 Changed 8 years ago by Russell Taylor

  • Status changed from new to accepted

comment:2 Changed 8 years ago by Russell Taylor

Re #6349. Add an algorithm to filter events by X (e.g. TOF) value.

Doesn't pay any attention to any binning, which will be unchanged.

Changeset: 5c32a6c9b015218db39e2bb88ad47add712cac8a

comment:3 Changed 8 years ago by Russell Taylor

Re #6349. Add an algorithm to filter events by X (e.g. TOF) value.

Doesn't pay any attention to any binning, which will be unchanged.

Changeset: f81cf6bc3ced058a86a271001ea70da4329a7ef9

comment:4 Changed 8 years ago by Russell Taylor

Re #6349. Wiki documentation.

Changeset: f17aee0469a356dee46733850bcb61e791080e8a

comment:5 Changed 8 years ago by Russell Taylor

  • Status changed from accepted to verify
  • Resolution set to fixed

This is a very simple algorithm, so shouldn't be hard to test. You might want to make use of the python getTofMin & getTofMax methods on IEventWorkspace to see that it's doing what it should.

comment:6 Changed 8 years ago by Wenduo Zhou

  • Status changed from verify to verifying
  • Tester set to Wenduo Zhou

comment:7 Changed 8 years ago by Wenduo Zhou

  • Status changed from verifying to closed

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7195

Note: See TracTickets for help on using tickets.