Ticket #5778 (closed: fixed)
Expose number of MDevents in MDHisto to python
Reported by: | Andrei Savici | Owned by: | Andrei Savici |
---|---|---|---|
Priority: | major | Milestone: | Release 2.3 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Michael Reuter |
Description
Change History
comment:2 Changed 8 years ago by Andrei Savici
Export number of MD events in MDHisto to python. Refs #5778
Changeset: 70a58691fedee829440be4ebd8cb421782c4a97a
comment:3 Changed 8 years ago by Andrei Savici
- Status changed from accepted to verify
- Resolution set to fixed
One way to test this ticket:
- Load an MDEvent workspace (I used ImportMDEventWorkspace) (MD)
- Use slice viewer, choose an appropriate slice, and visualize it using number of events normalization (MD_rebinned)
- Clone the MD_rebinned workspace using CloneMD to MD_clone
- In python, run the following
w=workspace('MD_rebinned') cl=workspace('MD_clone') cl.setSignalArray(w.getSignalArray()/w.getNumEventsArray())
The slice for MD_rebinned with number of event normalization should look like the slice for MD_clone with no normalization
comment:4 Changed 8 years ago by Andrei Savici
Export number of MD events in MDHisto to python. Refs #5778
Changeset: 70a58691fedee829440be4ebd8cb421782c4a97a
comment:5 Changed 8 years ago by Michael Reuter
- Status changed from verify to verifying
- Tester set to Michael Reuter
Note: See
TracTickets for help on using
tickets.