Ticket #1246 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Go beyond least squares fitting

Reported by: Anders Markvardsen Owned by: Anders Markvardsen
Priority: major Milestone: Iteration 23
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

Add ICostFunction interface to allow for cost functions other than least squares.

Add implementation of ICostFunction and for cost function designed to ignore positive peaks and suitabled to e.g. fit backgrounds.

Change History

comment:1 Changed 10 years ago by Anders Markvardsen

(In [4464]) Add ICostFunction interface to allow for cost functions other than least squares.

Add implementation of ICostFunctions:

CostFuncIgnorePosPeaks CostFuncLeastSquares

Also added new attribute to Fit called "CostFunction" which for now can be set to "Least squares" or "Ignore positive peaks".

Refs #1246

comment:2 Changed 10 years ago by Anders Markvardsen

(In [4475]) Update of CostFuncIgnorePosPeaks

Refs #1246

comment:3 Changed 10 years ago by Anders Markvardsen

  • Status changed from new to accepted

comment:4 Changed 10 years ago by Anders Markvardsen

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

comment:5 Changed 10 years ago by Martyn Gigg

  • Status changed from testing to closed

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2093

Note: See TracTickets for help on using tickets.