Ticket #2621 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

AlignDetectors does not convert x-axis of empty event spectra

Reported by: Peter Peterson Owned by: Vickie Lynch
Priority: minor Milestone: Iteration 28
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Janik Zikovsky

Description

This can be seen with PG3_2538_event.nxs.

  1. LoadEventNexus
  2. AlignDetectors using /SNS/PG3/2011_2_11A_CAL/PG3_2538_2011_03_10.cal
  3. ColorFillPlot the result or look at x-values of the data. The first six will have the original TOF values, while 7-??? will be converted to d-spacing.

It looks as though the algorithm skips empty spectra when it shouldn't. Make the AlignDetectors go through all spectra, like ConvertUnits does (same process there, but the bug isn't).

Change History

comment:1 Changed 10 years ago by Vickie Lynch

  • Owner changed from Janik Zikovsky to Vickie Lynch
  • Status changed from new to accepted

comment:2 Changed 10 years ago by Vickie Lynch

(In [9952]) Refs #2621 Changing x grid to d-spacing for spectra with no events in EventList::convertTof

comment:3 Changed 10 years ago by Vickie Lynch

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

comment:4 Changed 9 years ago by Janik Zikovsky

  • Status changed from verify to verifying
  • Tester set to Janik Zikovsky

comment:5 Changed 9 years ago by Janik Zikovsky

  • Status changed from verifying to closed

Works as advertised.

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3468

Note: See TracTickets for help on using tickets.