Ticket #1990 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Create ConvertToHistogram and ConvertToPointData algorithms

Reported by: Nick Draper Owned by: Martyn Gigg
Priority: major Milestone: Iteration 27
Component: Mantid Keywords:
Cc: wolf-dieter.stein@… Blocked By:
Blocking: Tester: Michael Whitty

Description

ConvertToPointData is easy, just average the X bin values.

Converting to Histogram is more complex, but we have done this in a few places. Effectively we have to guess at the mid data point boundary based on the neighbouring bin position. Martyn and Roman have done work like this before.

Change History

comment:1 Changed 10 years ago by Nick Draper

  • Cc wolf-dieter.stein@… added; fsa@… removed

comment:2 Changed 10 years ago by Nick Draper

  • Milestone changed from Iteration 26 to Iteration 27

Bulk move of tickets to iteration 27, if your ticket is essential for Iteration 26 then move it back.

comment:3 Changed 10 years ago by Martyn Gigg

(In [8194]) ConvertToPointData algorithm and test. Re #1990

comment:4 Changed 10 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:5 Changed 10 years ago by Martyn Gigg

(In [8234]) Lower the number of histograms for ConvertToPointDataTest workspace. I was timing the algorithm for a large dataset and accidentally left the large number of spectra in. Re #1990

comment:6 Changed 10 years ago by Martyn Gigg

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

(In [8269]) Added algorithms for conversion bewteen point data and histograms with tests. Fixes #1990

comment:7 Changed 10 years ago by Michael Whitty

  • Status changed from verify to verifying
  • Tester set to Michael Whitty

comment:8 Changed 10 years ago by Michael Whitty

  • Status changed from verifying to closed

tested in [9491]. gives values such as one would expect.

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2837

Note: See TracTickets for help on using tickets.