Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle 'weight' for each MDEvent #5581

Closed
mantid-builder opened this issue Feb 3, 2012 · 1 comment
Closed

Handle 'weight' for each MDEvent #5581

mantid-builder opened this issue Feb 3, 2012 · 1 comment
Assignees
Labels
Framework Issues and pull requests related to components in the Framework
Milestone

Comments

@mantid-builder
Copy link
Collaborator

Original Reporter: @jzikovsky

The properly normalized signal for a box or a bin in MDHisto is:

Sum( event signal * event 'weight' ) / sum ( weights )

Where the weight of each 'event' is proportional to its solid angle * its width in energy transfer. For MDLeanEvent, weight would be 1.0 always. For MDEvent, it should either be cached or calculated on the fly (from the run number and detector ID).

  • Each MDEvent carries run index and detector id which is enough to find the weight, but do we want to cache it ?
  • Also , BinMD and the other integration methods would need to calculate the sum of the weight as they sum the signal.
  • See also http://trac.mantidproject.org/mantid/ticket/4733 where BinMD needs to track it
@mantid-builder
Copy link
Collaborator Author

This issue was originally trac ticket 4734

@mantid-builder mantid-builder added the Framework Issues and pull requests related to components in the Framework label Jun 3, 2015
@mantid-builder mantid-builder added this to the Release 3.4 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Framework Issues and pull requests related to components in the Framework
Projects
None yet
Development

No branches or pull requests

2 participants