casacore
Classes | Public Member Functions | Private Attributes | List of all members
casacore::FittingProxy Class Reference

More...

#include <FittingProxy.h>

Classes

class  FitType
 Class to aid in distributing different fitters. More...
 

Public Member Functions

 FittingProxy ()
 
virtual ~FittingProxy ()
 
Int getid ()
 
Record getstate (Int id)
 
Bool init (Int id, Int n, Int tp, Double colfac, Double lmfac)
 
Bool done (Int id)
 
Bool reset (Int id)
 
Bool set (Int id, Int nin, Int tpin, Double colfac, Double lmfac)
 
Record functional (Int id, const Record &fnc, const Vector< Double > &xval, const Vector< Double > &yval, const Vector< Double > &wt, Int mxit, const Record &constraint)
 
Record linear (Int id, const Record &fnc, const Vector< Double > &xval, const Vector< Double > &yval, const Vector< Double > &wt, const Record &constraint)
 
Record cxfunctional (Int id, const Record &fnc, const Vector< DComplex > &xval, const Vector< DComplex > &yval, const Vector< DComplex > &wt, Int mxit, const Record &constraint)
 
Record cxlinear (Int id, const Record &fnc, const Vector< DComplex > &xval, const Vector< DComplex > &yval, const Vector< DComplex > &wt, const Record &constraint)
 

Private Attributes

uInt nFitter_p
 Number of FitType obkects present. More...
 
FitType ** list_p
 List of FitTypes. More...
 

Detailed Description

This class gives Proxy to Fitting connection

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Distributed Object and fitting

Synopsis

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

Example

Motivation

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

To Do

Definition at line 78 of file FittingProxy.h.

Constructor & Destructor Documentation

◆ FittingProxy()

casacore::FittingProxy::FittingProxy ( )

◆ ~FittingProxy()

virtual casacore::FittingProxy::~FittingProxy ( )
virtual

Member Function Documentation

◆ cxfunctional()

Record casacore::FittingProxy::cxfunctional ( Int  id,
const Record fnc,
const Vector< DComplex > &  xval,
const Vector< DComplex > &  yval,
const Vector< DComplex > &  wt,
Int  mxit,
const Record constraint 
)

◆ cxlinear()

Record casacore::FittingProxy::cxlinear ( Int  id,
const Record fnc,
const Vector< DComplex > &  xval,
const Vector< DComplex > &  yval,
const Vector< DComplex > &  wt,
const Record constraint 
)

◆ done()

Bool casacore::FittingProxy::done ( Int  id)

◆ functional()

Record casacore::FittingProxy::functional ( Int  id,
const Record fnc,
const Vector< Double > &  xval,
const Vector< Double > &  yval,
const Vector< Double > &  wt,
Int  mxit,
const Record constraint 
)

◆ getid()

Int casacore::FittingProxy::getid ( )

◆ getstate()

Record casacore::FittingProxy::getstate ( Int  id)

◆ init()

Bool casacore::FittingProxy::init ( Int  id,
Int  n,
Int  tp,
Double  colfac,
Double  lmfac 
)

◆ linear()

Record casacore::FittingProxy::linear ( Int  id,
const Record fnc,
const Vector< Double > &  xval,
const Vector< Double > &  yval,
const Vector< Double > &  wt,
const Record constraint 
)

◆ reset()

Bool casacore::FittingProxy::reset ( Int  id)

◆ set()

Bool casacore::FittingProxy::set ( Int  id,
Int  nin,
Int  tpin,
Double  colfac,
Double  lmfac 
)

Member Data Documentation

◆ list_p

FitType** casacore::FittingProxy::list_p
private

List of FitTypes.

Definition at line 183 of file FittingProxy.h.

◆ nFitter_p

uInt casacore::FittingProxy::nFitter_p
private

Number of FitType obkects present.

Definition at line 181 of file FittingProxy.h.


The documentation for this class was generated from the following file: