Ticket #4385 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Add ExpDecayOsc Fit Function to Mantid

Reported by: Anders Markvardsen Owned by: Karl Palmen
Priority: critical Milestone: Release 2.0
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Anders Markvardsen

Description

1) add attached Fit Function to Mantid (in curvefitting)

2) with categories: virtual const std::string category() const { return "General;Muon";} (same as ExpDecay.h)

3) add unit test

Attachments

ExpDecayOsc.h (2.9 KB) - added by Anders Markvardsen 9 years ago.
ExpDecayOsc.cpp (1.1 KB) - added by Anders Markvardsen 9 years ago.

Change History

comment:1 Changed 9 years ago by Anders Markvardsen

Add wiki page. To start with copy http://www.mantidproject.org/ExpDecay

comment:2 Changed 9 years ago by Anders Markvardsen

In addition change the parameter names as follows:

A -> Height lambda -> Lambda frequency -> Frequency phi -> Phi

Note the fit function equation is then

Height * exp(-Lambda*x) * cos(2*Pi*Frequency*x+Phi)

Changed 9 years ago by Anders Markvardsen

Changed 9 years ago by Anders Markvardsen

comment:3 Changed 9 years ago by Anders Markvardsen

Minor adjustment after speaking to Steve. He wants parameter 'A' to keep this name. So this means change of parameter names are:

A -> A

lambda -> Lambda

frequency -> Frequency

phi -> Phi

comment:4 Changed 9 years ago by Karl Palmen

  • Status changed from new to accepted

comment:5 Changed 9 years ago by Karl Palmen

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

comment:6 Changed 9 years ago by Anders Markvardsen

  • Status changed from verify to verifying
  • Tester set to Anders Markvardsen

comment:7 Changed 9 years ago by Anders Markvardsen

  • Status changed from verifying to closed

Manage to use new fit function fit current MUSR data.

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5232

Note: See TracTickets for help on using tickets.