Ticket #964 (closed: wontfix)

Opened 11 years ago

Last modified 5 years ago

Mantid MuParser Wrapper

Reported by: Nick Draper Owned by: Nick Draper
Priority: major Milestone: Release 2.2
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Jean Bilheux

Description

Write a wrapper for muparser that will add several mantid specific functions that can then be used in math functions.

for example:

  • L1 = source - sample distance
  • L2 = sample - detector distance
  • theta = sample detector theta angle
  • phi = sample detector phi angle
  • X= bin centered X value
  • X0 = bin start X value
  • X1 = Bin end X value
  • Y = data value
  • E = error value
  • Xwavelength = bin center value in wavelength (this should be extended for all known units)
  • LogValueMean("bob") The mean log value for log bob

Then you need to replace all current uses of Muparser in Mantid (not original qtiplot uses) with this class to increase the flexibility.

Change History

comment:1 Changed 11 years ago by Nick Draper

  • Owner changed from Roman Tolchenov to Anders Markvardsen
  • Status changed from new to assigned

comment:2 Changed 11 years ago by Nick Draper

  • Milestone changed from Iteration 21 to Iteration 22

comment:3 Changed 11 years ago by Nick Draper

The prime aim of this is to allow instrument parameters to allow unit conversions as part of their functions.

comment:4 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:5 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:6 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 28 to Iteration 29

Bulk move of tickets at the end of iteration 28

comment:7 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 29 to Iteration 30

Accepted and assigned tickets moved at iteration 29 code freeze

comment:8 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 30 to Iteration 31

Bulk move of tickets to iteration 31 at the iteration 30 code freeze

comment:9 Changed 9 years ago by Anders Markvardsen

  • Owner changed from Anders Markvardsen to Nick Draper
  • Component set to Mantid

Nick is this ticket still relevant?

comment:10 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 32 to Iteration 33

Moved to iteration 33 at iteration 32 code freeze

comment:11 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.1 to Release 2.2

Moved at end of release 2.1

comment:12 Changed 8 years ago by Nick Draper

  • Status changed from assigned to accepted

This is not being done this way anymore

comment:13 Changed 8 years ago by Nick Draper

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

comment:14 Changed 8 years ago by Jean Bilheux

  • Status changed from verify to verifying
  • Tester set to Jean Bilheux

comment:15 Changed 8 years ago by Jean Bilheux

  • Status changed from verifying to closed

Easy one !

comment:16 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1812

Note: See TracTickets for help on using tickets.