Ticket #1763 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

EventList: implement weights for individual neutrons to allow division etc. on EventWorkspaces

Reported by: Janik Zikovsky Owned by: Janik Zikovsky
Priority: major Milestone: Iteration 26
Component: Mantid Keywords: event
Cc: pf9@… Blocked By:
Blocking: Tester: Andrei Savici

Description

It is desired to be able to keep an EventWorkspace further in the process, including after dividing spectra, for example.

  • The EventList will hold either a list of TofEvent (without weights) or a list with the weights (a new structure with weight and error fields).
  • Hide the details from EventWorkspace as much as possible by making EventList handle the conversion as needed.
  • Rebinning code will need to handle the summing of weights and errors etc. properly.
  • Possibility: subtract two event list = EventList1 + (EventList2 * -1) ? This means having _negative_ weights on some events, but why not?

Change History

comment:1 Changed 10 years ago by Janik Zikovsky

  • Status changed from new to accepted

comment:2 Changed 10 years ago by Janik Zikovsky

(In [7016]) Refs #1763: first check-in of weighted event lists, and lots of tests for them.

comment:3 Changed 10 years ago by Janik Zikovsky

(In [7017]) Refs #1763: Added divide methods to EventList.

comment:4 Changed 10 years ago by Janik Zikovsky

(In [7019]) Refs #1763: Fix for NAN in windoze, and more doxygen.

comment:5 Changed 10 years ago by Janik Zikovsky

(In [7020]) Refs #1763: Test portable isnan.

comment:6 Changed 10 years ago by Janik Zikovsky

(In [7024]) Refs #1763: Fix test.

comment:7 Changed 10 years ago by Janik Zikovsky

  • Milestone changed from Iteration 25 to Iteration 26

comment:8 Changed 10 years ago by Janik Zikovsky

(In [7711]) Refs #1763: Fixed the error propagation formula for dividing weighted neutrons.

comment:9 Changed 10 years ago by Janik Zikovsky

(In [7712]) Refs #1763: added an extra test for histogramming weighted events.

comment:10 Changed 10 years ago by Janik Zikovsky

(In [7713]) Refs #1763: Fix windows test build; more doxygen formulae.

comment:11 Changed 10 years ago by Janik Zikovsky

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

comment:12 Changed 10 years ago by Andrei Savici

  • Status changed from verify to verifying
  • Tester set to Andrei Savici

comment:13 Changed 10 years ago by Andrei Savici

  • Status changed from verifying to closed

Works

comment:14 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2610

Note: See TracTickets for help on using tickets.