Ticket #7264 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

ThresholdMD

Reported by: Owen Arnold Owned by: Owen Arnold
Priority: major Milestone: Release 2.6
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester: Nick Draper

Description (last modified by Nick Draper) (diff)

Jon Taylor requested that this would be a useful tool as part of an imaging toolset after looking at #7252.

  • Have options for Less than and Greater than.
  • Have an input value to use as the threshold
  • Have an optional value to set the signal to, should the condition be met
  • Output a new MDHistoWorkspace

Change History

comment:1 Changed 7 years ago by Owen Arnold

  • Status changed from new to accepted

comment:2 Changed 7 years ago by Owen Arnold

refs #7264. Alg and test template.

Changeset: 643e2d9326cb4ef8f31b1fb2d3aad06819b149de

comment:3 Changed 7 years ago by Owen Arnold

refs #7264. Parallel ex and report.

Changeset: e2a175f238d162313565a6495383e17486c171e8

comment:4 Changed 7 years ago by Owen Arnold

refs #7264. Implement thresholding on image.

Changeset: 80f2a10501ce9c4f0210e1948d50e2a970ac89ac

Last edited 7 years ago by Owen Arnold (previous) (diff)

comment:5 Changed 7 years ago by Owen Arnold

Tester:

Look at the following and run it. You should be able to satisfy yourself from the slice images and the algorithm inputs that the algorithm is thresholding this schenario correctly.

CreateMDHistoWorkspace(SignalInput='1,2,3,4,5,6,7,8,9',ErrorInput='1,1,1,1,1,1,1,1,1',Dimensionality='2',Extents='-1,1,-1,1',NumberOfBins='3,3',Names='A,B',Units='U,T',OutputWorkspace='demo')
plotSlice('demo')
ThresholdMD(InputWorkspace='demo',Condition='Greater Than',CurrentValue='1',OverwriteWithZero='0',OutputWorkspace='threshold')
plotSlice('threshold')

Now use this script as a template to perform further testing, and include what additional execution paths you tested in the closing comments (should the ticket pass).

comment:6 Changed 7 years ago by Owen Arnold

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

comment:7 Changed 7 years ago by Nick Draper

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

comment:8 Changed 7 years ago by Nick Draper

  • Status changed from verifying to closed

Passed testing ticket #7282 raised

comment:9 Changed 7 years ago by Nick Draper

  • Component changed from VATES to Framework
  • Description modified (diff)

comment:10 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 8110

Note: See TracTickets for help on using tickets.