Skip to content

[Enabler] Splitting Events #29

@glass-ships

Description

@glass-ships

Description:

This will prepare mantid for the new way of filtering events as detailed in the design document.

This work focuses on creating Kernel::TimeSplitter object, having it be able to convert to a Kernel::TimeROI, adding the ability for it to be used by an DataObjects::EventList to split out data, and converting all the other ways of specifying splitting into a Kernel::TimeSplitter to be used by DataObjects::EventList. The algorithms will not be modified to use the new methods in DataObjects::EventList for using Kernel::TimeSplitter until #962. The other thing not to worry about is exposing the Kernel::TimeSplitter to python since it will be created in FilterEvents and be deleted once the algorithm is finished.

This enabler will cover steps 7-9 of the "implementation notes" section of the design document.

Outline of activity:

  • create Kernel::TimeSplitter
  • create functionality to convert other things to Kernel::TimeSplitter
  • create methods for Kernel::TimeSplitter to create a Kernel::TimeROI for a given output workspace index
  • create split method in DataObjects::EventList for using Kernel::TimeSplitter

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions