DOfitting.h

Classes

fitting -- This class gives Glish to Fitting connection (full description)

class fitting : public ApplicationObject

Interface

Public Members
fitting()
fitting(const fitting &other)
fitting &operator=(const fitting &other)
~fitting()
virtual String className() const
virtual Vector<String> methods() const
virtual MethodResult runMethod(uInt which, ParameterSet &parameters, Bool runMethod)
virtual Vector<String> noTraceMethods() const
Private Members
Bool make(const Array<DComplex> &val, const Array<DComplex> &arg0, const Vector<Double> &arg1, Int id)
Bool make(const Array<Double> &val, const Array<Double> &arg0, const Vector<Double> &arg1, Int id)
void solve(Array<Double> &returnval, Int &arg0, Vector<Double> &arg1, Vector<Double> &arg2, Vector<Double> &arg3, Array<Double> &arg4, Int id)
void solve(Array<DComplex> &returnval, Int &arg0, Vector<Double> &arg1, Vector<Double> &arg2, Vector<Double> &arg3, Array<Double> &arg4, Int id)
void solveLoop(Double &fit, Vector<Double> &returnval, Double &arg1, Double &arg2, Int id)
void solveLoop(Double &fit, Vector<DComplex> &returnval, Double &arg1, Double &arg2, Int id)

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Distributed Object and fitting

Synopsis

The class makes the connection between the Fitting module and the Glish distributed object system. It provides a series of Glish callable methods. See Aips++ Note 197 for details.
Operations supported are all the fitting methods supported in the Fitting module

Example

For an example of the class use, see the fitting.g application.

Motivation

To provide a direct user interface between the user and Fitting related calculations.

To Do

Member Description

fitting()

fitting(const fitting &other)

fitting &operator=(const fitting &other)

~fitting()

virtual String className() const
virtual Vector<String> methods() const
virtual MethodResult runMethod(uInt which, ParameterSet &parameters, Bool runMethod)

Required Tasking methods

virtual Vector<String> noTraceMethods() const

Stop tracing

Bool make(const Array<DComplex> &val, const Array<DComplex> &arg0, const Vector<Double> &arg1, Int id)
Bool make(const Array<Double> &val, const Array<Double> &arg0, const Vector<Double> &arg1, Int id)

Create the normal equations

void solve(Array<Double> &returnval, Int &arg0, Vector<Double> &arg1, Vector<Double> &arg2, Vector<Double> &arg3, Array<Double> &arg4, Int id)
void solve(Array<DComplex> &returnval, Int &arg0, Vector<Double> &arg1, Vector<Double> &arg2, Vector<Double> &arg3, Array<Double> &arg4, Int id)

Solve the normal equations

void solveLoop(Double &fit, Vector<Double> &returnval, Double &arg1, Double &arg2, Int id)
void solveLoop(Double &fit, Vector<DComplex> &returnval, Double &arg1, Double &arg2, Int id)

Solve one loop for Levenberg-Marquardt