Ticket #753 (closed: fixed)

Opened 11 years ago

Last modified 5 years ago

Algorithm to Convert Spectra number to ?

Reported by: Nick Draper Owned by: Russell Taylor
Priority: major Milestone: Iteration 28
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Michael Whitty

Description

  1. Think of a name for this algorithm
  2. Allow the user to specify what they want to convert the spectra no axis to
    1. 2theta
    2. r(L2)
    3. theta
    4. phi
    5. Ltotal(L1+L2)

At the end of this we should be able to plot a colour map of theta vs wavelength (important for reflectometers)

Second possible step: allow rebinning of the derived new axis

Change History

comment:1 Changed 11 years ago by Nick Draper

  • Milestone changed from Iteration 18 to Iteration 19

Moved as part of iteration 18 end

comment:2 Changed 11 years ago by Russell Taylor

(In [3058]) Add an algorithm, ConvertSpectrumAxis, to change the spectrum axis (the one up the side in MantidPlot) to something else. Currently, the something else can be anything you like, so long as it's Theta (of the detector relating to that spectrum). Re #753

comment:3 Changed 11 years ago by Russell Taylor

(In [3059]) Fix doxygen warning. Re #753.

comment:4 Changed 11 years ago by Russell Taylor

(In [3060]) Turns out that they want things in degrees rather than radians. Re #753.

comment:5 Changed 11 years ago by Nick Draper

  • Milestone changed from Iteration 19 to Iteration 20

Moved as part of the end of Iteration 19

comment:6 Changed 11 years ago by Russell Taylor

(In [3596]) The reflectometers prefer twoTheta here rather than twoTheta/2. Re #753.

comment:7 Changed 11 years ago by Russell Taylor

(In [3597]) Remove old ReflectometerCors.py - current one in is Large Scale Structures/ReflectometerCors.py. Re #753.

comment:8 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:9 Changed 10 years ago by Nick Draper

  • Milestone changed from Iteration 27 to Iteration 28

Bulk move of tickets at the end of iteration 27

comment:10 Changed 10 years ago by Russell Taylor

  • Status changed from new to accepted
  • Component set to Mantid
  • Summary changed from Algorithm to Covert Spectra number to ? to Algorithm to Convert Spectra number to ?

comment:11 Changed 10 years ago by Russell Taylor

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

Of the list of conversions above, only 2theta is done. You can also convert to any unit factory unit.

Rebinning is not available.

comment:12 Changed 9 years ago by Michael Whitty

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

comment:13 Changed 9 years ago by Michael Whitty

  • Status changed from verifying to closed

yes... ConvertSpectraAxis has been around for a while.

comment:14 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1601

Note: See TracTickets for help on using tickets.