Ticket #6348 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Event filtering items

Reported by: Peter Peterson Owned by: Wenduo Zhou
Priority: minor Milestone: Release 2.4
Component: Mantid Keywords:
Cc: campbellsi@… Blocked By:
Blocking: Tester: Peter Peterson

Description

These tasks were discovered when using SEQ_31276.

For FilterEventsHighFrequency

  • Have it inherit from DeprecatedAlgorithm rather than just having a comment in the algorithm description

For GenerateEventsFilter:

  • The TimeType variable is unclear in its usage/meaning
  • When splitting using SampleTemp from 276 to 288 in steps of 1, the tables generated start at 275.5 degrees rather than 276.
  • Change the name of the parameter SplittersInformationWorkspace to InformationWorkspace
  • Both the OutputWorkspace and the SplittersInformationWorkspace should agree on the common column heading of WorkspaceGroup and the values should match rather than be one off (information starts from zero, output starts from one)
  • For the run being used, there are several rows in the OutputWorkspace that have zero time between the start and stop (rows 3 through 7 in my test). They should not appear.

For FilterEvents

  • Events that are not filtered should go into a workspace named OutputWorkspaceBaseName_unfiltered
  • Similar to GenerateEventsFilter, change the name of SplittersInformationWorkspace
  • Change InputSplittersWorkspace to SplitterWorkspace

Change History

comment:1 Changed 8 years ago by Wenduo Zhou

Fix a bug. Refs #6348.

Changeset: 3d3518bcaa28ae36a27158ffbdb14008d246e772

comment:2 Changed 8 years ago by Wenduo Zhou

Inherit from DeprecationAlgorithm. Refs #6348.

Changeset: f355a16107bd3f720bb6ed05d9c3ae3a17e40753

comment:3 Changed 8 years ago by Wenduo Zhou

Fix some issues. Refs #6348.

  1. Rename property TimeType to UnitOfTime, and expand the doc;
  2. Redfine default value of LogValueTolerance;
  3. Fix a bug related to define the log value intervals;
  4. Rename property SplittersInformationWorkspace to

InformationWorkspace;

Changeset: e6ae4383269c06edd0b0003a32ee2c3b66a18d9d

comment:4 Changed 8 years ago by Wenduo Zhou

This works for me: Both the OutputWorkspace and the SplittersInformationWorkspace should agree on the common column heading of WorkspaceGroup and the values should match rather than be one off (information starts from zero, output starts from one)

This works for me: For the run being used, there are several rows in the OutputWorkspace that have zero time between the start and stop (rows 3 through 7 in my test). They should not appear.

comment:5 Changed 8 years ago by Wenduo Zhou

Modify due to renaming algorithms called. Refs #6348.

FilterByTime2 calls GenerateEventsFilter and FilterEvents. As some properties of those 2 algorithms changed, Some modification is made to FilterByTime2 accordingly.

Changeset: 5be14375f847248f16a2a126279e0542d7506692

comment:6 Changed 8 years ago by Wenduo Zhou

Fixed some issues. Refs #6348.

  1. Rename property SplittersInformationWorkspace to

InformationWorkspace.

  1. Rename InputSplittersWorkspace to SplitterWorkspace
  2. Rename the output unfiltered workspace to

OutputWorkspaceBaseName_unfiltered.

Changeset: e07890b14f25452f6d7eb240f59a223ebb964188

comment:7 Changed 8 years ago by Wenduo Zhou

Fix a bug. Refs #6348.

Changeset: 71be56ead7fec8b911a1fdbb7009284f50505651

comment:8 Changed 8 years ago by Wenduo Zhou

Inherit from DeprecationAlgorithm. Refs #6348.

Changeset: 56f1fcf7cf66b2a91196a99d664bc17eb149b5d4

comment:9 Changed 8 years ago by Wenduo Zhou

Fix some issues. Refs #6348.

  1. Rename property TimeType to UnitOfTime, and expand the doc;
  2. Redfine default value of LogValueTolerance;
  3. Fix a bug related to define the log value intervals;
  4. Rename property SplittersInformationWorkspace to

InformationWorkspace;

Changeset: 2f024e334896e82dbadd6a218eba24bfea73a7cd

comment:10 Changed 8 years ago by Wenduo Zhou

Modify due to renaming algorithms called. Refs #6348.

FilterByTime2 calls GenerateEventsFilter and FilterEvents. As some properties of those 2 algorithms changed, Some modification is made to FilterByTime2 accordingly.

Changeset: adace7fe9303b8c076806358186069899b67445b

comment:11 Changed 8 years ago by Wenduo Zhou

Fixed some issues. Refs #6348.

  1. Rename property SplittersInformationWorkspace to

InformationWorkspace.

  1. Rename InputSplittersWorkspace to SplitterWorkspace
  2. Rename the output unfiltered workspace to

OutputWorkspaceBaseName_unfiltered.

Changeset: 9c1f0a94d8defeadf0d60ca0f6c977030ce7fd89

comment:12 Changed 8 years ago by Wenduo Zhou

  • Status changed from new to accepted

comment:13 Changed 8 years ago by Wenduo Zhou

Do some renaming. Refs #6348.

  1. Replace output workspace "OutputWorkspaceBaseName_-1" to

"OutputWorkspaceBaseName_unfiltered";

  1. Rename property SplitterInformationWorkspace to InformationWorkspace;
  2. Rename property InputSplittersWorkspace to SplitterWorkspace. Changeset: 4ea3a2b83985ddd7c70d34e14d352da2c6117ba0

comment:14 Changed 8 years ago by Wenduo Zhou

Add some comments to unit tests. Refs #6348.

Changeset: 82cd4fc27050349f73e754c13b4dda1aee996143

comment:15 Changed 8 years ago by Wenduo Zhou

Add some comments to unit tests. Refs #6348.

Changeset: f8ae64e41e5aabca57618df0fddf8173b50776da

comment:16 Changed 8 years ago by Wenduo Zhou

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

Problem: "When splitting using SampleTemp from 276 to 288 in steps of 1, the tables generated start at 275.5 degrees rather than 276. "

Solution: It is about the default value of LogValueTolerance. Setting it to 0 explicitly will solve the problem.

comment:17 Changed 8 years ago by Peter Peterson

  • Status changed from verify to verifying
  • Tester set to Peter Peterson

comment:18 Changed 8 years ago by Peter Peterson

  • Status changed from verifying to closed

This was done correctly.

comment:19 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7194

Note: See TracTickets for help on using tickets.