Ticket #2393 (closed: fixed)
LoadSNSEventNexus: don't create empty pixels when loading only 1 bank.
Reported by: | Janik Zikovsky | Owned by: | Janik Zikovsky |
---|---|---|---|
Priority: | minor | Milestone: | Iteration 27 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Vickie Lynch |
Description
... add an option for this purpose.
Change History
comment:2 Changed 10 years ago by Janik Zikovsky
Results from the following script:
import time file = "/home/8oz/Desktop/topaz.cal" CreateCalFileByNames("TOP", file, "bank9") for singleBank in [False, True]: print "Starting with SingleBankPixelsOnly", singleBank start = time.time() LoadSNSEventNexus(Filename="/home/8oz/data/TOPAZ_1786_event.nxs",OutputWorkspace="TOP",BankName="bank9",Precount="0", SingleBankPixelsOnly=singleBank) Sort("TOP") AlignDetectors(InputWorkspace="TOP",OutputWorkspace="TOP",CalibrationFile=file) DiffractionFocussing(InputWorkspace="TOP",OutputWorkspace="TOP_foc",GroupingFileName=file) print time.time() - start, " seconds."
Results:
Starting with SingleBankPixelsOnly False 53.2949681282 seconds. Starting with SingleBankPixelsOnly True 38.5822250843 seconds.
comment:3 Changed 10 years ago by Janik Zikovsky
- Status changed from accepted to verify
- Resolution set to fixed
Note: See
TracTickets for help on using
tickets.