Ticket #4105 (closed: duplicate)
Save isaw peaks file is slow
Reported by: | Anders Markvardsen | Owned by: | Karl Palmen |
---|---|---|---|
Priority: | major | Milestone: | Release 2.0 |
Component: | Mantid | Keywords: | |
Cc: | owen.arnold@… | Blocked By: | |
Blocking: | Tester: | Anders Markvardsen |
Description
This tickets should be completed after #4104 has been completed.
Change History
comment:3 Changed 9 years ago by Karl Palmen
The WISH instrument has been found to have a structure unsuitable for IsawPeaks. SaveIsawPeaks has been modified (for ticket #4104) so that it gives an appropropriate error message about the detector modules.
The slow parformance was due to SaveIsawPeaks repeatedly searching over many instruments in the instrument tree for a detector module of type bankN and not finding it.
The issue of saving peaks for WISH will be dealt with in another ticket.
comment:4 Changed 9 years ago by Karl Palmen
- Status changed from new to verify
- Resolution set to duplicate
Test for this should be covered by test for ticket #4104.
Note: See
TracTickets for help on using
tickets.
The following will illustrate the problem.
#where WISH00016748.raw is in the data directory as a raw file.
Load(Filename='WISH00016748.raw',OutputWorkspace='WISH00016748') ConvertToDiffractionMDWorkspace(InputWorkspace='WISH00016748',OutputWorkspace='md',SplitInto='2',SplitThreshold='100',MaxRecursionDepth='40') FindPeaksMD(InputWorkspace='md',OutputWorkspace='found_peaks') SaveIsawPeaks(InputWorkspace='found_peaks',Filename='foundpeaks.peaks')